Class AuthzDecisionStatementImpl

    • Field Detail

      • resource

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

        private 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()
        Get URI of the resource to which authorization is saught.
        Specified by:
        getResource in interface AuthzDecisionStatement
        Returns:
        URI of the resource to which authorization is saught
      • setResource

        public void setResource​(String newResourceURI)
        Sets URI of the resource to which authorization is saught.
        Specified by:
        setResource in interface AuthzDecisionStatement
        Parameters:
        newResourceURI - URI of the resource to which authorization is saught
      • getEvidence

        public Evidence getEvidence()
        Get the SAML assertion the authority relied on when making the authorization decision.
        Specified by:
        getEvidence in interface AuthzDecisionStatement
        Returns:
        the SAML assertion the authority relied on when making the authorization decision
      • setEvidence

        public void setEvidence​(Evidence newEvidence)
        Sets the SAML assertion the authority relied on when making the authorization decision.
        Specified by:
        setEvidence in interface AuthzDecisionStatement
        Parameters:
        newEvidence - the SAML assertion the authority relied on when making the authorization decision
      • getOrderedChildren

        public List<XMLObject> getOrderedChildren()
        Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
        Specified by:
        getOrderedChildren in interface XMLObject
        Returns:
        ordered list of child elements