com.sun.identity.xacml.context
インタフェース Request

既知の実装クラスの一覧:
RequestImpl

public interface Request

The Request element is the top-level element in the XACML context scehema. Its an abstraction layer used by the policy language. It contains Subject, Resource, Action and Environment elements.

 <xs:complexType name="RequestType">
   <xs:sequence>
     <xs:element ref="xacml-context:Subject" maxOccurs="unbounded"/>
     <xs:element ref="xacml-context:Resource" maxOccurs="unbounded"/>
     <xs:element ref="xacml-context:Action"/>
     <xs:element ref="xacml-context:Environment"/>
   <xs:sequence>
 <xs:complexType>
 


メソッドの概要
 Action getAction()
          Returns the instance of Action
 Environment getEnvironment()
          Returns the instance of Environment
 List getResources()
          Returns the one to many Resource elements of this object
 List getSubjects()
          Returns the one to many Subject elements of this object
 boolean isMutable()
          Checks if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setAction(Action action)
          Sets the instance of Action
 void setEnvironment(Environment env)
          Sets the instance of Environment
 void setResources(List resources)
          Sets the one to many Resource elements of this object
 void setSubjects(List subjects)
          Sets the one to many Subject elements of this object
 String toXMLString()
          Returns a string representation of this object
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation of this object
 

メソッドの詳細

getSubjects

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

戻り値:
the Subject elements of this object

setSubjects

void setSubjects(List subjects)
                 throws XACMLException
Sets the one to many Subject elements of this object

パラメータ:
subjects - the one to many Subject elements of this object
例外:
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

戻り値:
the Resource elements of this object

setResources

void setResources(List resources)
                  throws XACMLException
Sets the one to many Resource elements of this object

パラメータ:
resources - the one to many Resource elements of this object
例外:
XACMLExceptioXACMLException - 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.
XACMLException

getAction

Action getAction()
Returns the instance of Action

戻り値:
instance of Action

setAction

void setAction(Action action)
               throws XACMLException
Sets the instance of Action

パラメータ:
action - instance of Action
例外:
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

戻り値:
the instance of Environment

setEnvironment

void setEnvironment(Environment env)
                    throws XACMLException
Sets the instance of Environment

パラメータ:
env - instance of Environment
例外:
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

パラメータ:
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.
戻り値:
a string representation of this object
例外:
XACMLException - if conversion fails for any reason

toXMLString

String toXMLString()
                   throws XACMLException
Returns a string representation of this object

戻り値:
a string representation of this object
例外:
XACMLException - if conversion fails for any reason

makeImmutable

void makeImmutable()
Makes the object immutable


isMutable

boolean isMutable()
Checks if the object is mutable

戻り値:
true if the object is mutable, false otherwise