|
||||||||||
| 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 org.opensaml.xml.validation.ValidationException
validate in interface org.opensaml.xml.validation.Validator<KeyDescriptor>org.opensaml.xml.validation.ValidationException
protected void validateKeyInfo(KeyDescriptor keyDescriptor)
throws org.opensaml.xml.validation.ValidationException
keyDescriptor - the key descriptor to validate
org.opensaml.xml.validation.ValidationException - thrown if KeyInfo is not present
protected void validateUse(KeyDescriptor keyDescriptor)
throws org.opensaml.xml.validation.ValidationException
keyDescriptor - the key descriptor to validate
org.opensaml.xml.validation.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 | |||||||||