public class SPSSODescriptorSchemaValidator extends SSODescriptorSchemaValidator<SPSSODescriptor>
SPSSODescriptor
for Schema compliance.Constructor and Description |
---|
SPSSODescriptorSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(SPSSODescriptor spssoDescriptor)
Checks to see if a XMLObject is valid.
|
protected void |
validateAssertionConsumerServices(SPSSODescriptor spssoDescriptor)
Checks that at least one Assertion Consumer Service is present.
|
validateProtocols
public SPSSODescriptorSchemaValidator()
public void validate(SPSSODescriptor spssoDescriptor) throws ValidationException
validate
in interface Validator<SPSSODescriptor>
validate
in class RoleDescriptorSchemaValidator<SPSSODescriptor>
spssoDescriptor
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateAssertionConsumerServices(SPSSODescriptor spssoDescriptor) throws ValidationException
spssoDescriptor
- descriptor to validateValidationException
- thrown if there is no AssertionConsumerServer within the descriptorCopyright © 2018 JBoss by Red Hat. All rights reserved.