Interface XACMLRequestBuilder
- All Known Implementing Classes:
DefaultXACMLRequestBuilder
public interface XACMLRequestBuilder
This interface defines a way to create an XACML 2.0 Request using OpenSAML
-
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.xacml.ctx.RequestTypecreateRequest(Principal principal, List<String> roles, org.apache.cxf.message.Message message) Create an XACML Request given a Principal, list of roles and Message.
-
Method Details
-
createRequest
org.opensaml.xacml.ctx.RequestType createRequest(Principal principal, List<String> roles, org.apache.cxf.message.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 Requestroles- The list of roles associated with the principalmessage- The Message from which to retrieve the resource- Returns:
- An OpenSAML RequestType object
- Throws:
Exception
-