|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor
org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor
public class SimpleAuthorizingInterceptor
| Constructor Summary | |
|---|---|
SimpleAuthorizingInterceptor()
|
|
| Method Summary | |
|---|---|
protected List<String> |
getExpectedRoles(Method method)
Returns a list of expected roles for a given method. |
protected boolean |
isUserInRole(org.apache.cxf.security.SecurityContext sc,
List<String> roles,
boolean deny)
|
void |
setGlobalRoles(String roles)
|
void |
setMethodRolesMap(Map<String,String> rolesMap)
|
void |
setUserRolesMap(Map<String,String> rolesMap)
|
| Methods inherited from class org.apache.cxf.interceptor.security.AbstractAuthorizingInInterceptor |
|---|
authorize, getDenyRoles, getTargetMethod, handleMessage |
| 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 |
|---|
public SimpleAuthorizingInterceptor()
| Method Detail |
|---|
protected boolean isUserInRole(org.apache.cxf.security.SecurityContext sc,
List<String> roles,
boolean deny)
isUserInRole in class AbstractAuthorizingInInterceptorprotected List<String> getExpectedRoles(Method method)
AbstractAuthorizingInInterceptor
getExpectedRoles in class AbstractAuthorizingInInterceptormethod - Method
public void setMethodRolesMap(Map<String,String> rolesMap)
public void setUserRolesMap(Map<String,String> rolesMap)
public void setGlobalRoles(String roles)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||