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()
NameIDTypepublic void setIssuerID(NameIDType issuerID)
issuerID - NameIDTypepublic SubjectType getSubjectType()
SubjectTypepublic void setSubjectType(SubjectType subjectType)
subjectType - SubjectTypepublic ConditionsType getConditions()
ConditionsTypepublic void setConditions(ConditionsType conditions)
conditions - ConditionsTypepublic List<StatementAbstractType> getStatements()
StatementAbstractTypepublic void setStatements(List<StatementAbstractType> statements)
statements - Listpublic AssertionType getIssuedAssertion()
AssertionTypepublic void setIssuedAssertion(AssertionType issuedAssertion)
issuedAssertion - AssertionTypepublic String serviceName()
ProtocolContextserviceName in interface ProtocolContextProtocolContext.serviceName()public String tokenType()
ProtocolContexttokenType in interface ProtocolContextProtocolContext.tokenType()public QName getQName()
ProtocolContextgetQName in interface ProtocolContextProtocolContext.getQName()public String family()
ProtocolContextfamily in interface ProtocolContextProtocolContext.family()Copyright © 2018 JBoss by Red Hat. All rights reserved.