public class SAMLProtocolContext 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 ConditionsType |
conditions |
protected AssertionType |
issuedAssertion |
protected NameIDType |
issuerID |
protected List<StatementAbstractType> |
statements |
protected SubjectType |
subjectType |
Constructor and Description |
---|
SAMLProtocolContext() |
Modifier and Type | Method and Description |
---|---|
String |
family()
What family the context belongs to..
|
ConditionsType |
getConditions()
Get the conditions
|
AssertionType |
getIssuedAssertion()
Get the previously issued assertion by the STS
|
NameIDType |
getIssuerID()
Get the Issuer ID
|
QName |
getQName()
Return the QName of the token
|
List<StatementAbstractType> |
getStatements()
Get the statements as a read-only list
|
SubjectType |
getSubjectType()
Get the subject
|
String |
serviceName()
An optional service name
|
void |
setConditions(ConditionsType conditions)
Set the conditions
|
void |
setIssuedAssertion(AssertionType issuedAssertion)
Set the assertion issued by the STS
|
void |
setIssuerID(NameIDType issuerID)
Set the Issuer ID
|
void |
setStatements(List<StatementAbstractType> statements)
Add a list of statements
|
void |
setSubjectType(SubjectType subjectType)
Set the subject
|
String |
tokenType()
A String that represents the token type
|
protected NameIDType issuerID
protected SubjectType subjectType
protected ConditionsType conditions
protected List<StatementAbstractType> statements
protected AssertionType issuedAssertion
public NameIDType getIssuerID()
NameIDType
public void setIssuerID(NameIDType issuerID)
issuerID
- NameIDType
public SubjectType getSubjectType()
SubjectType
public void setSubjectType(SubjectType subjectType)
subjectType
- SubjectType
public ConditionsType getConditions()
ConditionsType
public void setConditions(ConditionsType conditions)
conditions
- ConditionsType
public List<StatementAbstractType> getStatements()
StatementAbstractType
public void setStatements(List<StatementAbstractType> statements)
statements
- List
public AssertionType getIssuedAssertion()
AssertionType
public void setIssuedAssertion(AssertionType issuedAssertion)
issuedAssertion
- AssertionType
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.