| |
|
| org.jboss.test.security.test.SRPLoginModuleUnitTestCase
SRPLoginModuleUnitTestCase | public class SRPLoginModuleUnitTestCase extends JBossTestCase (Code) | | Test of the secure remote password(SRP) service and its usage via JAAS
login modules.
author: Scott.Stark@jboss.org version: $Revision: 57211 $ |
Inner Class :static class SessionThread extends Thread | |
Method Summary | |
public static Test | suite() Setup the test suite. | public void | testSRPLogin() | public void | testSRPLoginHTTP() | public void | testSRPLoginHTTPHA() | public void | testSRPLoginWithAuxChallenge() Test a login against the SRP service using the SRPLoginModule and
provide an auxillarly challenge to be validated by the server. | public void | testSRPLoginWithExternalA() Test a login against the SRP service using the SRPLoginModule and
specify the random number used in the client A public key. | public void | testSRPLoginWithMultipleSessions() Test a login against the SRP service using the SRPLoginModule with
multiple sessions for the same user. | public void | testSRPLogins() Test a login against the SRP service using the SRPLoginModule, logout,
and repeat twice. |
loggedIn | boolean loggedIn(Code) | | |
password | static char[] password(Code) | | |
SRPLoginModuleUnitTestCase | public SRPLoginModuleUnitTestCase(String name)(Code) | | |
suite | public static Test suite() throws Exception(Code) | | Setup the test suite.
|
testSRPLogin | public void testSRPLogin() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule
|
testSRPLoginHTTP | public void testSRPLoginHTTP() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule
|
testSRPLoginHTTPHA | public void testSRPLoginHTTPHA() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule
|
testSRPLoginWithAuxChallenge | public void testSRPLoginWithAuxChallenge() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule and
provide an auxillarly challenge to be validated by the server.
|
testSRPLoginWithExternalA | public void testSRPLoginWithExternalA() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule and
specify the random number used in the client A public key.
|
testSRPLoginWithMultipleSessions | public void testSRPLoginWithMultipleSessions() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule with
multiple sessions for the same user. This creates two threads
|
testSRPLogins | public void testSRPLogins() throws Exception(Code) | | Test a login against the SRP service using the SRPLoginModule, logout,
and repeat twice.
|
|
|
|