Apache CXF API

org.apache.cxf.rt.security.claims
Class ClaimsAuthorizingInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.rt.security.claims.ClaimsAuthorizingInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class ClaimsAuthorizingInterceptor
extends AbstractPhaseInterceptor<Message>


Constructor Summary
ClaimsAuthorizingInterceptor()
           
 
Method Summary
protected  boolean authorize(SAMLSecurityContext sc, Method method)
           
protected  void findClaims(Class<?> cls)
           
protected  Method getTargetMethod(Message m)
           
 void handleMessage(Message message)
          Intercepts a message.
 void setClaims(Map<String,List<ClaimBean>> claimsMap)
           
 void setFormatAliases(Map<String,String> formatAliases)
           
 void setNameAliases(Map<String,String> nameAliases)
           
 void setSecuredObject(Object object)
           
 
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

ClaimsAuthorizingInterceptor

public ClaimsAuthorizingInterceptor()
Method Detail

handleMessage

public void handleMessage(Message message)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Throws:
Fault

setClaims

public void setClaims(Map<String,List<ClaimBean>> claimsMap)

getTargetMethod

protected Method getTargetMethod(Message m)

authorize

protected boolean authorize(SAMLSecurityContext sc,
                            Method method)

setSecuredObject

public void setSecuredObject(Object object)

findClaims

protected void findClaims(Class<?> cls)

setNameAliases

public void setNameAliases(Map<String,String> nameAliases)

setFormatAliases

public void setFormatAliases(Map<String,String> formatAliases)

Apache CXF API

Apache CXF