Class AddAcrToIDTokenTest
- 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.AddAcrToIDTokenTest
-
public class AddAcrToIDTokenTest extends BaseOIDCResponseActionTest
AddAcrToIDTokenunit 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.AddAcrToIDTokenaction-
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 AddAcrToIDTokenTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestNoCtx()Test that action copes with no id token in response context.voidtestSuccess()Test that action handles case of no acr.voidtestSuccess2()Test that action is able to copy acr to idtoken from context.-
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
private void init() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testNoCtx
public void testNoCtx() throws ComponentInitializationExceptionTest that action copes with no id token in response context.- Throws:
ComponentInitializationException
-
testSuccess
public void testSuccess() throws ComponentInitializationException, com.nimbusds.oauth2.sdk.ParseExceptionTest that action handles case of no acr.- Throws:
ComponentInitializationExceptioncom.nimbusds.oauth2.sdk.ParseException
-
testSuccess2
public void testSuccess2() throws ComponentInitializationException, com.nimbusds.oauth2.sdk.ParseExceptionTest that action is able to copy acr to idtoken from context.- Throws:
ComponentInitializationExceptioncom.nimbusds.oauth2.sdk.ParseException
-
-