public abstract class AbstractXACMLAuthorizingInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
| Constructor and Description |
|---|
AbstractXACMLAuthorizingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authorize(Principal principal,
List<String> roles,
org.apache.cxf.message.Message message)
Perform a (remote) authorization decision and return a boolean depending on the result
|
XACMLRequestBuilder |
getRequestBuilder() |
void |
handleMessage(org.apache.cxf.message.Message message) |
protected void |
handleObligations(org.opensaml.xacml.ctx.RequestType request,
Principal principal,
org.apache.cxf.message.Message message,
org.opensaml.xacml.ctx.ResultType result)
Handle any Obligations returned by the PDP
|
protected abstract org.opensaml.xacml.ctx.ResponseType |
performRequest(org.opensaml.xacml.ctx.RequestType request,
org.apache.cxf.message.Message message) |
void |
setRequestBuilder(XACMLRequestBuilder requestBuilder) |
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultpublic XACMLRequestBuilder getRequestBuilder()
public void setRequestBuilder(XACMLRequestBuilder requestBuilder)
protected boolean authorize(Principal principal, List<String> roles, org.apache.cxf.message.Message message) throws Exception
Exceptionprotected void handleObligations(org.opensaml.xacml.ctx.RequestType request,
Principal principal,
org.apache.cxf.message.Message message,
org.opensaml.xacml.ctx.ResultType result)
throws Exception
ExceptionApache CXF