Class WSSecurityContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- org.opensaml.soap.wssecurity.messaging.WSSecurityContext
-
- All Implemented Interfaces:
Iterable<org.opensaml.messaging.context.BaseContext>
public final class WSSecurityContext extends org.opensaml.messaging.context.BaseContextA subcontext that carries information related to WS-Security processing.
-
-
Field Summary
Fields Modifier and Type Field Description private InstanttimestampCreatedValue for Timestamp Created.private InstanttimestampExpiresValue for Timestamp Expires.private net.shibboleth.utilities.java.support.collection.LazyList<Token<?>>tokensList of known WS-Security tokens.
-
Constructor Summary
Constructors Constructor Description WSSecurityContext()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetTimestampCreated()Get the value for Timestamp Created.InstantgetTimestampExpires()Get the value for Timestamp Expires.List<Token<?>>getTokens()Get the list of WS-Security tokens.voidsetTimestampCreated(Instant value)Set the value for Timestamp Created.voidsetTimestampExpires(Instant value)Set the value for Timestamp Expires.-
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
-
-
-
-
Method Detail
-
getTokens
@Nonnull public List<Token<?>> getTokens()
Get the list of WS-Security tokens.- Returns:
- the list of tokens
-
getTimestampCreated
@Nullable public Instant getTimestampCreated()
Get the value for Timestamp Created.- Returns:
- the Timestamp Created value
-
setTimestampCreated
public void setTimestampCreated(@Nullable Instant value)Set the value for Timestamp Created.- Parameters:
value- the Timestamp Created value
-
getTimestampExpires
@Nullable public Instant getTimestampExpires()
Get the value for Timestamp Expires.- Returns:
- the Timestamp Expires value
-
setTimestampExpires
public void setTimestampExpires(@Nullable Instant value)Set the value for Timestamp Expires.- Parameters:
value- the Timestamp Expires value
-
-