public abstract class AbstractAuthorizingInInterceptor extends AbstractPhaseInterceptor<Message>
| Constructor and Description |
|---|
AbstractAuthorizingInInterceptor() |
AbstractAuthorizingInInterceptor(boolean uniqueId) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authorize(SecurityContext sc,
java.lang.reflect.Method method) |
protected java.util.List<java.lang.String> |
getDenyRoles(java.lang.reflect.Method method)
Returns a list of roles to be denied for a given method.
|
protected abstract java.util.List<java.lang.String> |
getExpectedRoles(java.lang.reflect.Method method)
Returns a list of expected roles for a given method.
|
protected java.lang.reflect.Method |
getTargetMethod(Message m) |
void |
handleMessage(Message message)
Intercepts a message.
|
boolean |
isAllowAnonymousUsers() |
protected boolean |
isMethodProtected(java.lang.reflect.Method method) |
protected boolean |
isUserInRole(SecurityContext sc,
java.util.List<java.lang.String> roles,
boolean deny) |
void |
setAllowAnonymousUsers(boolean allowAnonymousUsers) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforepublic AbstractAuthorizingInInterceptor()
public AbstractAuthorizingInInterceptor(boolean uniqueId)
public void handleMessage(Message message) throws Fault
InterceptorFaultprotected java.lang.reflect.Method getTargetMethod(Message m)
protected boolean authorize(SecurityContext sc, java.lang.reflect.Method method)
protected boolean isMethodProtected(java.lang.reflect.Method method)
protected boolean isUserInRole(SecurityContext sc, java.util.List<java.lang.String> roles, boolean deny)
protected abstract java.util.List<java.lang.String> getExpectedRoles(java.lang.reflect.Method method)
method - Methodprotected java.util.List<java.lang.String> getDenyRoles(java.lang.reflect.Method method)
method - Methodpublic boolean isAllowAnonymousUsers()
public void setAllowAnonymousUsers(boolean allowAnonymousUsers)