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

All Implemented Interfaces:
    Interceptor

The SecurityInterceptor is where the EJB 2.0 declarative security model is enforced. This is where the caller identity propagation is controlled as well.
Nested Class Summary:
public interface  SecurityInterceptor.AuthenticationObserver  The interface of an observer that should be notified when principal authentication fails. 
Field Summary
protected  AuthenticationManager securityManager    The authentication manager plugin 
protected  RealmMapping realmMapping    The authorization manager plugin 
protected  RunAs runAsIdentity     
protected  Map securityRoles     
protected  Map deploymentRoles     
protected  SecurityInterceptor.AuthenticationObserver authenticationObserver     
protected  Method ejbTimeout    The TimedObject.ejbTimeout callback 
protected  String ejbName     
protected  CodeSource ejbCS     
protected  String appSecurityDomain    Security Domain configured as part of the application 
protected  String defaultAuthorizationSecurityDomain     
protected  boolean isUseCallerIdentity    Specify whether is configured, mainly for the use case of caller identity coming with run-as 
protected  ISecurityManagement securityManagement    Represents the holder of the various security managers configured at the container level 
Fields inherited from org.jboss.ejb.plugins.AbstractInterceptor:
nextInterceptor,  log,  container
Method from org.jboss.ejb.plugins.SecurityInterceptor 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.SecurityInterceptor 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