JBoss API: Interface SecurityProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface describing the requirements for a SecurityInterceptor proxy. A SecurityProxy allows for the externalization of custom security checks on a per-method basis for both the EJB home and remote interface methods. Custom security checks are those that cannot be described using the standard EJB deployment time declarative role based security.
Method Summary | |
void |
init(java.lang.Class beanHome,
java.lang.Class beanRemote,
java.lang.Object securityMgr)
|
void |
invoke(java.lang.reflect.Method m,
java.lang.Object[] args,
java.lang.Object bean)
Called to allow the security proxy to perform any custom security checks required for the EJB remote interface method. |
void |
invokeHome(java.lang.reflect.Method m,
java.lang.Object[] args)
Called to allow the security proxy to perform any custom security checks required for the EJB home interface method. |
void |
setEJBContext(javax.ejb.EJBContext ctx)
Called prior to any method invocation to set the current EJB context. |
Method Detail |
public void init(java.lang.Class beanHome, java.lang.Class beanRemote, java.lang.Object securityMgr) throws java.lang.InstantiationException
public void setEJBContext(javax.ejb.EJBContext ctx)
public void invokeHome(java.lang.reflect.Method m, java.lang.Object[] args) throws java.lang.SecurityException
m,
- the EJB home interface method? Or is this the EJB bean impl method?public void invoke(java.lang.reflect.Method m, java.lang.Object[] args, java.lang.Object bean) throws java.lang.SecurityException
m,
- the EJB remote interface method? Or is this the EJB bean impl method?bean,
- the EJB implementation class instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |