org.opensaml.saml2.metadata.validator
Class AttributeAuthorityDescriptorSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator<AttributeAuthorityDescriptor>
      extended by org.opensaml.saml2.metadata.validator.AttributeAuthorityDescriptorSchemaValidator
All Implemented Interfaces:
Validator<AttributeAuthorityDescriptor>

public class AttributeAuthorityDescriptorSchemaValidator
extends RoleDescriptorSchemaValidator<AttributeAuthorityDescriptor>

Checks AttributeAuthorityDescriptor for Schema compliance.


Constructor Summary
AttributeAuthorityDescriptorSchemaValidator()
          Constructor
 
Method Summary
 void validate(AttributeAuthorityDescriptor attributeAuthorityDescriptor)
          
protected  void validateAttributeServices(AttributeAuthorityDescriptor attributeAuthorityDescriptor)
          Checks that at least one AttributeService is present.
 
Methods inherited from class org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator
validateProtocols
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeAuthorityDescriptorSchemaValidator

public AttributeAuthorityDescriptorSchemaValidator()
Constructor

Method Detail

validate

public void validate(AttributeAuthorityDescriptor attributeAuthorityDescriptor)
              throws ValidationException

Specified by:
validate in interface Validator<AttributeAuthorityDescriptor>
Overrides:
validate in class RoleDescriptorSchemaValidator<AttributeAuthorityDescriptor>
Throws:
ValidationException

validateAttributeServices

protected void validateAttributeServices(AttributeAuthorityDescriptor attributeAuthorityDescriptor)
                                  throws ValidationException
Checks that at least one AttributeService is present.

Parameters:
attributeAuthorityDescriptor -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.