org.jboss.ejb3.security
Class RunAsSecurityInterceptorv2

java.lang.Object
  extended by 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

Constructor Summary
RunAsSecurityInterceptorv2(EJBContainer container, org.jboss.security.RunAsIdentity id)
           
 
Method Summary
 String getName()
           
protected  org.jboss.security.RunAsIdentity getRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)
           
 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
 

Constructor Detail

RunAsSecurityInterceptorv2

public RunAsSecurityInterceptorv2(EJBContainer container,
                                  org.jboss.security.RunAsIdentity id)
Method Detail

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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.