org.opensaml.saml1.core.validator
Class AuthenticationStatementSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.SubjectStatementSchemaValidator<AuthenticationStatement>
org.opensaml.saml1.core.validator.AuthenticationStatementSchemaValidator
- All Implemented Interfaces:
- Validator<AuthenticationStatement>
public class AuthenticationStatementSchemaValidator
- extends SubjectStatementSchemaValidator<AuthenticationStatement>
Checks AuthenticationStatement
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationStatementSchemaValidator
public AuthenticationStatementSchemaValidator()
validate
public void validate(AuthenticationStatement authenticationStatement)
throws ValidationException
-
- Specified by:
validate
in interface Validator<AuthenticationStatement>
- Overrides:
validate
in class SubjectStatementSchemaValidator<AuthenticationStatement>
- Throws:
ValidationException
validateAuthenticationMethod
protected void validateAuthenticationMethod(AuthenticationStatement authenticationStatement)
throws ValidationException
- Validates that the authentication statement has an authentication method.
- Parameters:
authenticationStatement
- the statement to validate
- Throws:
ValidationException
- thrown if the statement does not have an authentication method
validateAuthenticationInstant
protected void validateAuthenticationInstant(AuthenticationStatement authenticationStatement)
throws ValidationException
- Validates that the authentication statement has an authentication instant.
- Parameters:
authenticationStatement
- the statement to validate
- Throws:
ValidationException
- thrown if the statement does not have an authentication instant
Copyright © 1999-2013. All Rights Reserved.