Apache CXF API

org.apache.cxf.rt.security.xacml
Interface XACMLRequestBuilder

All Known Implementing Classes:
DefaultXACMLRequestBuilder

public interface XACMLRequestBuilder

This interface defines a way to create an XACML Request.


Method Summary
 org.opensaml.xacml.ctx.RequestType createRequest(Principal principal, List<String> roles, Message message)
          Create an XACML Request given a Principal, list of roles and Message.
 String getResource(Message message)
          Deprecated. 
 List<String> getResources(Message message)
          Deprecated. 
 

Method Detail

createRequest

org.opensaml.xacml.ctx.RequestType createRequest(Principal principal,
                                                 List<String> roles,
                                                 Message message)
                                                 throws Exception
Create an XACML Request given a Principal, list of roles and Message.

Parameters:
principal - The principal to insert into the Subject of the Request
roles - The list of roles associated with the principal
message - The Message from which to retrieve the resource
Returns:
An OpenSAML RequestType object
Throws:
Exception

getResources

@Deprecated
List<String> getResources(Message message)
Deprecated. 

Return the list of Resources that have been inserted into the Request.

Parameters:
message - The Message from which to retrieve the resource
Returns:
the list of Resources that have been inserted into the Request

getResource

@Deprecated
String getResource(Message message)
Deprecated. 

Return the Resource that has been inserted into the Request.

Parameters:
message - The Message from which to retrieve the resource
Returns:
the Resource that has been inserted into the Request

Apache CXF API

Apache CXF