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 Object
- implements org.jboss.aop.advice.Interceptor
An interceptor that enforces the run-as identity declared by a bean.
- Version:
- $Revision: 61914 $
- Author:
- Bill Burke., Anil.Saldhana@redhat.com
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 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Specified by:
invoke
in interface org.jboss.aop.advice.Interceptor
- Throws:
Throwable
- See Also:
Interceptor.invoke(Invocation)
getName
public String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.Interceptor
- See Also:
Interceptor.getName()
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.