public class AuthnStatementSchemaValidator extends Object implements Validator<AuthnStatement>
AuthnStatement
for Schema compliance.Constructor and Description |
---|
AuthnStatementSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(AuthnStatement authnStatement)
Checks to see if a XMLObject is valid.
|
protected void |
validateAuthnContext(AuthnStatement authnStatement)
Checks that the AuthnContext element is present.
|
protected void |
validateAuthnInstant(AuthnStatement authnStatement)
Checks that the AuthnInstant attribute is present.
|
public void validate(AuthnStatement authnStatement) throws ValidationException
validate
in interface Validator<AuthnStatement>
authnStatement
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateAuthnInstant(AuthnStatement authnStatement) throws ValidationException
authnStatement
- ValidationException
protected void validateAuthnContext(AuthnStatement authnStatement) throws ValidationException
authnStatement
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.