org.apache.cxf.interceptor.security
Class OperationInfoAuthorizingInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
          extended by org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
              extended by org.apache.cxf.interceptor.security.OperationInfoAuthorizingInterceptor
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 OperationInfoAuthorizingInterceptor
extends SimpleAuthorizingInterceptor


Field Summary
 
Fields inherited from class org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
globalRoles, methodRolesMap, userRolesMap
 
Constructor Summary
OperationInfoAuthorizingInterceptor()
           
 
Method Summary
protected  boolean authorize(org.apache.cxf.security.SecurityContext sc, String key)
           
protected  List<String> getDenyRoles(String key)
           
protected  List<String> getExpectedRoles(String key)
           
protected  org.apache.cxf.service.model.OperationInfo getTargetOperationInfo(org.apache.cxf.message.Message message)
           
 void handleMessage(org.apache.cxf.message.Message message)
           
 
Methods inherited from class org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
createMethodSig, getExpectedRoles, isUserInRole, setCheckConfiguredRolesOnly, setGlobalRoles, setMethodRolesMap, setUserRolesMap
 
Methods inherited from class org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
authorize, getDenyRoles, getTargetMethod
 
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

OperationInfoAuthorizingInterceptor

public OperationInfoAuthorizingInterceptor()
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.message.Message message)
                   throws org.apache.cxf.interceptor.Fault
Specified by:
handleMessage in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
Overrides:
handleMessage in class AbstractAuthorizingInInterceptor
Throws:
org.apache.cxf.interceptor.Fault

authorize

protected boolean authorize(org.apache.cxf.security.SecurityContext sc,
                            String key)

getTargetOperationInfo

protected org.apache.cxf.service.model.OperationInfo getTargetOperationInfo(org.apache.cxf.message.Message message)

getExpectedRoles

protected List<String> getExpectedRoles(String key)

getDenyRoles

protected List<String> getDenyRoles(String key)


Apache CXF