public class SessionManagerBaseTestCase extends OpenSAMLInitBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocalHttpServletRequestProxy |
requestProxy |
protected ThreadLocalHttpServletResponseProxy |
responseProxy |
protected net.shibboleth.idp.session.impl.StorageBackedSessionManager |
sessionManager |
protected MemoryStorageService |
storageService |
| Constructor and Description |
|---|
SessionManagerBaseTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustProperties()
Allows override of component properties before initializing them.
|
protected javax.servlet.http.Cookie |
createSession(String principalName)
Creates a session and returns the cookie established by the SessionManager for it.
|
void |
setUp() |
void |
tearDown() |
initOpenSAMLprotected MemoryStorageService storageService
protected net.shibboleth.idp.session.impl.StorageBackedSessionManager sessionManager
protected ThreadLocalHttpServletRequestProxy requestProxy
protected ThreadLocalHttpServletResponseProxy responseProxy
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionprotected void adjustProperties()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void tearDown()
protected javax.servlet.http.Cookie createSession(@Nonnull@NotEmpty String principalName) throws SessionException
principalName - name of principal for sessionSessionExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.