Apache CXF API

org.apache.cxf.rt.security.xacml
Class XACMLAuthorizingInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.rt.security.xacml.AbstractXACMLAuthorizingInterceptor
          extended by 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.


Constructor Summary
XACMLAuthorizingInterceptor(PolicyDecisionPoint pdp)
           
 
Method Summary
 org.opensaml.xacml.ctx.ResponseType performRequest(org.opensaml.xacml.ctx.RequestType request, Message message)
           
 
Methods inherited from class org.apache.cxf.rt.security.xacml.AbstractXACMLAuthorizingInterceptor
authorize, getRequestBuilder, handleMessage, handleObligations, setRequestBuilder
 
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
 

Constructor Detail

XACMLAuthorizingInterceptor

public XACMLAuthorizingInterceptor(PolicyDecisionPoint pdp)
Method Detail

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 API

Apache CXF