public class SecurityInterceptor extends Object implements PreProcessInterceptor, AcceptedByMethod
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
denyAll |
protected boolean |
permitAll |
protected String[] |
rolesAllowed |
| Constructor and Description |
|---|
SecurityInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class declaring,
Method method) |
ServerResponse |
preProcess(HttpRequest request,
ResourceMethod method)
Preprocess resource method invocation
|
protected String[] rolesAllowed
protected boolean denyAll
protected boolean permitAll
public boolean accept(Class declaring, Method method)
accept in interface AcceptedByMethodpublic ServerResponse preProcess(HttpRequest request, ResourceMethod method) throws Failure, WebApplicationException
PreProcessInterceptorpreProcess in interface PreProcessInterceptorFailureWebApplicationExceptionCopyright © 2014. All Rights Reserved.