Constructor and Description |
---|
SubjectSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Subject subject) |
protected void |
validateNameIdentifierSubjectConfirmation(Subject subject)
Validates that the subject has either a name identifier or subject confirmation
|
public void validate(Subject subject) throws org.opensaml.xml.validation.ValidationException
validate
in interface org.opensaml.xml.validation.Validator<Subject>
org.opensaml.xml.validation.ValidationException
protected void validateNameIdentifierSubjectConfirmation(Subject subject) throws org.opensaml.xml.validation.ValidationException
subject
- subject to validateorg.opensaml.xml.validation.ValidationException
- thrown if the subject has neither a name identifier or subject confirmationCopyright © 1999-2013. All Rights Reserved.