JBoss Servlet Container Integration Tests
Servlet Tests
- Try the DebugServlet
A debugging servlet that dumps out its request thread ClassLoaders
and the JNDI InitialContext environment.
- Try APIServlet.testGetRealPath
A servlet that tests usage of various servlet API calls that can be
affected by the web container integration layer.
- Try APIServlet.testSessionListener
A servlet that tests usage of various servlet API calls that can be
affected by the web container integration layer.
- Try the ClasspathServlet
A servlet that tests access to items located in the war
classpath during its initialization.
- Try the ENCServlet
A test of the servlet container integration into the JNDI namespace. This
servlet accesses the java:comp/env namespace for JDBC javax.sql.DataSources,
JMS QueueConnectionFactory, EJBs, env variables, etc.
- Try the EJBServlet
A test of the ability to access EJBs from a servlet using the
ejb-ref tag in web.xml and jboss-web.xml.
- Try the testServletInJar
A test of the ability to access a servlet loaded from a WEB-INF/lib jar.
- Try the EntityServlet
A test of the ability to access entity EJBs from a servlet using the
ejb-ref tag in web.xml and jboss-web.xml.
- Try the UserTransactionServlet
A test of the ability to explicitly control transactions from a servlet.
Speed Tests
JSP Tests
- Try snoop.jsp test #1
A basic test of a JSP page accessed using the jsp page uri.
- Try snoop.jsp test #2
A basic test of a JSP page accessed via a *.snp pattern mapping.
- Try snoop.jsp test #3
A basic test of a JSP page accessed via a /test-jsp-mapping mapping.
- Try classpath.jsp
A JSP page that access the org.jboss.test.web.util.Util class from the
WEB-INF/lib/util.jar to dump its class loaders and display the JNDI ENC.
- Try include_ejb.jsp
A secured JSP page that includes the ejb.jsp multiple times
Security Tests
- Try SecureServlet
A test of securing servlet content using the JBoss JAAS authentication layer.
- Try SecureEJBAccess
A test of securing servlet content using the JBoss JAAS authentication layer
as well as propagation of the servlet container identity to a secure EJB.
- Try SecureEJBAccessMT
A test of securing servlet content using the JBoss JAAS authentication layer
as well as propagation of the servlet container identity to a secure EJB from
a thread spawned within the servlet request.
- Try SecureEJBAccess with nested call
A test of securing servlet content using the JBoss JAAS authentication layer
as well as propagation of the servlet container identity to an unsecure EJB
which in turn calls a secure EJB to test principal propagation.
- Try ClientLoginServlet
An unsecure servlet that performs a JAAS login as jduke to access a
secured EJB.
- Try UnsecureEJBServlet
An unsecure servlet that tries to access a secured EJB.
- Try UnsecureRunAsServletWithPrincipalName
An unsecure servlet that uses a run-as identity to access a secured EJB.
- Try UnsecureRunAsServletWithPrincipalNameAndRoles
An unsecure servlet that uses a run-as identity to access a secured EJB.
- Try UnsecureRunAsServletWithPrincipalName
An unsecure jsp page that uses a run-as identity to access a secured EJB.
- Try IncludeServlet
An unsecure servlet that tries to include both secured and unsecured servlets
which access a secured EJB.
- Try IncludeServlet
An secure servlet that tries to include both secured and unsecured servlets
which access a secured EJB.
- Try UserInRoleServlet
An secure servlet that checks the caller roles using isUserInRole.
- Try SubjectServlet
An secure servlet that checks that call context for the authenticated
Subject. This servlet also has a filter which also checks that it has
visibility of the Subject.