org.jboss.ejb3.security
Class RunAsSecurityInterceptorv2
java.lang.Object
org.jboss.ejb3.security.RunAsSecurityInterceptorv2
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
public class RunAsSecurityInterceptorv2
- extends java.lang.Object
- implements org.jboss.aop.advice.Interceptor
An interceptor that enforces the run-as identity declared by a bean.
|
Method Summary |
java.lang.String |
getName()
|
protected org.jboss.security.RunAsIdentity |
getRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)
|
java.lang.Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunAsSecurityInterceptorv2
public RunAsSecurityInterceptorv2(EJBContainer container,
org.jboss.security.RunAsIdentity id)
getRunAsIdentity
protected org.jboss.security.RunAsIdentity getRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)
invoke
public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws java.lang.Throwable
- Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
- Throws:
java.lang.Throwable- See Also:
Interceptor.invoke(Invocation)
getName
public java.lang.String getName()
- Specified by:
getName in interface org.jboss.aop.advice.Interceptor
- See Also:
Interceptor.getName()