Package com.sun.identity.xacml.saml2
Interface XACMLAuthzDecisionStatement
-
- All Superinterfaces:
Statement
- All Known Implementing Classes:
XACMLAuthzDecisionStatementImpl
public interface XACMLAuthzDecisionStatement extends Statement
XACMLAuthzDecisionStatementis an extension ofsamlp:StatementAbstractTypethat is carried in a SAML Assertion to conveyxacml-context:ResponseSchema:<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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestgetRequest()ReturnsRequestelement of this objectResponsegetResponse()ReturnsResponseelement of this objectbooleanisMutable()Returns the mutability of the object.voidmakeImmutable()Makes the object immutable.voidsetRequest(Request request)SetsRequestelement of this objectvoidsetResponse(Response response)SetsResponseelement of this objectStringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.
-
-
-
Method Detail
-
getResponse
Response getResponse()
ReturnsResponseelement of this object- Returns:
- the
Responseelement of this object
-
setResponse
void setResponse(Response response) throws XACMLException
SetsResponseelement of this object- Parameters:
response- XACML contextResponseelement to be set in this object- Throws:
XACMLException- if the object is immutable
-
getRequest
Request getRequest() throws XACMLException
ReturnsRequestelement of this object- Returns:
- the
Requestelement of this object - Throws:
XACMLException
-
setRequest
void setRequest(Request request) throws XACMLException
SetsRequestelement of this object- Parameters:
request- XACML contextRequestelement to be set in this object- Throws:
XACMLException- if the object is immutable
-
makeImmutable
void makeImmutable()
Makes the object immutable.- Specified by:
makeImmutablein interfaceStatement
-
isMutable
boolean isMutable()
Returns the mutability of the object.
-
toXMLString
String toXMLString() throws XACMLException
Returns a String representation of the element.- Specified by:
toXMLStringin interfaceStatement- 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:
toXMLStringin interfaceStatement- Parameters:
includeNS- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- 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.
-
-