org.opensaml.saml1.core.validator
Class SubjectSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.SubjectSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<Subject>
public class SubjectSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.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 org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<Subject>
- Throws:
org.opensaml.xml.validation.ValidationException
validateNameIdentifierSubjectConfirmation
protected void validateNameIdentifierSubjectConfirmation(Subject subject)
throws org.opensaml.xml.validation.ValidationException
- Validates that the subject has either a name identifier or subject confirmation
- Parameters:
subject
- subject to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if the subject has neither a name identifier or subject confirmation
Copyright © 2006-2012 Internet2. All Rights Reserved.