org.opensaml.saml2.core.validator
Class AttributeQuerySchemaValidator
java.lang.Object
org.opensaml.saml2.core.validator.RequestAbstractTypeSchemaValidator<SubjectQueryType>
org.opensaml.saml2.core.validator.SubjectQuerySchemaValidator<AttributeQuery>
org.opensaml.saml2.core.validator.AttributeQuerySchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<AttributeQuery>
public class AttributeQuerySchemaValidator
- extends SubjectQuerySchemaValidator<AttributeQuery>
Checks AttributeQuery
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeQuerySchemaValidator
public AttributeQuerySchemaValidator()
- Constructor.
validate
public void validate(AttributeQuery query)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<AttributeQuery>
- Overrides:
validate
in class SubjectQuerySchemaValidator<AttributeQuery>
- Throws:
org.opensaml.xml.validation.ValidationException
validateUniqueAttributeIdentifiers
protected void validateUniqueAttributeIdentifiers(AttributeQuery query)
throws org.opensaml.xml.validation.ValidationException
- Checks that all the attributes have a unique Name/NameFormat pair.
- Parameters:
query
- the attribute query to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if more than on Name/NameFormat pair is found in the list of attributes in
this query
Copyright © 2006-2012 Internet2. All Rights Reserved.