public class SAML11ProtocolContext extends Object implements ProtocolContext
A SAML2 specification based instance of ProtocolContext
This instance is used to pass information from the IDP to the Core STS.
Modifier and Type | Field and Description |
---|---|
protected String |
authMethod |
protected SAML11ConditionsType |
conditions |
protected SAML11AssertionType |
issuedAssertion |
protected String |
issuerID |
protected List<SAML11StatementAbstractType> |
statements |
protected SAML11SubjectType |
subjectType |
Constructor and Description |
---|
SAML11ProtocolContext() |
Modifier and Type | Method and Description |
---|---|
String |
family()
What family the context belongs to..
|
String |
getAuthMethod()
Get the Authentication Method
|
SAML11ConditionsType |
getConditions()
Get the conditions
|
SAML11AssertionType |
getIssuedAssertion()
Get the previously issued assertion by the STS
|
String |
getIssuerID()
Get the Issuer ID
|
QName |
getQName()
Return the QName of the token
|
List<SAML11StatementAbstractType> |
getStatements()
Get the statements as a read-only list
|
SAML11SubjectType |
getSubjectType()
Get the subject
|
String |
serviceName()
An optional service name
|
void |
setAuthMethod(String authMethod)
Set the Authentication Method.
|
void |
setConditions(SAML11ConditionsType conditions)
Set the conditions
|
void |
setIssuedAssertion(SAML11AssertionType issuedAssertion)
Set the assertion issued by the STS
|
void |
setIssuerID(String issuerID)
Set the Issuer ID
|
void |
setStatements(List<SAML11StatementAbstractType> statements)
Add a list of statements
|
void |
setSubjectType(SAML11SubjectType subjectType)
Set the subject
|
String |
tokenType()
A String that represents the token type
|
protected String issuerID
protected SAML11SubjectType subjectType
protected SAML11ConditionsType conditions
protected List<SAML11StatementAbstractType> statements
protected SAML11AssertionType issuedAssertion
protected String authMethod
public String getIssuerID()
SAML11NameIdentifierType
public void setIssuerID(String issuerID)
issuerID
- String
public SAML11SubjectType getSubjectType()
SAML11SubjectType
public void setSubjectType(SAML11SubjectType subjectType)
subjectType
- SAML11SubjectType
public SAML11ConditionsType getConditions()
SAML11ConditionsType
public void setConditions(SAML11ConditionsType conditions)
conditions
- SAML11ConditionsType
public List<SAML11StatementAbstractType> getStatements()
SAML11StatementAbstractType
public void setStatements(List<SAML11StatementAbstractType> statements)
statements
- SAML11StatementAbstractType
public SAML11AssertionType getIssuedAssertion()
SAML11AssertionType
public void setIssuedAssertion(SAML11AssertionType issuedAssertion)
issuedAssertion
- SAML11AssertionType
public String getAuthMethod()
public void setAuthMethod(String authMethod)
authMethod
- public String serviceName()
ProtocolContext
serviceName
in interface ProtocolContext
ProtocolContext.serviceName()
public String tokenType()
ProtocolContext
tokenType
in interface ProtocolContext
ProtocolContext.tokenType()
public QName getQName()
ProtocolContext
getQName
in interface ProtocolContext
ProtocolContext.getQName()
public String family()
ProtocolContext
family
in interface ProtocolContext
ProtocolContext.family()
Copyright © 2017 JBoss by Red Hat. All rights reserved.