Package net.shibboleth.idp.session.impl
Class UpdateSessionWithAuthenticationResultTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
-
- net.shibboleth.idp.session.impl.UpdateSessionWithAuthenticationResultTest
-
public class UpdateSessionWithAuthenticationResultTest extends SessionManagerBaseTestCase
UpdateSessionWithAuthenticationResultunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private AuthenticationContextacprivate net.shibboleth.idp.session.impl.UpdateSessionWithAuthenticationResultactionprivate AuthenticationFlowDescriptorflowDescriptorprivate ProfileRequestContextprcprivate RequestContextsrc-
Fields inherited from class net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
requestProxy, responseProxy, sessionManager, storageService
-
-
Constructor Summary
Constructors Constructor Description UpdateSessionWithAuthenticationResultTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadjustProperties()Allows override of component properties before initializing them.voidsetUpAction()voidtestAddToSession()voidtestNewSession()voidtestNoFlow()voidtestNoResult()voidtestNotCacheable()voidtestUpdateSession()voidtestUpdateSessionNoResult()-
Methods inherited from class net.shibboleth.idp.session.impl.testing.SessionManagerBaseTestCase
createSession, setUp, tearDown
-
-
-
-
Field Detail
-
src
private RequestContext src
-
prc
private ProfileRequestContext prc
-
ac
private AuthenticationContext ac
-
flowDescriptor
private AuthenticationFlowDescriptor flowDescriptor
-
action
private net.shibboleth.idp.session.impl.UpdateSessionWithAuthenticationResult action
-
-
Method Detail
-
setUpAction
@BeforeMethod public void setUpAction() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
adjustProperties
protected void adjustProperties() throws ComponentInitializationExceptionAllows override of component properties before initializing them.- Overrides:
adjustPropertiesin classSessionManagerBaseTestCase- Throws:
ComponentInitializationException- ...
-
testNoResult
public void testNoResult()
-
testNoFlow
public void testNoFlow() throws SessionException- Throws:
SessionException
-
testNotCacheable
public void testNotCacheable() throws SessionException- Throws:
SessionException
-
testNewSession
public void testNewSession() throws SessionException- Throws:
SessionException
-
testAddToSession
public void testAddToSession() throws SessionException- Throws:
SessionException
-
testUpdateSessionNoResult
public void testUpdateSessionNoResult() throws SessionException- Throws:
SessionException
-
testUpdateSession
public void testUpdateSession() throws SessionException, ResolverException- Throws:
SessionExceptionResolverException
-
-