|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.phase.AbstractPhaseInterceptor<Message> org.apache.cxf.rt.security.xacml.AbstractXACMLAuthorizingInterceptor
@Deprecated public abstract class AbstractXACMLAuthorizingInterceptor
An abstract 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. This class must be subclassed to actually perform the request to the PDP.
Constructor Summary | |
---|---|
AbstractXACMLAuthorizingInterceptor()
Deprecated. |
Method Summary | |
---|---|
protected boolean |
authorize(Principal principal,
List<String> roles,
Message message)
Deprecated. Perform a (remote) authorization decision and return a boolean depending on the result |
XACMLRequestBuilder |
getRequestBuilder()
Deprecated. |
void |
handleMessage(Message message)
Deprecated. Intercepts a message. |
protected void |
handleObligations(org.opensaml.xacml.ctx.RequestType request,
Principal principal,
Message message,
org.opensaml.xacml.ctx.ResultType result)
Deprecated. Handle any Obligations returned by the PDP |
abstract org.opensaml.xacml.ctx.ResponseType |
performRequest(org.opensaml.xacml.ctx.RequestType request,
Message message)
Deprecated. |
void |
setRequestBuilder(XACMLRequestBuilder requestBuilder)
Deprecated. |
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 |
---|
public AbstractXACMLAuthorizingInterceptor()
Method Detail |
---|
public void handleMessage(Message message) throws Fault
Interceptor
Fault
public XACMLRequestBuilder getRequestBuilder()
public void setRequestBuilder(XACMLRequestBuilder requestBuilder)
protected boolean authorize(Principal principal, List<String> roles, Message message) throws Exception
Exception
public abstract org.opensaml.xacml.ctx.ResponseType performRequest(org.opensaml.xacml.ctx.RequestType request, Message message) throws Exception
Exception
protected void handleObligations(org.opensaml.xacml.ctx.RequestType request, Principal principal, Message message, org.opensaml.xacml.ctx.ResultType result) throws Exception
Exception
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |