org.jboss.test.webservice.samples
Class ServerSideEJBSecTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.webservice.WebserviceTestBase (src) 
              extended byorg.jboss.test.webservice.samples.ServerSideEJBSecTestCase

public class ServerSideEJBSecTestCase
extends WebserviceTestBase (src)

A web service client that connects to a secured SLSB endpoint using.

Since:
26-Apr-2004
See Also:
Serialized Form

Field Summary
static java.lang.String PASSWORD
           
static java.lang.String USERNAME
           
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
ServerSideEJBSecTestCase(java.lang.String name)
           
 
Method Summary
static Test suite()
          Deploy the test
protected  void tearDown()
           
 void testBasicSecuredServiceAccess()
           
 void testBasicSecuredSLSB()
          Test that the remote access to this bean is unchecked
 void testRoleSecuredServiceAccess()
           
 void testRoleSecuredSLSB()
          Test required principal/credential for this bean
 
Methods inherited from class org.jboss.test.webservice.WebserviceTestBase (src)
getClientContext
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERNAME

public static final java.lang.String USERNAME
See Also:
Constant Field Values (src)

PASSWORD

public static final java.lang.String PASSWORD
See Also:
Constant Field Values (src)
Constructor Detail

ServerSideEJBSecTestCase

public ServerSideEJBSecTestCase(java.lang.String name)
Method Detail

suite

public static Test suite()
                  throws java.lang.Exception
Deploy the test

Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testRoleSecuredSLSB

public void testRoleSecuredSLSB()
                         throws java.lang.Exception
Test required principal/credential for this bean

Throws:
java.lang.Exception

testBasicSecuredSLSB

public void testBasicSecuredSLSB()
                          throws java.lang.Exception
Test that the remote access to this bean is unchecked

Throws:
java.lang.Exception

testBasicSecuredServiceAccess

public void testBasicSecuredServiceAccess()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testRoleSecuredServiceAccess

public void testRoleSecuredServiceAccess()
                                  throws java.lang.Exception
Throws:
java.lang.Exception