Class SAMLLogoutContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.sp.saml.saml2.context.SAMLLogoutContext
- All Implemented Interfaces:
Iterable<BaseContext>
Manages state for SAML logout flows.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NameIDNameIDfrom original assertion.private StringSessionIndexvalue from original assertion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the SAMLNameIDissued with the session.Get the SAMLSessionIndexvalue issued with the session.Set the SAMLNameIDissued with the session.setSessionIndex(String index) Set the SAMLSessionIndexvalue issued with the session.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
-
nameID
NameIDfrom original assertion. -
sessionIndex
SessionIndexvalue from original assertion.
-
-
Constructor Details
-
SAMLLogoutContext
public SAMLLogoutContext()
-
-
Method Details
-
getNameID
Get the SAMLNameIDissued with the session.- Returns:
- SAML
NameID
-
setNameID
Set the SAMLNameIDissued with the session.- Parameters:
n- the SAMLNameID- Returns:
- this context
-
getSessionIndex
Get the SAMLSessionIndexvalue issued with the session.- Returns:
- session index
-
setSessionIndex
Set the SAMLSessionIndexvalue issued with the session.- Parameters:
index- the index- Returns:
- this context
-