Class SAMLContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.idp.saml.authn.context.SAMLContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
public final class SAMLContext extends BaseContext
Context, usually attached toAuthenticationContext, that carries a SAMLAssertionto be validated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Constructor Summary
Constructors Constructor Description SAMLContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertiongetAssertion()Gets the assertion to be validated.SAMLContextsetAssertion(Assertion newAssertion)Sets the assertion to be validated.-
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
assertion
@Nullable private Assertion assertion
The assertion to be validated.
-
-
Method Detail
-
getAssertion
@Nullable public Assertion getAssertion()
Gets the assertion to be validated.- Returns:
- the assertion to be validated
-
setAssertion
@Nonnull public SAMLContext setAssertion(@Nullable Assertion newAssertion)
Sets the assertion to be validated.- Parameters:
newAssertion- assertion to be validated- Returns:
- this context
-
-