public class SCTValidator extends Object implements TokenValidator
Modifier and Type | Field and Description |
---|---|
static String |
SCT_VALIDATOR_SECRET
This tag refers to the secret key (byte[]) associated with a SecurityContextToken that has been
validated.
|
Constructor and Description |
---|
SCTValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandleToken(ReceivedToken validateTarget)
Return true if this TokenValidator implementation is capable of validating the
ReceivedToken argument.
|
boolean |
canHandleToken(ReceivedToken validateTarget,
String realm)
Return true if this TokenValidator implementation is capable of validating the
ReceivedToken argument.
|
TokenValidatorResponse |
validateToken(TokenValidatorParameters tokenParameters)
Validate a Token using the given TokenValidatorParameters.
|
public static final String SCT_VALIDATOR_SECRET
public boolean canHandleToken(ReceivedToken validateTarget)
canHandleToken
in interface TokenValidator
public boolean canHandleToken(ReceivedToken validateTarget, String realm)
canHandleToken
in interface TokenValidator
public TokenValidatorResponse validateToken(TokenValidatorParameters tokenParameters)
validateToken
in interface TokenValidator
Apache CXF