Class SetRequestedClaimsToResponseContextTest
- 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.SetRequestedClaimsToResponseContextTest
-
public class SetRequestedClaimsToResponseContextTest extends BaseOIDCResponseActionTest
Unit tests forSetRequestedClaimsToResponseContext.
-
-
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.SetRequestedClaimsToResponseContextaction-
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 SetRequestedClaimsToResponseContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()private booleanisEssential(net.minidev.json.JSONObject source, String parentClaim, String claim)voidtestTokenClaimsRemainsTheSame()-
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, NoSuchAlgorithmException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException- Throws:
ComponentInitializationExceptionNoSuchAlgorithmExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseException
-
testTokenClaimsRemainsTheSame
public void testTokenClaimsRemainsTheSame() throws NoSuchAlgorithmException, com.nimbusds.oauth2.sdk.ParseException, ComponentInitializationException, URISyntaxException- Throws:
NoSuchAlgorithmExceptioncom.nimbusds.oauth2.sdk.ParseExceptionComponentInitializationExceptionURISyntaxException
-
-