Class AbstractToken<TokenType>
java.lang.Object
org.opensaml.soap.wssecurity.messaging.AbstractToken<TokenType>
- Type Parameters:
TokenType
- the type of token represented
- All Implemented Interfaces:
Token<TokenType>
- Direct Known Subclasses:
SAML20AssertionToken
Base abstract implementation of
Token
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.soap.wssecurity.messaging.Token
Token.ValidationStatus
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Token.ValidationStatus
Token validation status.private TokenType
The wrapped token object instance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the token validation status.Get the underlying data structure of this token.void
Get the token validation status.
-
Field Details
-
wrappedToken
The wrapped token object instance. -
validationStatus
Token validation status.
-
-
Constructor Details
-
AbstractToken
Constructor.- Parameters:
token
- the wrapped token instance
-
-
Method Details
-
getWrappedToken
Get the underlying data structure of this token.- Specified by:
getWrappedToken
in interfaceToken<TokenType>
- Returns:
- the underlying token object
-
getValidationStatus
Get the token validation status.- Specified by:
getValidationStatus
in interfaceToken<TokenType>
- Returns:
- the token validation status
-
setValidationStatus
Get the token validation status.- Parameters:
status
- the new token validation status
-