org.opensaml.saml1.core.validator
Class SubjectSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.SubjectSchemaValidator
- All Implemented Interfaces:
- Validator<Subject>
public class SubjectSchemaValidator
- extends Object
- implements Validator<Subject>
Checks Subject for Schema compliance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubjectSchemaValidator
public SubjectSchemaValidator()
validate
public void validate(Subject subject)
throws ValidationException
-
- Specified by:
validate in interface Validator<Subject>
- Throws:
ValidationException
validateNameIdentifierSubjectConfirmation
protected void validateNameIdentifierSubjectConfirmation(Subject subject)
throws ValidationException
- Validates that the subject has either a name identifier or subject confirmation
- Parameters:
subject - subject to validate
- Throws:
ValidationException - thrown if the subject has neither a name identifier or subject confirmation
Copyright © 1999-2013. All Rights Reserved.