Class AbstractToken<TokenType>
- java.lang.Object
-
- org.opensaml.soap.wssecurity.messaging.AbstractToken<TokenType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensaml.soap.wssecurity.messaging.Token
Token.ValidationStatus
-
-
Field Summary
Fields Modifier and Type Field Description private Token.ValidationStatusvalidationStatusToken validation status.private TokenTypewrappedTokenThe wrapped token object instance.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractToken(TokenType token)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token.ValidationStatusgetValidationStatus()Get the token validation status.TokenTypegetWrappedToken()Get the underlying data structure of this token.voidsetValidationStatus(Token.ValidationStatus status)Get the token validation status.
-
-
-
Field Detail
-
wrappedToken
private TokenType wrappedToken
The wrapped token object instance.
-
validationStatus
private Token.ValidationStatus validationStatus
Token validation status.
-
-
Constructor Detail
-
AbstractToken
protected AbstractToken(@Nonnull TokenType token)Constructor.- Parameters:
token- the wrapped token instance
-
-
Method Detail
-
getWrappedToken
@Nonnull public TokenType getWrappedToken()
Get the underlying data structure of this token.- Specified by:
getWrappedTokenin interfaceToken<TokenType>- Returns:
- the underlying token object
-
getValidationStatus
@Nonnull public Token.ValidationStatus getValidationStatus()
Get the token validation status.- Specified by:
getValidationStatusin interfaceToken<TokenType>- Returns:
- the token validation status
-
setValidationStatus
public void setValidationStatus(@Nonnull Token.ValidationStatus status)Get the token validation status.- Parameters:
status- the new token validation status
-
-