org.apache.cxf.ws.security.trust
Class STSTokenValidator
java.lang.Object
org.apache.cxf.ws.security.trust.STSTokenValidator
- All Implemented Interfaces:
- org.apache.ws.security.validate.Validator
public class STSTokenValidator
- extends Object
- implements org.apache.ws.security.validate.Validator
Method Summary |
protected boolean |
isValidatedLocally(org.apache.ws.security.validate.Credential credential,
org.apache.ws.security.handler.RequestData data)
|
org.apache.ws.security.validate.Credential |
validate(org.apache.ws.security.validate.Credential credential,
org.apache.ws.security.handler.RequestData data)
|
org.apache.ws.security.validate.Credential |
validateWithSTS(org.apache.ws.security.validate.Credential credential,
Message message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STSTokenValidator
public STSTokenValidator()
STSTokenValidator
public STSTokenValidator(boolean alwaysValidateToSts)
- Construct a new instance.
- Parameters:
alwaysValidateToSts
- whether to always validate the token to the STS
validate
public org.apache.ws.security.validate.Credential validate(org.apache.ws.security.validate.Credential credential,
org.apache.ws.security.handler.RequestData data)
throws org.apache.ws.security.WSSecurityException
- Specified by:
validate
in interface org.apache.ws.security.validate.Validator
- Throws:
org.apache.ws.security.WSSecurityException
validateWithSTS
public org.apache.ws.security.validate.Credential validateWithSTS(org.apache.ws.security.validate.Credential credential,
Message message)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
isValidatedLocally
protected boolean isValidatedLocally(org.apache.ws.security.validate.Credential credential,
org.apache.ws.security.handler.RequestData data)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
Apache CXF