org.opensaml.saml2.metadata.validator
Class RoleDescriptorSpecValidator<RoleDescriptorType extends RoleDescriptor>

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.RoleDescriptorSpecValidator<RoleDescriptorType>
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<RoleDescriptorType>
Direct Known Subclasses:
AttributeAuthorityDescriptorSpecValidator, AuthnAuthorityDescriptorSpecValidator, PDPDescriptorSpecValidator, SSODescriptorSpecValidator

public class RoleDescriptorSpecValidator<RoleDescriptorType extends RoleDescriptor>
extends Object
implements org.opensaml.xml.validation.Validator<RoleDescriptorType>

Checks RoleDescriptor for Spec compliance.


Constructor Summary
RoleDescriptorSpecValidator()
          Constructor
 
Method Summary
 void validate(RoleDescriptorType roleDescriptor)
          
protected  void validateProtocols(RoleDescriptor roleDescriptor)
          Checks that the SAML 2.0 protocol is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleDescriptorSpecValidator

public RoleDescriptorSpecValidator()
Constructor

Method Detail

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 the SAML 2.0 protocol is present.

Parameters:
roleDescriptor -
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2011 Internet2. All Rights Reserved.