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