Author: richard.opalka(a)jboss.com
Date: 2008-05-20 09:28:50 -0400 (Tue, 20 May 2008)
New Revision: 7109
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java
Log:
rollback
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java 2008-05-20
13:06:51 UTC (rev 7108)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java 2008-05-20
13:28:50 UTC (rev 7109)
@@ -52,25 +52,15 @@
return new JBossWSTestSetup(SecureEJBTestCase.class,
"jaxrpc-samples-secureejb.jar, jaxrpc-samples-secureejb-client.jar");
}
- public void testAllScenarios() throws Exception
+ public void testRoleSecuredWSDLAccess() throws Exception
{
- _testRoleSecuredWSDLAccess();
- _testRoleSecuredServiceAccess();
- _testBasicSecuredSLSB();
- _testBasicSecuredServiceAccess();
- _testConfidentialSecuredWSDLAccess();
- _testConfidentialServiceAccess();
- }
-
- public void _testRoleSecuredWSDLAccess() throws Exception
- {
URL wsdlURL = new URL("http://" + getServerHost() +
":8080/jaxrpc-samples-ejb/RoleSecured?wsdl");
WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
WSDLDefinitions wsdl = factory.parse(wsdlURL);
assertNotNull("Expect unsecured wsdl access by default for jaxrpc",
wsdl);
}
- public void _testRoleSecuredServiceAccess() throws Exception
+ public void testRoleSecuredServiceAccess() throws Exception
{
InitialContext iniCtx = getInitialContext();
Service service =
(Service)iniCtx.lookup("java:comp/env/service/RoleSecured");
@@ -97,7 +87,7 @@
/** Test that the remote access to this bean is unchecked
*/
- public void _testBasicSecuredSLSB() throws Exception
+ public void testBasicSecuredSLSB() throws Exception
{
InitialContext iniCtx = getInitialContext();
OrganizationHome home =
(OrganizationHome)iniCtx.lookup("ejb/BasicSecuredSLSB");
@@ -107,7 +97,7 @@
assertEquals("The 'mafia' boss is currently out of office, please call
again.", info);
}
- public void _testBasicSecuredServiceAccess() throws Exception
+ public void testBasicSecuredServiceAccess() throws Exception
{
InitialContext iniCtx = getInitialContext();
Service service =
(Service)iniCtx.lookup("java:comp/env/service/BasicSecured");
@@ -132,7 +122,7 @@
assertEquals("The 'mafia' boss is currently out of office, please call
again.", info);
}
- public void _testConfidentialSecuredWSDLAccess() throws Exception
+ public void testConfidentialSecuredWSDLAccess() throws Exception
{
URL wsdlURL = new URL("http://" + getServerHost() +
":8080/jaxrpc-samples-ejb/ConfidentialSecured?wsdl");
WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
@@ -140,7 +130,7 @@
assertNotNull("Expect unsecured wsdl access", wsdl);
}
- public void _testConfidentialServiceAccess() throws Exception
+ public void testConfidentialServiceAccess() throws Exception
{
InitialContext iniCtx = getInitialContext();
Service service =
(Service)iniCtx.lookup("java:comp/env/service/ConfidentialSecured");