Class OperationInfoAuthorizingInterceptor
- java.lang.Object
- 
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
- 
- org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
- 
- org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
- 
- org.apache.cxf.interceptor.security.OperationInfoAuthorizingInterceptor
 
 
 
 
- 
- All Implemented Interfaces:
- Interceptor<Message>,- PhaseInterceptor<Message>
 
 public class OperationInfoAuthorizingInterceptor extends SimpleAuthorizingInterceptor 
- 
- 
Field Summary- 
Fields inherited from class org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptorglobalRoles, methodRolesMap, userRolesMap
 
- 
 - 
Constructor SummaryConstructors Constructor Description OperationInfoAuthorizingInterceptor()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanauthorize(SecurityContext sc, String key)protected List<String>getDenyRoles(String key)protected List<String>getExpectedRoles(String key)protected OperationInfogetTargetOperationInfo(Message message)voidhandleMessage(Message message)Intercepts a message.protected booleanisMethodProtected(String key)- 
Methods inherited from class org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptorcreateMethodSig, getExpectedRoles, isUserInRole, setCheckConfiguredRolesOnly, setGlobalRoles, setMethodRolesMap, setUserRolesMap
 - 
Methods inherited from class org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptorauthorize, getDenyRoles, isAllowAnonymousUsers, isMethodProtected, setAllowAnonymousUsers
 - 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
- 
 
- 
- 
- 
Method Detail- 
handleMessagepublic void handleMessage(Message message) Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Specified by:
- handleMessagein interface- Interceptor<Message>
- Overrides:
- handleMessagein class- AbstractAuthorizingInInterceptor
 
 - 
authorizeprotected boolean authorize(SecurityContext sc, String key) 
 - 
getTargetOperationInfoprotected OperationInfo getTargetOperationInfo(Message message) 
 - 
isMethodProtectedprotected boolean isMethodProtected(String key) 
 
- 
 
-