public class AuthenticationStatementSchemaValidator extends SubjectStatementSchemaValidator<AuthenticationStatement>
AuthenticationStatement
for Schema compliance.Constructor and Description |
---|
AuthenticationStatementSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(AuthenticationStatement authenticationStatement) |
protected void |
validateAuthenticationInstant(AuthenticationStatement authenticationStatement)
Validates that the authentication statement has an authentication instant.
|
protected void |
validateAuthenticationMethod(AuthenticationStatement authenticationStatement)
Validates that the authentication statement has an authentication method.
|
validateSubject
public AuthenticationStatementSchemaValidator()
public void validate(AuthenticationStatement authenticationStatement) throws org.opensaml.xml.validation.ValidationException
validate
in interface org.opensaml.xml.validation.Validator<AuthenticationStatement>
validate
in class SubjectStatementSchemaValidator<AuthenticationStatement>
org.opensaml.xml.validation.ValidationException
protected void validateAuthenticationMethod(AuthenticationStatement authenticationStatement) throws org.opensaml.xml.validation.ValidationException
authenticationStatement
- the statement to validateorg.opensaml.xml.validation.ValidationException
- thrown if the statement does not have an authentication methodprotected void validateAuthenticationInstant(AuthenticationStatement authenticationStatement) throws org.opensaml.xml.validation.ValidationException
authenticationStatement
- the statement to validateorg.opensaml.xml.validation.ValidationException
- thrown if the statement does not have an authentication instantCopyright © 1999-2013. All Rights Reserved.