|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.skife.intercept.interceptors.security.SecurityInterceptor
Interceptor which tests security constraints specified in a SecurityBroker
and provides the Actor to the object being intercepted if it provides a
setActor(Actor) method.
| Constructor Summary | |
SecurityInterceptor()
Uses a default SecurityBroker set to allow all calls |
|
SecurityInterceptor(org.skife.intercept.interceptors.security.SecurityBroker broker)
Create a new AccessInterceptor |
|
| Method Summary | |
java.lang.Object |
intercept(java.lang.Object base,
java.lang.reflect.Method method,
java.lang.Object[] args,
org.skife.intercept.InterceptorStack stack)
Do the work |
void |
setSecurityBroker(org.skife.intercept.interceptors.security.SecurityBroker broker)
Specify the security broker to use |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecurityInterceptor(org.skife.intercept.interceptors.security.SecurityBroker broker)
public SecurityInterceptor()
| Method Detail |
public void setSecurityBroker(org.skife.intercept.interceptors.security.SecurityBroker broker)
public java.lang.Object intercept(java.lang.Object base,
java.lang.reflect.Method method,
java.lang.Object[] args,
org.skife.intercept.InterceptorStack stack)
throws java.lang.Throwable
intercept in interface Interceptorbase - A reference to the base object being interceptedmethod - A reference to the Method being interceptedargs - The invocation argumentsstack - The InterceptorStack
AccessError - if the invocation is blocked for security reasons
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||