tree: 2160f9c4e578184f45cc59ce1d6d3b69fdf589e7 [path history] [tgz]
  1. app-bundled-ham-basic-login-config-form/
  2. app-caller-principal/
  3. app-custom/
  4. app-custom-identity-store-handler/
  5. app-custom-rememberme/
  6. app-custom-session/
  7. app-db/
  8. app-double-ham/
  9. app-ham-ordering/
  10. app-mem-basic/
  11. app-mem-form/
  12. app-multiple-store/
  13. app-multiple-store-backup/
  14. app-no-application-caller-principal/
  15. app-no-role-mapping/
  16. app-securitycontext-auth/
  17. app-securitycontext-auth-ejb/
  18. common/
  19. build.properties
  20. build.xml
  21. pom.xml
  22. README.md
appserver/tests/appserv-tests/devtests/security/soteria/README.md

This is integration devtests for JSR 375 RI(soteria). The sample apps are taken from Soteria repository. Follow the below instructions to run the tests.

  1. set APS_HOME to appserv-tests dir.
  2. set M2_HOME to maven Home.
  3. set S1AS_HOME to glassfish installation. The S1AS_HOME should contain glassfish directory.
  4. $S1AS_HOME/bin/asadmin start-domain
  5. Run mvn clean verify
  6. $S1AS_HOME/bin/asadmin stop-domain

Known Issue: 1.Aruillian gf container:

Jun 05, 2017 3:50:22 PM org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientUtil getResponseMap SEVERE: exit_code: FAILURE, message: An error occurred while processing the request. Please see the server logs for details. [status: SERVER_ERROR reason: Service Unavailable] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.173 s <<< FAILURE! - in org.glassfish.soteria.test.AppMemBasicIT [ERROR] org.glassfish.soteria.test.AppMemBasicIT Time elapsed: 6.165 s <<< ERROR! com.sun.jersey.api.container.ContainerException: exit_code: FAILURE, message: An error occurred while processing the request. Please see the server logs for details. [status: SERVER_ERROR reason: Service Unavailable]

Jun 05, 2017 3:50:22 PM org.jboss.arquillian.container.glassfish.managed_3_1.GlassFishServerControl$1 run WARNING: Forcing container shutdown Stopping container using command: [java, -jar, /media/sameerpandit/WLS/javaEE/tt/glassfish7/glassfish/../glassfish/modules/admin-cli.jar, stop-domain, -t]

Resolve this by running the test with a fresh $S1AS_HOME.