nl: check whether servlet which uses runas with different role than in needed for secured ejb invocation can not correctly invoked that ejb method in httpservlet.destroy method during stopping server . 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 checkInitMethodWithCorrectRole 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
code: void function ( ) { assertTrue ( "srini_string" + "srini_string" , readFirstLineOfFile ( INCORRECT_ROLE_AND_STOP_SERVER ) . contains ( DESTROY_METHOD_NOT_PASS ) ) ; }