Basics - SecurityPage edited by Trenton D. AdamsThis section is under construction, please check back later. Related DocumentsSecurity - login module configuration Server Side SecurityThere's a few things that should be noted about security from the server side perspective. Security PropagationNote, this is partially documented in the EJB 3 spec section 14.8.1.1.
For example, here is an EJB that returns another bean, through a remote method call. In this case, the OtherBean instance, will have the same security as MyBean, including the principal (username), roles, etc. import javax.ejb.EJB; import javax.naming.InitialContext; @EJB(name = "otherBean", beanInterface = IOtherBean.class) public class MyBean { public IOtherBean getOtherBean() { InitialContext context = new InitialContext(); return (IOtherBean) context.lookup("java:comp/env/otherBean"); } }
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
- [CONF] OpenEJB 3.0.x documentation > Basics - Security confluence
