org.opensaml.saml2.core.validator
Class AttributeStatementSchemaValidator
java.lang.Object
org.opensaml.saml2.core.validator.AttributeStatementSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<AttributeStatement>
public class AttributeStatementSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<AttributeStatement>
Checks AttributeStatement
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeStatementSchemaValidator
public AttributeStatementSchemaValidator()
- Constructor
validate
public void validate(AttributeStatement attributeStatement)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<AttributeStatement>
- Throws:
org.opensaml.xml.validation.ValidationException
validateAttributes
protected void validateAttributes(AttributeStatement attributeStatement)
throws org.opensaml.xml.validation.ValidationException
- Checks that at least one Attribute is present.
- Parameters:
attributeStatement
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2012 Internet2. All Rights Reserved.