Class SimpleAuthorizingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
- All Implemented Interfaces:
- Interceptor<Message>,- PhaseInterceptor<Message>
- Direct Known Subclasses:
- OperationInfoAuthorizingInterceptor,- SecureAnnotationsInterceptor
- 
Field SummaryFieldsModifier and TypeFieldDescription
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringcreateMethodSig(Method method) getExpectedRoles(Method method) Returns a list of expected roles for a given method.protected booleanisUserInRole(SecurityContext sc, List<String> roles, boolean deny) voidsetCheckConfiguredRolesOnly(boolean checkConfiguredRolesOnly) voidsetGlobalRoles(String roles) voidsetMethodRolesMap(Map<String, String> rolesMap) voidsetUserRolesMap(Map<String, String> rolesMap) Methods inherited from class org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptorauthorize, getDenyRoles, handleMessage, isAllowAnonymousUsers, isMethodProtected, setAllowAnonymousUsersMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
- 
Field Details- 
methodRolesMap
- 
userRolesMap
- 
globalRoles
 
- 
- 
Constructor Details- 
SimpleAuthorizingInterceptorpublic SimpleAuthorizingInterceptor()
- 
SimpleAuthorizingInterceptorpublic SimpleAuthorizingInterceptor(boolean uniqueId) 
 
- 
- 
Method Details- 
isUserInRole- Overrides:
- isUserInRolein class- AbstractAuthorizingInInterceptor
 
- 
createMethodSig
- 
getExpectedRolesDescription copied from class:AbstractAuthorizingInInterceptorReturns a list of expected roles for a given method.- Specified by:
- getExpectedRolesin class- AbstractAuthorizingInInterceptor
- Parameters:
- method- Method
- Returns:
- list, empty if no roles are available
 
- 
setMethodRolesMap
- 
setUserRolesMap
- 
setGlobalRoles
- 
setCheckConfiguredRolesOnlypublic void setCheckConfiguredRolesOnly(boolean checkConfiguredRolesOnly) 
 
-