Constructor and Description |
---|
SubjectSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Subject subject)
Checks to see if a XMLObject is valid.
|
protected void |
validateNameIdentifierSubjectConfirmation(Subject subject)
Validates that the subject has either a name identifier or subject confirmation
|
public void validate(Subject subject) throws ValidationException
validate
in interface Validator<Subject>
subject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateNameIdentifierSubjectConfirmation(Subject subject) throws ValidationException
subject
- subject to validateValidationException
- thrown if the subject has neither a name identifier or subject confirmationCopyright © 2018 JBoss by Red Hat. All rights reserved.