Class SetAuthenticationContextClassReferenceToResponseContextTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.SetAuthenticationContextClassReferenceToResponseContextTest
-
public class SetAuthenticationContextClassReferenceToResponseContextTest extends BaseOIDCResponseActionTest
SetAuthenticationContextClassReferenceToResponseContextunit test.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
BaseOIDCResponseActionTest.MockRevocationCache
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.oidc.op.profile.impl.SetAuthenticationContextClassReferenceToResponseContextactionprivate List<Principal>principals-
Fields inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
clientId, credentialEC256, credentialEC384, credentialEC521, credentialHMAC, credentialRSA, idGenerator, metadataCtx, profileRequestCtx, request, requestCtx, respCtx, rpCtx, subject
-
-
Constructor Summary
Constructors Constructor Description SetAuthenticationContextClassReferenceToResponseContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestFailNoAuthContext()Test that action handles case of missing auth context.voidtestSuccessPreferredACR()Test that action handles case of preferred acr of 1,2 and 3 while the result contains 2 and 4.voidtestSuccessPreferredACRNotMatching()Test that action handles case of preferred acr of 1 while the result contains 2 and 4.voidtestSuccessPreferredACRNotMatching2()Test that action handles case of preferred acr of 1 while the result contains none.voidtestSuccessRequestedACR()Test that action handles case of requested acr of 1,2 and 3 while the result contains 2 and 4.-
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
addEntryToMap, getDataSealer, initializeDataSealer, setAuthenticationRequest, setIdTokenToResponseContext, setTokenRequest, setUp, setUserInfoRequest, setUserInfoResponseToResponseContext, signIdTokenInResponseContext, signUserInfoResponseInResponseContext
-
-
-
-
Method Detail
-
init
@BeforeMethod private void init() throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
testSuccessRequestedACR
public void testSuccessRequestedACR()
Test that action handles case of requested acr of 1,2 and 3 while the result contains 2 and 4.
-
testSuccessPreferredACR
public void testSuccessPreferredACR()
Test that action handles case of preferred acr of 1,2 and 3 while the result contains 2 and 4.
-
testSuccessPreferredACRNotMatching
public void testSuccessPreferredACRNotMatching()
Test that action handles case of preferred acr of 1 while the result contains 2 and 4.
-
testSuccessPreferredACRNotMatching2
public void testSuccessPreferredACRNotMatching2()
Test that action handles case of preferred acr of 1 while the result contains none.
-
testFailNoAuthContext
public void testFailNoAuthContext()
Test that action handles case of missing auth context.
-
-