org.opensaml.saml2.core.validator
Class AuthzDecisionStatementSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.AuthzDecisionStatementSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<AuthzDecisionStatement>

public class AuthzDecisionStatementSchemaValidator
extends Object
implements org.opensaml.xml.validation.Validator<AuthzDecisionStatement>

Checks AuthzDecisionStatement for Schema compliance.


Constructor Summary
AuthzDecisionStatementSchemaValidator()
          Constructor
 
Method Summary
 void validate(AuthzDecisionStatement authzDS)
          
protected  void validateActions(AuthzDecisionStatement authzDS)
          Checks that one or more Action is present.
protected  void validateDecision(AuthzDecisionStatement authzDS)
          Checks that the Decision attribute is present.
protected  void validateResource(AuthzDecisionStatement authzDS)
          Checks that the Resource attribute is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthzDecisionStatementSchemaValidator

public AuthzDecisionStatementSchemaValidator()
Constructor

Method Detail

validate

public void validate(AuthzDecisionStatement authzDS)
              throws org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<AuthzDecisionStatement>
Throws:
org.opensaml.xml.validation.ValidationException

validateResource

protected void validateResource(AuthzDecisionStatement authzDS)
                         throws org.opensaml.xml.validation.ValidationException
Checks that the Resource attribute is present.

Parameters:
authzDS -
Throws:
org.opensaml.xml.validation.ValidationException

validateDecision

protected void validateDecision(AuthzDecisionStatement authzDS)
                         throws org.opensaml.xml.validation.ValidationException
Checks that the Decision attribute is present.

Parameters:
authzDS -
Throws:
org.opensaml.xml.validation.ValidationException

validateActions

protected void validateActions(AuthzDecisionStatement authzDS)
                        throws org.opensaml.xml.validation.ValidationException
Checks that one or more Action is present.

Parameters:
authzDS -
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2010 Internet2. All Rights Reserved.