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()
SAML11NameIdentifierTypepublic void setIssuerID(String issuerID)
issuerID - Stringpublic SAML11SubjectType getSubjectType()
SAML11SubjectTypepublic void setSubjectType(SAML11SubjectType subjectType)
subjectType - SAML11SubjectTypepublic SAML11ConditionsType getConditions()
SAML11ConditionsTypepublic void setConditions(SAML11ConditionsType conditions)
conditions - SAML11ConditionsTypepublic List<SAML11StatementAbstractType> getStatements()
SAML11StatementAbstractTypepublic void setStatements(List<SAML11StatementAbstractType> statements)
statements - SAML11StatementAbstractTypepublic SAML11AssertionType getIssuedAssertion()
SAML11AssertionTypepublic void setIssuedAssertion(SAML11AssertionType issuedAssertion)
issuedAssertion - SAML11AssertionTypepublic String getAuthMethod()
public void setAuthMethod(String authMethod)
authMethod - public 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.