Class SAMLTokenContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.sp.saml.saml2.context.SAMLTokenContext
- All Implemented Interfaces:
Iterable<BaseContext>
Manages state for SAML token consumer flow during final assertion processing.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AssertionAssertion used to authenticate.private AuthnStatementAuthentication statement. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the SAMLAssertionfrom the authentication.Get the SAMLAuthnStatementfrom the authentication.Set the SAMLAssertionfrom the authentication.setAuthnStatement(AuthnStatement statement) Set the SAMLAuthnStatementfrom the authentication.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
assertion
Assertion used to authenticate. -
authnStatement
Authentication statement.
-
-
Constructor Details
-
SAMLTokenContext
public SAMLTokenContext()
-
-
Method Details
-
getAssertion
Get the SAMLAssertionfrom the authentication.- Returns:
- SAML
Assertion
-
setAssertion
Set the SAMLAssertionfrom the authentication.- Parameters:
a- the SAMLAssertion- Returns:
- this context
-
getAuthnStatement
Get the SAMLAuthnStatementfrom the authentication.- Returns:
- SAML
AuthnStatement
-
setAuthnStatement
Set the SAMLAuthnStatementfrom the authentication.- Parameters:
statement- the SAMLAuthnStatement- Returns:
- this context
-