Package net.shibboleth.idp.session.impl
Class StorageBackedSessionManagerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
-
- net.shibboleth.idp.session.impl.StorageBackedSessionManagerTest
-
public class StorageBackedSessionManagerTest extends SessionManagerBaseTestCase
StorageBackedSessionManagerunit test.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classStorageBackedSessionManagerTest.ExtendedSPSessionprivate static classStorageBackedSessionManagerTest.ExtendedSPSessionSerializer
-
Field Summary
Fields Modifier and Type Field Description private Collection<AuthenticationFlowDescriptor>flowDescriptorsprivate static org.slf4j.Loggerlogprivate SPSessionSerializerRegistryserializerRegistryprivate static DurationsessionSlop-
Fields inherited from class net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
requestProxy, responseProxy, sessionManager, storageService
-
-
Constructor Summary
Constructors Constructor Description StorageBackedSessionManagerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadjustProperties()Allows override of component properties before initializing them.voidsetUp()voidtestAddress()voidtestAuthenticationResults()voidtestEmptyCookie()voidtestSecondaryLookup()voidtestSimpleSession()voidtestSPSessions()-
Methods inherited from class net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
createSession, tearDown
-
-
-
-
Field Detail
-
sessionSlop
private static final Duration sessionSlop
-
log
private static final org.slf4j.Logger log
-
flowDescriptors
private Collection<AuthenticationFlowDescriptor> flowDescriptors
-
serializerRegistry
private SPSessionSerializerRegistry serializerRegistry
-
-
Method Detail
-
setUp
@BeforeClass public void setUp() throws ComponentInitializationException- Overrides:
setUpin classSessionManagerBaseTestCase- Throws:
ComponentInitializationException
-
adjustProperties
protected void adjustProperties()
Allows override of component properties before initializing them.- Overrides:
adjustPropertiesin classSessionManagerBaseTestCase
-
testEmptyCookie
public void testEmptyCookie() throws ResolverException, SessionException, InterruptedException
-
testSimpleSession
public void testSimpleSession() throws ResolverException, SessionException, InterruptedException
-
testAddress
public void testAddress() throws SessionException, ResolverException- Throws:
SessionExceptionResolverException
-
testAuthenticationResults
public void testAuthenticationResults() throws ResolverException, SessionException, InterruptedException
-
testSPSessions
public void testSPSessions() throws ResolverException, SessionException, InterruptedException
-
testSecondaryLookup
public void testSecondaryLookup() throws ResolverException, SessionException, InterruptedException
-
-