public class AuthenticationStatementSchemaValidator extends SubjectStatementSchemaValidator<AuthenticationStatement>
AuthenticationStatement
for Schema compliance.Constructor and Description |
---|
AuthenticationStatementSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(AuthenticationStatement authenticationStatement)
Checks to see if a XMLObject is valid.
|
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 ValidationException
validate
in interface Validator<AuthenticationStatement>
validate
in class SubjectStatementSchemaValidator<AuthenticationStatement>
authenticationStatement
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateAuthenticationMethod(AuthenticationStatement authenticationStatement) throws ValidationException
authenticationStatement
- the statement to validateValidationException
- thrown if the statement does not have an authentication methodprotected void validateAuthenticationInstant(AuthenticationStatement authenticationStatement) throws ValidationException
authenticationStatement
- the statement to validateValidationException
- thrown if the statement does not have an authentication instantCopyright © 2013 JBoss by Red Hat. All Rights Reserved.