|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.security.interceptors.AccessInterceptor
public class AccessInterceptor
This interceptor checks that the role is allowed to call the given method.
Constructor Summary | |
---|---|
AccessInterceptor()
|
Method Summary | |
---|---|
java.lang.Object |
intercept(EasyBeansInvocationContext invocationContext)
Grant access to the given method by checking roles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessInterceptor()
Method Detail |
---|
public java.lang.Object intercept(EasyBeansInvocationContext invocationContext) throws java.lang.Exception
intercept
in interface EasyBeansInterceptor
invocationContext
- context with useful attributes on the current
invocation
java.lang.Exception
- if interceptor fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |