public class AuthnAuthorityDescriptorSchemaValidator extends RoleDescriptorSchemaValidator<AuthnAuthorityDescriptor>
AuthnAuthorityDescriptor
for Schema compliance.Constructor and Description |
---|
AuthnAuthorityDescriptorSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(AuthnAuthorityDescriptor authnAuthorityDescriptor)
Checks to see if a XMLObject is valid.
|
protected void |
validateAuthnQueryServices(AuthnAuthorityDescriptor authnAuthorityDescriptor)
Checks that at least one AuthnService is present.
|
validateProtocols
public AuthnAuthorityDescriptorSchemaValidator()
public void validate(AuthnAuthorityDescriptor authnAuthorityDescriptor) throws ValidationException
validate
in interface Validator<AuthnAuthorityDescriptor>
validate
in class RoleDescriptorSchemaValidator<AuthnAuthorityDescriptor>
authnAuthorityDescriptor
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateAuthnQueryServices(AuthnAuthorityDescriptor authnAuthorityDescriptor) throws ValidationException
authnAuthorityDescriptor
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.