Class FormOutboundUserInfoResponseMessageTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
-
- net.shibboleth.idp.plugin.oidc.op.userinfo.profile.impl.FormOutboundUserInfoResponseMessageTest
-
public class FormOutboundUserInfoResponseMessageTest extends BaseOIDCResponseActionTest
FormOutboundUserInfoResponseMessageunit 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.userinfo.profile.impl.FormOutboundUserInfoResponseMessageaction-
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 FormOutboundUserInfoResponseMessageTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidtestFailNoMessage()Test that action is able to handle case of having no input to message.voidtestSuccessMessagePlain()Test that action is able to pick to form success message from plaintext response.voidtestSuccessMessageSigned()Test that action is able to pick to form success message from signed response.-
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 public void init() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEException
- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
testSuccessMessageSigned
public void testSuccessMessageSigned() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEExceptionTest that action is able to pick to form success message from signed response.- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
testSuccessMessagePlain
public void testSuccessMessagePlain() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEExceptionTest that action is able to pick to form success message from plaintext response.- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
testFailNoMessage
public void testFailNoMessage() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEExceptionTest that action is able to handle case of having no input to message.- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
-