public abstract class AbstractAuthorizingInInterceptor extends AbstractPhaseInterceptor<Message>
Constructor and Description |
---|
AbstractAuthorizingInInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
authorize(SecurityContext sc,
Method method) |
protected List<String> |
getDenyRoles(Method method)
Returns a list of roles to be denied for a given method.
|
protected abstract List<String> |
getExpectedRoles(Method method)
Returns a list of expected roles for a given method.
|
protected Method |
getTargetMethod(Message m) |
void |
handleMessage(Message message)
Intercepts a message.
|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public void handleMessage(Message message) throws Fault
Interceptor
Fault
protected boolean authorize(SecurityContext sc, Method method)
protected abstract List<String> getExpectedRoles(Method method)
method
- MethodApache CXF