Class AuthzDecisionStatementImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml2.core.AuthzDecisionStatement, org.opensaml.saml.saml2.core.Statement

    public class AuthzDecisionStatementImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml2.core.AuthzDecisionStatement
    A concrete implementation of AuthzDecisionStatement.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.Action> actions
      Actions authorized to be performed.
      private org.opensaml.saml.saml2.core.DecisionTypeEnumeration decision
      Decision of the authorization request.
      private org.opensaml.saml.saml2.core.Evidence evidence
      SAML assertion the authority relied on when making the authorization decision.
      private String resource
      URI of the resource to which authorization is sought.
      • Fields inherited from interface org.opensaml.saml.saml2.core.AuthzDecisionStatement

        DECISION_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.saml.saml2.core.Action> getActions()
      org.opensaml.saml.saml2.core.DecisionTypeEnumeration getDecision()
      org.opensaml.saml.saml2.core.Evidence getEvidence()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getResource()
      void setDecision​(org.opensaml.saml.saml2.core.DecisionTypeEnumeration newDecision)
      void setEvidence​(org.opensaml.saml.saml2.core.Evidence newEvidence)
      void setResource​(String newResourceURI)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • resource

        private String resource
        URI of the resource to which authorization is sought.
      • decision

        private org.opensaml.saml.saml2.core.DecisionTypeEnumeration decision
        Decision of the authorization request.
      • actions

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.Action> actions
        Actions authorized to be performed.
      • evidence

        private org.opensaml.saml.saml2.core.Evidence evidence
        SAML assertion the authority relied on when making the authorization decision.
    • Constructor Detail

      • AuthzDecisionStatementImpl

        protected AuthzDecisionStatementImpl​(String namespaceURI,
                                             String elementLocalName,
                                             String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - the namespace the element is in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getResource

        public String getResource()
        Specified by:
        getResource in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • setResource

        public void setResource​(String newResourceURI)
        Specified by:
        setResource in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • getDecision

        public org.opensaml.saml.saml2.core.DecisionTypeEnumeration getDecision()
        Specified by:
        getDecision in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • setDecision

        public void setDecision​(org.opensaml.saml.saml2.core.DecisionTypeEnumeration newDecision)
        Specified by:
        setDecision in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • getActions

        public List<org.opensaml.saml.saml2.core.Action> getActions()
        Specified by:
        getActions in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • getEvidence

        public org.opensaml.saml.saml2.core.Evidence getEvidence()
        Specified by:
        getEvidence in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • setEvidence

        public void setEvidence​(org.opensaml.saml.saml2.core.Evidence newEvidence)
        Specified by:
        setEvidence in interface org.opensaml.saml.saml2.core.AuthzDecisionStatement
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject