Class AddNonceToIDTokenTest
- 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.AddNonceToIDTokenTest
-
public class AddNonceToIDTokenTest extends BaseOIDCResponseActionTest
AddNonceToIDTokenunit 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.AddNonceToIDTokenaction-
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 AddNonceToIDTokenTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestNoIdToken()Test that action copes with no id token in response context.voidtestSuccess()Test that action copies nonce to id token.-
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
-
testNoIdToken
public void testNoIdToken() throws ComponentInitializationException, com.nimbusds.oauth2.sdk.ParseExceptionTest that action copes with no id token in response context.- Throws:
ComponentInitializationExceptioncom.nimbusds.oauth2.sdk.ParseException
-
testSuccess
public void testSuccess() throws ComponentInitializationException, com.nimbusds.oauth2.sdk.ParseExceptionTest that action copies nonce to id token.- Throws:
ComponentInitializationExceptioncom.nimbusds.oauth2.sdk.ParseException
-
-