org.opensaml.saml2.metadata.validator
Class AuthnAuthorityDescriptorSchemaValidator

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

public class AuthnAuthorityDescriptorSchemaValidator
extends RoleDescriptorSchemaValidator<AuthnAuthorityDescriptor>

Checks AuthnAuthorityDescriptor for Schema compliance.


Constructor Summary
AuthnAuthorityDescriptorSchemaValidator()
          Constructor
 
Method Summary
 void validate(AuthnAuthorityDescriptor authnAuthorityDescriptor)
          
protected  void validateAuthnQueryServices(AuthnAuthorityDescriptor authnAuthorityDescriptor)
          Checks that at least one AuthnService 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

AuthnAuthorityDescriptorSchemaValidator

public AuthnAuthorityDescriptorSchemaValidator()
Constructor

Method Detail

validate

public void validate(AuthnAuthorityDescriptor authnAuthorityDescriptor)
              throws ValidationException

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

validateAuthnQueryServices

protected void validateAuthnQueryServices(AuthnAuthorityDescriptor authnAuthorityDescriptor)
                                   throws ValidationException
Checks that at least one AuthnService is present.

Parameters:
authnAuthorityDescriptor -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.