|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.AbstractInterceptor
org.jboss.ejb.plugins.SecurityProxyInterceptor
public class SecurityProxyInterceptor
The SecurityProxyInterceptor is where the EJB custom security proxy integration is performed. This interceptor is dynamically added to container interceptors when the deployment descriptors specifies a security proxy. It is added just before the container interceptor so that the interceptor has access to the EJB instance and context.
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
Instance logger. |
String |
SECURITY_PROXY_FACTORY_NAME
The JNDI name of the SecurityProxyFactory used to wrap security proxy objects that do not implement the SecurityProxy interface |
protected AuthenticationManager |
securityManager
|
protected SecurityProxy |
securityProxy
|
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
---|
container, nextInterceptor |
Constructor Summary | |
---|---|
SecurityProxyInterceptor()
|
Method Summary | |
---|---|
Object |
invoke(Invocation mi)
??? |
Object |
invokeHome(Invocation 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 |
---|
create, destroy, getContainer, getNext, setNext, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final String SECURITY_PROXY_FACTORY_NAME
protected org.jboss.logging.Logger log
protected AuthenticationManager securityManager
protected SecurityProxy securityProxy
Constructor Detail |
---|
public SecurityProxyInterceptor()
Method Detail |
---|
public void setContainer(Container container)
ContainerPlugin
setContainer
in interface ContainerPlugin
setContainer
in class AbstractInterceptor
container
- The container using this plugin. This may be null if the
plugin is being disassociated from a container.public void start() throws Exception
start
in interface org.jboss.system.Service
start
in class AbstractInterceptor
Exception
public Object invokeHome(Invocation mi) throws Exception
Interceptor
invokeHome
in interface Interceptor
invokeHome
in class AbstractInterceptor
mi
- ???
Exception
- ???public Object invoke(Invocation mi) throws Exception
Interceptor
invoke
in interface Interceptor
invoke
in class AbstractInterceptor
mi
- ???
Exception
- ???
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |