public class SessionManagerTest extends RhnBaseTestCase
| Constructor and Description |
|---|
SessionManagerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testExtractSecureParam() |
void |
testGenerateSessionKey() |
void |
testIsPxtSessionKeyValidWhenKeyIsInvalid()
This test was created for
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206558
|
void |
testIsPxtSessionKeyValidWhenKeyIsNull() |
void |
testIsPxtSessionKeyValidWhenKeyIsValid() |
void |
testIsPxtSessionKeyValidWhenSessionIdHijacked() |
void |
testIsValidSecureParam() |
void |
testLifetimeValue() |
void |
testLookupByEmptyKey() |
void |
testLookupByKey() |
void |
testMakeSecureParamNoTimestamp() |
void |
testMakeSecureParamTimestamped() |
void |
testMakeSession() |
void |
testPurgeSession() |
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload, setUp, tearDownassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic void testLifetimeValue()
throws java.lang.Exception
java.lang.Exceptionpublic void testMakeSession()
throws java.lang.Exception
java.lang.Exceptionpublic void testGenerateSessionKey()
public void testMakeSecureParamNoTimestamp()
public void testMakeSecureParamTimestamped()
public void testIsValidSecureParam()
public void testExtractSecureParam()
public void testIsPxtSessionKeyValidWhenKeyIsNull()
public void testIsPxtSessionKeyValidWhenKeyIsValid()
public void testIsPxtSessionKeyValidWhenKeyIsInvalid()
public void testIsPxtSessionKeyValidWhenSessionIdHijacked()
public void testLookupByEmptyKey()
public void testLookupByKey()
public void testPurgeSession()
throws java.lang.Exception
java.lang.Exception