org.opensaml.saml2.metadata.validator
Class AuthnAuthorityDescriptorSchemaValidator
java.lang.Object
org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator<AuthnAuthorityDescriptor>
org.opensaml.saml2.metadata.validator.AuthnAuthorityDescriptorSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<AuthnAuthorityDescriptor>
public class AuthnAuthorityDescriptorSchemaValidator
- extends RoleDescriptorSchemaValidator<AuthnAuthorityDescriptor>
Checks AuthnAuthorityDescriptor
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthnAuthorityDescriptorSchemaValidator
public AuthnAuthorityDescriptorSchemaValidator()
- Constructor
validate
public void validate(AuthnAuthorityDescriptor authnAuthorityDescriptor)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<AuthnAuthorityDescriptor>
- Overrides:
validate
in class RoleDescriptorSchemaValidator<AuthnAuthorityDescriptor>
- Throws:
org.opensaml.xml.validation.ValidationException
validateAuthnQueryServices
protected void validateAuthnQueryServices(AuthnAuthorityDescriptor authnAuthorityDescriptor)
throws org.opensaml.xml.validation.ValidationException
- Checks that at least one AuthnService is present.
- Parameters:
authnAuthorityDescriptor
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2011 Internet2. All Rights Reserved.