|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.saml2.metadata.validator.KeyDescriptorSchemaValidator
public class KeyDescriptorSchemaValidator
Checks KeyDescriptor for Schema compliance.
| Constructor Summary | |
|---|---|
KeyDescriptorSchemaValidator()
Constructor. |
|
| Method Summary | |
|---|---|
void |
validate(KeyDescriptor keyDescriptor)
|
protected void |
validateKeyInfo(KeyDescriptor keyDescriptor)
Checks that KeyInfo is present. |
protected void |
validateUse(KeyDescriptor keyDescriptor)
Checks that use attribute has only one of allowed values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyDescriptorSchemaValidator()
| Method Detail |
|---|
public void validate(KeyDescriptor keyDescriptor)
throws ValidationException
validate in interface Validator<KeyDescriptor>ValidationException
protected void validateKeyInfo(KeyDescriptor keyDescriptor)
throws ValidationException
keyDescriptor - the key descriptor to validate
ValidationException - thrown if KeyInfo is not present
protected void validateUse(KeyDescriptor keyDescriptor)
throws ValidationException
keyDescriptor - the key descriptor to validate
ValidationException - throw in use attribute does not have a legal value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||