Class XACMLAuthorizingInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
-
- org.apache.cxf.rt.security.saml.xacml2.AbstractXACMLAuthorizingInterceptor
-
- org.apache.cxf.rt.security.saml.xacml2.XACMLAuthorizingInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class XACMLAuthorizingInterceptor extends AbstractXACMLAuthorizingInterceptor
An interceptor to perform an XACML 2.0 authorization request to a remote PDP using OpenSAML, 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
Constructors Constructor Description XACMLAuthorizingInterceptor(PolicyDecisionPoint pdp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opensaml.xacml.ctx.ResponseTypeperformRequest(org.opensaml.xacml.ctx.RequestType request, org.apache.cxf.message.Message message)-
Methods inherited from class org.apache.cxf.rt.security.saml.xacml2.AbstractXACMLAuthorizingInterceptor
authorize, getRequestBuilder, handleMessage, handleObligations, setRequestBuilder
-
-
-
-
Constructor Detail
-
XACMLAuthorizingInterceptor
public XACMLAuthorizingInterceptor(PolicyDecisionPoint pdp)
-
-
Method Detail
-
performRequest
protected org.opensaml.xacml.ctx.ResponseType performRequest(org.opensaml.xacml.ctx.RequestType request, org.apache.cxf.message.Message message) throws Exception- Specified by:
performRequestin classAbstractXACMLAuthorizingInterceptor- Throws:
Exception
-
-