org.opensaml.saml2.metadata.validator
Class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor>
java.lang.Object
org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator<RoleDescriptorType>
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<RoleDescriptorType>
- Direct Known Subclasses:
- AttributeAuthorityDescriptorSchemaValidator, AuthnAuthorityDescriptorSchemaValidator, PDPDescriptorSchemaValidator, SSODescriptorSchemaValidator
public class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor>
- extends Object
- implements org.opensaml.xml.validation.Validator<RoleDescriptorType>
Checks RoleDescriptor
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleDescriptorSchemaValidator
public RoleDescriptorSchemaValidator()
- Constructor
validate
public void validate(RoleDescriptorType roleDescriptor)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<RoleDescriptorType extends RoleDescriptor>
- Throws:
org.opensaml.xml.validation.ValidationException
validateProtocols
protected void validateProtocols(RoleDescriptor roleDescriptor)
throws org.opensaml.xml.validation.ValidationException
- Checks that one or more Protocols are present.
- Parameters:
roleDescriptor
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2011 Internet2. All Rights Reserved.