org.opensaml.saml1.core.validator
Class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement>
java.lang.Object
org.opensaml.saml1.core.validator.SubjectStatementSchemaValidator<SubjectStatementType>
- All Implemented Interfaces:
- Validator<SubjectStatementType>
- Direct Known Subclasses:
- AttributeStatementSchemaValidator, AuthenticationStatementSchemaValidator, AuthorizationDecisionStatementSchemaValidator
public class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement>
- extends Object
- implements 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 ValidationException
-
- Specified by:
validate
in interface Validator<SubjectStatementType extends SubjectStatement>
- Throws:
ValidationException
validateSubject
protected void validateSubject(SubjectStatementType subjectStatement)
throws ValidationException
- Validates that the statement has a subject.
- Parameters:
subjectStatement
- statement to validate
- Throws:
ValidationException
- thrown if the statement does not have a subject
Copyright © 1999-2012. All Rights Reserved.