Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » [javadoc | source]
org.jboss.ejb.plugins
public class: RunAsSecurityInterceptor [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.AbstractInterceptor
      org.jboss.ejb.plugins.RunAsSecurityInterceptor

All Implemented Interfaces:
    Interceptor

An interceptor that enforces the run-as identity declared by a bean. Mainly used by MDB containers
Field Summary
protected  RunAs runAsIdentity     
protected  AuthenticationManager securityManager    The authentication manager plugin 
Fields inherited from org.jboss.ejb.plugins.AbstractInterceptor:
nextInterceptor,  log,  container
Constructor:
 public RunAsSecurityInterceptor() 
Method from org.jboss.ejb.plugins.RunAsSecurityInterceptor Summary:
invoke,   invokeHome,   setContainer,   start
Methods from org.jboss.ejb.plugins.AbstractInterceptor:
create,   destroy,   getContainer,   getNext,   invoke,   invokeHome,   isAppException,   setContainer,   setNext,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.RunAsSecurityInterceptor Detail:
 public Object invoke(Invocation mi) throws Exception 
 public Object invokeHome(Invocation mi) throws Exception 
 public  void setContainer(Container container) 
    Called by the super class to set the container to which this interceptor belongs. We obtain the security manager and runAs identity to use here.
 public  void start() throws Exception