com.sun.identity.xacml.saml2
Interface XACMLAuthzDecisionStatement

All Superinterfaces:
Statement

public interface XACMLAuthzDecisionStatement
extends Statement

XACMLAuthzDecisionStatement is an extension of samlp:StatementAbstractType that is carried in a SAML Assertion to convey xacml-context:Response Schema:

 <xs:element name="XACMLAuthzDecisionStatement"
          type="xacml-saml:XACMLAuthzDecisionStatementType"/>
 <xs:complexType name="XACMLAuthzDecisionStatementType">
   <xs:complexContent>
     <xs:extension base="saml:StatementAbstractType">
      <xs:sequence>
        <xs:element ref="xacml-context:Response"/>
        <xs:element ref="xacml-context:Request"  minOccurs="0"/>
      <xs:sequence>
    <xs:extension>
  <xs:complexContent>
 <xs:complexType>
 
 

Schema for Base: Schema for the base type is

 <complexType name="StatementAbstractType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 Request getRequest()
          Returns Request element of this object
 Response getResponse()
          Returns Response element of this object
 boolean isMutable()
          Returns the mutability of the object.
 void makeImmutable()
          Makes the object immutable.
 void setRequest(Request request)
          Sets Request element of this object
 void setResponse(Response response)
          Sets Response element of this object
 String toXMLString()
          Returns a String representation of the element.
 String toXMLString(boolean includeNS, boolean declareNS)
          Returns a String representation of the element.
 

Method Detail

getResponse

Response getResponse()
Returns Response element of this object

Returns:
the Response element of this object

setResponse

void setResponse(Response response)
                 throws XACMLException
Sets Response element of this object

Parameters:
response - XACML context Response element to be set in this object
Throws:
XACMLException - if the object is immutable

getRequest

Request getRequest()
                   throws XACMLException
Returns Request element of this object

Returns:
the Request element of this object
Throws:
XACMLException

setRequest

void setRequest(Request request)
                throws XACMLException
Sets Request element of this object

Parameters:
request - XACML context Request element to be set in this object
Throws:
XACMLException - if the object is immutable

makeImmutable

void makeImmutable()
Makes the object immutable.

Specified by:
makeImmutable in interface Statement

isMutable

boolean isMutable()
Returns the mutability of the object.

Specified by:
isMutable in interface Statement
Returns:
true if the object is mutable; false otherwise.

toXMLString

String toXMLString()
                   throws XACMLException
Returns a String representation of the element.

Specified by:
toXMLString in interface Statement
Returns:
A string containing the valid XML for this element. By default name space name is prepended to the element name.
Throws:
XACMLException - if the object does not conform to the schema.

toXMLString

String toXMLString(boolean includeNS,
                   boolean declareNS)
                   throws XACMLException
Returns a String representation of the element.

Specified by:
toXMLString in interface Statement
Parameters:
includeNS - 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 containing the valid XML for this element
Throws:
XACMLException - if the object does not conform to the schema.