public class DefaultXACMLRequestBuilder extends Object implements XACMLRequestBuilder
| Constructor and Description |
|---|
DefaultXACMLRequestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
setAction(String action)
Set a new Action String to use
|
void |
setSendDateTime(boolean sendDateTime) |
void |
setSendFullRequestURL(boolean sendFullRequestURL)
Whether to send the full Request URL as the resource or not.
|
public org.opensaml.xacml.ctx.RequestType createRequest(Principal principal, List<String> roles, Message message) throws Exception
createRequest in interface XACMLRequestBuilderprincipal - 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 resourceExceptionpublic void setAction(String action)
public void setSendDateTime(boolean sendDateTime)
public void setSendFullRequestURL(boolean sendFullRequestURL)
Apache CXF