org.apache.cxf.rt.security.xacml
Class XACMLAuthorizingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.rt.security.xacml.AbstractXACMLAuthorizingInterceptor
org.apache.cxf.rt.security.xacml.XACMLAuthorizingInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
public class XACMLAuthorizingInterceptor
- extends AbstractXACMLAuthorizingInterceptor
An interceptor to perform an XACML authorization request to a remote PDP,
and make an authorization decision based on the response. It takes the principal and roles
from the SecurityContext, and uses the XACMLRequestBuilder to construct an XACML Request
statement.
|
Method Summary |
org.opensaml.xacml.ctx.ResponseType |
performRequest(org.opensaml.xacml.ctx.RequestType request,
Message message)
|
| Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XACMLAuthorizingInterceptor
public XACMLAuthorizingInterceptor(PolicyDecisionPoint pdp)
performRequest
public org.opensaml.xacml.ctx.ResponseType performRequest(org.opensaml.xacml.ctx.RequestType request,
Message message)
throws Exception
- Specified by:
performRequest in class AbstractXACMLAuthorizingInterceptor
- Throws:
Exception
Apache CXF