org.opensaml.saml1.core.validator
Class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement>
java.lang.Object
org.opensaml.saml1.core.validator.SubjectStatementSchemaValidator<SubjectStatementType>
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<SubjectStatementType>
- Direct Known Subclasses:
- AttributeStatementSchemaValidator, AuthenticationStatementSchemaValidator, AuthorizationDecisionStatementSchemaValidator
public class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement>
- extends Object
- implements org.opensaml.xml.validation.Validator<SubjectStatementType>
Checks SubjectStatement
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubjectStatementSchemaValidator
public SubjectStatementSchemaValidator()
validate
public void validate(SubjectStatementType subjectStatement)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<SubjectStatementType extends SubjectStatement>
- Throws:
org.opensaml.xml.validation.ValidationException
validateSubject
protected void validateSubject(SubjectStatementType subjectStatement)
throws org.opensaml.xml.validation.ValidationException
- Validates that the statement has a subject.
- Parameters:
subjectStatement
- statement to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if the statement does not have a subject
Copyright © 2006-2011 Internet2. All Rights Reserved.