com.sun.identity.xacml.saml2
インタフェース XACMLAuthzDecisionQuery

すべてのスーパーインタフェース:
RequestAbstract
既知の実装クラスの一覧:
XACMLAuthzDecisionQueryImpl

public interface XACMLAuthzDecisionQuery
extends RequestAbstract

The XACMLAuthzDecisionQuery element is a SAML Query that extends SAML Protocol schema type RequestAbstractType. It allows an XACML PEP to submit an XACML Request Context in a SAML Query along with other information. This element is an alternative to SAML defined that allows an XACML PEP to communicate with an XACML PDP using SAML2 protocol.

Schema:

<xs:element name="XACMLAuthzDecisionQuery"
         type="XACMLAuthzDecisionQueryType"/>
<xs:complexType name="XACMLAuthzDecisionQueryType">
  <xs:complexContent>
    <xs:extension base="samlp:RequestAbstractType">
      <xs:sequence>
        <xs:element ref="xacml-context:Request"/>
      <xs:sequence>
      <xs:attribute name="InputContextOnly"
                    type="boolean"
                    use="optional"
                    default="false"/>
      <xs:attribute name="ReturnContext"
                    type="boolean"
                    use="optional"
                    default="false"/>
    <xs:extension>
  <xs:complexContent>
<xs:complexType>
 
Schema for base:
  <complexType name="RequestAbstractType" abstract="true">
      <sequence>
          <element ref="saml:Issuer" minOccurs="0"/>
          <element ref="ds:Signature" minOccurs="0"/>
          <element ref="samlp:Extensions" minOccurs="0"/>
      <sequence>
      <attribute name="ID" type="ID" use="required"/>
      <attribute name="Version" type="string" use="required"/>
      <attribute name="IssueInstant" type="dateTime" use="required"/>
      <attribute name="Destination" type="anyURI" use="optional"/>
        <attribute name="Consent" type="anyURI" use="optional"/>
  <complexType>
 


メソッドの概要
 boolean getInputContextOnly()
          Returns the XML attribute boolean value which governs the source of information that the PDP is allowed to use in making an authorization decision.
 Request getRequest()
          Returns the xacml-context:Request element of this object
 boolean getReturnContext()
          Returns the XML attribute boolean value which provides means to PEP to request that an xacml-context>Request element be included in the XACMlAuthzdecisionStatement resulting from the request.
 boolean isMutable()
          Checks if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setInputContextOnly(boolean inputContextOnly)
          Sets the XML attribute boolean value which governs the source of information that the PDP is allowed to use in making an authorization decision.
 void setRequest(Request request)
          Sets the xacml-context:Request element of this object
 void setReturnContext(boolean returnContext)
          Sets the boolean value for this XML attribute
 String toXMLString()
          Returns a string representation of this object
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation of this object
 
インタフェース com.sun.identity.saml2.protocol.RequestAbstract から継承されたメソッド
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSignatureValid, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign
 

メソッドの詳細

getInputContextOnly

boolean getInputContextOnly()
Returns the XML attribute boolean value which governs the source of information that the PDP is allowed to use in making an authorization decision. If this attribute is "true" then it indiactes that the authorization decision has been made solely on the basis of information contained in the XACMLAuthzDecisionQuery; no external attributes have been used. If this value is "false" then the decision may have been made on the basis of external attributes not conatined in the XACMLAuthzDecisionQuery.

戻り値:
boolean indicating the value of this attribute.

setInputContextOnly

void setInputContextOnly(boolean inputContextOnly)
                         throws XACMLException
Sets the XML attribute boolean value which governs the source of information that the PDP is allowed to use in making an authorization decision. If this attribute is "true" then it indicates to the PDP that the authorization decision has to be made solely on the basis of information contained in the XACMLAuthzDecisionQuery; no external attributes may be used. If this value is "false" then the decision can be made on the basis of external attributes not conatined in the XACMlAuthzDecisionQuery.

パラメータ:
inputContextOnly - boolean indicating the value of this attribute.
例外:
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.

getReturnContext

boolean getReturnContext()
Returns the XML attribute boolean value which provides means to PEP to request that an xacml-context>Request element be included in the XACMlAuthzdecisionStatement resulting from the request. It also governs the contents of that element. If this attribite is "true" then the PDP SHALL include the xacml-context:Request element in the XACMLAuthzDecisionStatement element in the XACMLResponse. The xacml-context:Request SHALL include all the attributes supplied by the PEP in the AuthzDecisionQuery which were used in making the authz decision. Other addtional attributes which may have been used by the PDP may be included. If this attribute is "false" then the PDP SHALL NOT include the xacml-context:Request element in the XACMLAuthzDecisionStatement.

戻り値:
boolean indicating the value of this attribute.

setReturnContext

void setReturnContext(boolean returnContext)
                      throws XACMLException
Sets the boolean value for this XML attribute

パラメータ:
returnContext - boolean indicating the value of this attribute.
例外:
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
関連項目:
XACMLAuthzDecisionQuery.getReturnContext()

getRequest

Request getRequest()
Returns the xacml-context:Request element of this object

戻り値:
the xacml-context:Request elements of this object

setRequest

void setRequest(Request request)
                throws XACMLException
Sets the xacml-context:Request element of this object

パラメータ:
request - the xacml-context:Request element 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.

toXMLString

String toXMLString(boolean includeNSPrefix,
                   boolean declareNS)
                   throws XACMLException
Returns a String representation of this object

定義:
インタフェース RequestAbstract 内の toXMLString
パラメータ:
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

定義:
インタフェース RequestAbstract 内の toXMLString
戻り値:
a string representation of this object
例外:
XACMLException - if conversion fails for any reason

makeImmutable

void makeImmutable()
Makes the object immutable

定義:
インタフェース RequestAbstract 内の makeImmutable

isMutable

boolean isMutable()
Checks if the object is mutable

定義:
インタフェース RequestAbstract 内の isMutable
戻り値:
true if the object is mutable, false otherwise