org.jboss.ejb.plugins
Class SecurityInterceptor

java.lang.Object
  |
  +--org.jboss.ejb.plugins.AbstractInterceptor
        |
        +--org.jboss.ejb.plugins.SecurityInterceptor
All Implemented Interfaces:
ContainerPlugin, Interceptor, Service

public class SecurityInterceptor
extends AbstractInterceptor

Version:
$Revision: 1.6 $
Author:
Rickard Öberg (rickard.oberg@telkel.com), Daniel O'Connor.
See Also:

Field Summary
protected  Container container
           
protected  RealmMapping realmMapping
           
protected  EJBSecurityManager securityManager
           
 
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor
nextInterceptor
 
Constructor Summary
SecurityInterceptor()
           
 
Method Summary
 Container getContainer()
           
 java.lang.Object invoke(MethodInvocation mi)
          This method does invocation interpositioning of tx and security, retrieves the instance from an object table, and invokes the method on the particular instance
 java.lang.Object invokeHome(MethodInvocation mi)
           
 void setContainer(Container container)
          This callback is set by the container so that the plugin may access it
 void start()
           
 
Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor
destroy, getNext, init, setNext, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected Container container

securityManager

protected EJBSecurityManager securityManager

realmMapping

protected RealmMapping realmMapping
Constructor Detail

SecurityInterceptor

public SecurityInterceptor()
Method Detail

setContainer

public void setContainer(Container container)
Description copied from interface: ContainerPlugin
This callback is set by the container so that the plugin may access it
Overrides:
setContainer in class AbstractInterceptor
Following copied from interface: org.jboss.ejb.ContainerPlugin
Parameters:
con - the container using this plugin

getContainer

public Container getContainer()
Overrides:
getContainer in class AbstractInterceptor

start

public void start()
           throws java.lang.Exception
Overrides:
start in class AbstractInterceptor

invokeHome

public java.lang.Object invokeHome(MethodInvocation mi)
                            throws java.lang.Exception
Overrides:
invokeHome in class AbstractInterceptor

invoke

public java.lang.Object invoke(MethodInvocation mi)
                        throws java.lang.Exception
This method does invocation interpositioning of tx and security, retrieves the instance from an object table, and invokes the method on the particular instance
Overrides:
invoke in class AbstractInterceptor
Parameters:
id -  
m -  
args -  
Returns:
 
Throws:
java.lang.Exception -  


Copyright © 2000 The jBoss Organization. All Rights Reserved.