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:
- 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 ValidationException
-
- Specified by:
validate in interface Validator<AttributeQuery>- Overrides:
validate in class SubjectQuerySchemaValidator<AttributeQuery>
- Throws:
ValidationException
validateUniqueAttributeIdentifiers
protected void validateUniqueAttributeIdentifiers(AttributeQuery query)
throws ValidationException
- Checks that all the attributes have a unique Name/NameFormat pair.
- Parameters:
query - the attribute query to validate
- Throws:
ValidationException - thrown if more than on Name/NameFormat pair is found in the list of attributes in
this query
Copyright © 1999-2013. All Rights Reserved.