|
|||||||||
| Home >> All >> org >> securityfilter >> test >> http >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.securityfilter.test.http.form
Class SessionInvalidationTest

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.securityfilter.test.http.TestBase
org.securityfilter.test.http.form.SessionInvalidationTest
- All Implemented Interfaces:
- junit.framework.Test
- public class SessionInvalidationTest
- extends org.securityfilter.test.http.TestBase
SessionInvalidationTest - tests the logout functionality.
- Version:
- $Revision: 1.1 $ $Date: 2003/10/25 10:49:03 $
| Field Summary | |
private static java.lang.String |
POST_VALUE_1
|
private static java.lang.String |
POST_VALUE_2
|
| Fields inherited from class org.securityfilter.test.http.TestBase |
baseUrl, session |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
SessionInvalidationTest(java.lang.String name)
Constructor |
|
| Method Summary | |
void |
testInvaidateSessionForDifferentUser()
Test that the session is invalidated if the user spontaneously logs in again with a different username. |
void |
testKeepSessionForSameUser()
Test that the session is kept if the user spontaneously logs in again with the same username. |
| Methods inherited from class org.securityfilter.test.http.TestBase |
assertPageTitle, assertPageTitleAfterLogin, performJustInTimeLogin, setUp |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
POST_VALUE_1
private static final java.lang.String POST_VALUE_1
- See Also:
- Constant Field Values
POST_VALUE_2
private static final java.lang.String POST_VALUE_2
- See Also:
- Constant Field Values
| Constructor Detail |
SessionInvalidationTest
public SessionInvalidationTest(java.lang.String name)
- Constructor
| Method Detail |
testKeepSessionForSameUser
public void testKeepSessionForSameUser()
throws java.lang.Exception
- Test that the session is kept if the user spontaneously logs in again with the same username.
testInvaidateSessionForDifferentUser
public void testInvaidateSessionForDifferentUser()
throws java.lang.Exception
- Test that the session is invalidated if the user spontaneously logs in again with a different username.
|
|||||||||
| Home >> All >> org >> securityfilter >> test >> http >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC