org.opensaml.saml2.core.validator
Class AudienceRestrictionSchemaValidator
java.lang.Object
org.opensaml.saml2.core.validator.AudienceRestrictionSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<AudienceRestriction>
public class AudienceRestrictionSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<AudienceRestriction>
Checks AudienceRestriction
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AudienceRestrictionSchemaValidator
public AudienceRestrictionSchemaValidator()
- Constructor
validate
public void validate(AudienceRestriction audienceRestriction)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<AudienceRestriction>
- Throws:
org.opensaml.xml.validation.ValidationException
validateAudiences
protected void validateAudiences(AudienceRestriction audienceRestriction)
throws org.opensaml.xml.validation.ValidationException
- Checks that at least one Audience is present.
- Parameters:
audienceRestriction
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2013 Internet2. All Rights Reserved.