Class WSSecurityContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.soap.wssecurity.messaging.WSSecurityContext
- All Implemented Interfaces:
Iterable<BaseContext>
A subcontext that carries information related to WS-Security processing.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the value for Timestamp Created.Get the value for Timestamp Expires.Get the list of WS-Security tokens.void
setTimestampCreated
(Instant value) Set the value for Timestamp Created.void
setTimestampExpires
(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
-
Field Details
-
tokens
List of known WS-Security tokens. -
timestampCreated
Value for Timestamp Created. -
timestampExpires
Value for Timestamp Expires.
-
-
Constructor Details
-
WSSecurityContext
public WSSecurityContext()Constructor.
-
-
Method Details
-
getTokens
Get the list of WS-Security tokens.- Returns:
- the list of tokens
-
getTimestampCreated
Get the value for Timestamp Created.- Returns:
- the Timestamp Created value
-
setTimestampCreated
Set the value for Timestamp Created.- Parameters:
value
- the Timestamp Created value
-
getTimestampExpires
Get the value for Timestamp Expires.- Returns:
- the Timestamp Expires value
-
setTimestampExpires
Set the value for Timestamp Expires.- Parameters:
value
- the Timestamp Expires value
-