public class AuthnStatementSchemaValidator extends Object implements org.opensaml.xml.validation.Validator<AuthnStatement>
AuthnStatement
for Schema compliance.Constructor and Description |
---|
AuthnStatementSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(AuthnStatement authnStatement) |
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 org.opensaml.xml.validation.ValidationException
validate
in interface org.opensaml.xml.validation.Validator<AuthnStatement>
org.opensaml.xml.validation.ValidationException
protected void validateAuthnInstant(AuthnStatement authnStatement) throws org.opensaml.xml.validation.ValidationException
authnStatement
- org.opensaml.xml.validation.ValidationException
protected void validateAuthnContext(AuthnStatement authnStatement) throws org.opensaml.xml.validation.ValidationException
authnStatement
- org.opensaml.xml.validation.ValidationException
Copyright © 1999-2013. All Rights Reserved.