Class SetConsentFromTokenToResponseContextTest
- 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.SetConsentFromTokenToResponseContextTest
-
public class SetConsentFromTokenToResponseContextTest extends BaseOIDCResponseActionTest
SetConsentFromTokenToResponseContextunit 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.SetConsentFromTokenToResponseContextactionAction.-
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 SetConsentFromTokenToResponseContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestSuccess()Test basic success case.voidtestSuccessNoConsent()Test that action handles no consent being available.-
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
-
testSuccessNoConsent
public void testSuccessNoConsent()
Test that action handles no consent being available.
-
testSuccess
public void testSuccess() throws URISyntaxExceptionTest basic success case.- Throws:
URISyntaxException
-
-