public class PDPDescriptorSchemaValidator extends RoleDescriptorSchemaValidator<PDPDescriptor>
PDPDescriptor
for Schema compliance.Constructor and Description |
---|
PDPDescriptorSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(PDPDescriptor pdpDescriptor)
Checks to see if a XMLObject is valid.
|
protected void |
validateAuthzServices(PDPDescriptor pdpDescriptor)
Checks that one or more Authz Services are present.
|
validateProtocols
public void validate(PDPDescriptor pdpDescriptor) throws ValidationException
validate
in interface Validator<PDPDescriptor>
validate
in class RoleDescriptorSchemaValidator<PDPDescriptor>
pdpDescriptor
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateAuthzServices(PDPDescriptor pdpDescriptor) throws ValidationException
pdpDescriptor
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.