Skip navigation links
OpenAM Server Only 6.5.5 Documentation
com.sun.identity.xacml.context

Interface Request

    • Method Detail

      • getSubjects

        List getSubjects()
        Returns the one to many Subject elements of this object
        Returns:
        the Subject elements of this object
      • setSubjects

        void setSubjects(List subjects)
                  throws XACMLException
        Sets the one to many Subject elements of this object
        Parameters:
        subjects - the one to many Subject elements of this object
        Throws:
        XACMLException - if the object is immutable An object is considered immutable if makeImmutable() has been invoked on it. It can be determined by calling isMutable on the object.
      • getResources

        List getResources()
        Returns the one to many Resource elements of this object
        Returns:
        the Resource elements of this object
      • setResources

        void setResources(List resources)
                   throws XACMLException
        Sets the one to many Resource elements of this object
        Parameters:
        resources - the one to many Resource elements of this object
        Throws:
        XACMLException - if the object is immutable An object is considered immutable if makeImmutable() has been invoked on it. It can be determined by calling isMutable on the object.
      • getAction

        Action getAction()
        Returns the instance of Action
        Returns:
        instance of Action
      • setAction

        void setAction(Action action)
                throws XACMLException
        Sets the instance of Action
        Parameters:
        action - instance of Action
        Throws:
        XACMLException - if the object is immutable An object is considered immutable if makeImmutable() has been invoked on it. It can be determined by calling isMutable on the object.
      • getEnvironment

        Environment getEnvironment()
        Returns the instance of Environment
        Returns:
        the instance of Environment
      • setEnvironment

        void setEnvironment(Environment env)
                     throws XACMLException
        Sets the instance of Environment
        Parameters:
        env - instance of Environment
        Throws:
        XACMLException - if the object is immutable An object is considered immutable if makeImmutable() has been invoked on it. It can be determined by calling isMutable on the object.
      • toXMLString

        String toXMLString(boolean includeNSPrefix,
                           boolean declareNS)
                    throws XACMLException
        Returns a String representation of this object
        Parameters:
        includeNSPrefix - Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - Determines whether or not the namespace is declared within the Element.
        Returns:
        a string representation of this object
        Throws:
        XACMLException - if conversion fails for any reason
      • toXMLString

        String toXMLString()
                    throws XACMLException
        Returns a string representation of this object
        Returns:
        a string representation of this object
        Throws:
        XACMLException - if conversion fails for any reason
      • makeImmutable

        void makeImmutable()
        Makes the object immutable
      • isMutable

        boolean isMutable()
        Checks if the object is mutable
        Returns:
        true if the object is mutable, false otherwise
OpenAM Server Only 6.5.5 Documentation

Copyright © 2010-2018, ForgeRock All Rights Reserved.