org.jboss.resteasy.plugins.interceptors
Class SecurityInterceptor
java.lang.Object
org.jboss.resteasy.plugins.interceptors.SecurityInterceptor
- All Implemented Interfaces:
- AcceptedByMethod, PreProcessInterceptor
public class SecurityInterceptor
- extends java.lang.Object
- implements PreProcessInterceptor, AcceptedByMethod
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rolesAllowed
protected java.lang.String[] rolesAllowed
denyAll
protected boolean denyAll
SecurityInterceptor
public SecurityInterceptor()
accept
public boolean accept(java.lang.Class declaring,
java.lang.reflect.Method method)
- Specified by:
accept
in interface AcceptedByMethod
preProcess
public ServerResponse preProcess(HttpRequest request,
ResourceMethod method)
throws Failure,
WebApplicationException
- Description copied from interface:
PreProcessInterceptor
- Preprocess resource method invocation
- Specified by:
preProcess
in interface PreProcessInterceptor
- Returns:
- null unless the interceptor is returning its own response
- Throws:
Failure
WebApplicationException
Copyright © 2010. All Rights Reserved.