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)
          Return the Resource that has been inserted into the Request.
 

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

getResource

String getResource(Message message)
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