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>
-
Field Summary
Fields inherited from class org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
globalRoles, methodRolesMap, userRolesMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanauthorize(SecurityContext sc, String key) getDenyRoles(String key) 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.SimpleAuthorizingInterceptor
createMethodSig, getExpectedRoles, isUserInRole, setCheckConfiguredRolesOnly, setGlobalRoles, setMethodRolesMap, setUserRolesMapMethods inherited from class org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
authorize, getDenyRoles, isAllowAnonymousUsers, isMethodProtected, setAllowAnonymousUsersMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
OperationInfoAuthorizingInterceptor
public OperationInfoAuthorizingInterceptor()
-
-
Method Details
-
handleMessage
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 interfaceInterceptor<Message>- Overrides:
handleMessagein classAbstractAuthorizingInInterceptor
-
authorize
-
getTargetOperationInfo
-
getExpectedRoles
-
getDenyRoles
-
isMethodProtected
-