Class FormOutboundKeySetResponseMessageTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.FormOutboundKeySetResponseMessageTest
-
public class FormOutboundKeySetResponseMessageTest extends Object
FormOutboundKeySetResponseMessageunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.oidc.op.profile.impl.FormOutboundKeySetResponseMessageactionprivate net.shibboleth.oidc.profile.config.OIDCPublishKeySetConfigurationprofileConfprivate ProfileRequestContextprofileRequestCtxprivate RequestContextrequestCtxprivate net.shibboleth.idp.profile.context.RelyingPartyContextrpCtx
-
Constructor Summary
Constructors Constructor Description FormOutboundKeySetResponseMessageTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidtestFailNoProfileConf()Test case of no profile conf.voidtestFailNoRPCtx()Test case of no rp ctx.voidtestFailNoSecConf()Test case of no sec conf.voidtestSuccessMessage()Test that action is able to form success message.
-
-
-
Field Detail
-
profileRequestCtx
private ProfileRequestContext profileRequestCtx
-
action
private net.shibboleth.idp.plugin.oidc.op.profile.impl.FormOutboundKeySetResponseMessage action
-
requestCtx
private RequestContext requestCtx
-
profileConf
private net.shibboleth.oidc.profile.config.OIDCPublishKeySetConfiguration profileConf
-
rpCtx
private net.shibboleth.idp.profile.context.RelyingPartyContext rpCtx
-
-
Method Detail
-
init
@BeforeMethod public void init() throws Exception
- Throws:
Exception
-
testSuccessMessage
public void testSuccessMessage() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEException, ParseExceptionTest that action is able to form success message.- Throws:
ComponentInitializationExceptionURISyntaxExceptionParseExceptioncom.nimbusds.jose.JOSEExceptioncom.nimbusds.oauth2.sdk.ParseException
-
testFailNoSecConf
public void testFailNoSecConf() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEExceptionTest case of no sec conf.- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
testFailNoProfileConf
public void testFailNoProfileConf() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEExceptionTest case of no profile conf.- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
testFailNoRPCtx
public void testFailNoRPCtx() throws ComponentInitializationException, URISyntaxException, com.nimbusds.oauth2.sdk.ParseException, com.nimbusds.jose.JOSEExceptionTest case of no rp ctx.- Throws:
ComponentInitializationExceptionURISyntaxExceptioncom.nimbusds.oauth2.sdk.ParseExceptioncom.nimbusds.jose.JOSEException
-
-