Package org.apache.wss4j.dom.validate
Interface Validator
-
- All Known Implementing Classes:
JAASUsernameTokenValidator
,KerberosTokenValidator
,NoOpValidator
,SamlAssertionValidator
,SignatureTrustValidator
,TimestampValidator
,UsernameTokenValidator
public interface Validator
This interface describes a pluggable way of validating credentials that have been extracted by the processors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Credential
validate(Credential credential, RequestData data)
Validate the credential argument.
-
-
-
Method Detail
-
validate
Credential validate(Credential credential, RequestData data) throws WSSecurityException
Validate the credential argument. This method returns a Credential instance that represents the validated credential. This instance can be the same as the instance that was validated, or it can represent some transformation of the initial Credential instance.- Parameters:
credential
- the Credential to be validateddata
- the RequestData associated with the request- Returns:
- a validated Credential
- Throws:
WSSecurityException
- on a failed validation
-
-