Package org.jboss.test.security.ejb

Class Summary
CalleeBean (src) A simple session bean that is called by the CallerBean to test run-as identity and role propagation.
CallerBean (src) A simple session bean that calls the CalleeBean
Cmp2Bean (src) A CMP2 entity bean used to test Principal propagation using the echo method.
CustomPrincipalBean (src) Test return of a custom principal from getCallerPrincipal.
CustomPrincipalImpl (src) A custom Principal implementation.
CustomPrincipalLoginModule (src) Test of installing a custom principal via a login module.
EntityBeanImpl (src) A BMP entity bean that creates beans on the fly with a key equal to that passed to findByPrimaryKey.
IOStatefulSessionBean (src) A simple session bean for testing custom security.
IOStatelessSessionBean (src) A simple session bean for testing custom security.
RunAsMDB (src) An MDB that takes the string from the msg passed to onMessage and invokes the echo(String) method on an internal Entity using the InternalRole assigned in the MDB descriptor run-as element.
RunAsPropagationMDB (src) An MDB that takes the string from the msg passed to onMessage and invokes the echo(String) method on an internal Entity using the InternalRole assigned in the MDB descriptor run-as element.
RunAsWithRolesMDB (src) An MDB that invokes several methods on the ProjRepository session bean, each of which require a seperate role to test the assignement of multiple roles to the run-as identity.
SecurityContextBean (src)  
StatefulSessionBean (src) A simple session bean for testing declarative security.
StatelessSessionBean (src) A simple session bean for testing declarative security.
StatelessSessionBean2 (src) A SessionBean that access the Entity bean to test Principal identity propagation.
StatelessSessionBean3 (src) A SessionBean that accesses an Entity bean in its echo() method to test runAs identity propagation.
StatelessSessionBean4 (src) A simple session bean for testing declarative security and the use of getCallerPrincipal in ejbCreate
SubjectSessionBean (src) A session facade that tests that the security context reflected by the SecurityAssociation.getSubject and PolicyContext.
UncheckedSessionBean (src) A simple session bean for testing unchecked declarative security.
UsersRoles2LoginModule (src)