check whether servlet which uses runas with correct role needed for secured ejb invocation can correctly invoked that ejb method in httpservlet.init method . concode_field_sep String DEPLOYMENT concode_elem_sep String incorrectRoleResult concode_elem_sep File CORRECT_ROLE_AND_UNDEPLOY concode_elem_sep String correctRoleResult concode_elem_sep File WORK_DIR concode_elem_sep ManagementClient managementClient concode_elem_sep Deployer deployer concode_elem_sep File INCORRECT_ROLE_AND_STOP_SERVER concode_elem_sep File INCORRECT_ROLE_AND_UNDEPLOY concode_elem_sep File CORRECT_ROLE_AND_STOP_SERVER concode_field_sep void checkDoGetMethodWithCorrectRole concode_elem_sep void runDestroyMethodInUndeploying concode_elem_sep void checkDoGetMethodWithIncorrectRole concode_elem_sep void checkDestroyInUndeployingMethodWithIncorrectRole concode_elem_sep String readFirstLineOfFile concode_elem_sep void checkDestroyMethodInStopServerWithCorrectRole concode_elem_sep void checkInitMethodWithIncorrectRole concode_elem_sep void checkDestroyMethodInStopServerWithIncorrectRole concode_elem_sep void checkDestroyInUndeployingMethodWithCorrectRole concode_elem_sep void runServletWithCorrectRole concode_elem_sep void finish concode_elem_sep void initialize concode_elem_sep void runServletWithIncorrectRole concode_elem_sep void runDestroyMethodInStopServer concode_elem_sep WebArchive deployment
void function ( ) { assertTrue ( "srini_string" , correctRoleResult . contains ( INIT_METHOD_PASS + HelloBean . HELLO ) ) ; }