Package net.shibboleth.oidc.profile.impl
Class FormOutboundKeySetResponseMessageTest
- java.lang.Object
-
- net.shibboleth.oidc.profile.impl.FormOutboundKeySetResponseMessageTest
-
public class FormOutboundKeySetResponseMessageTest extends Object
FormOutboundKeySetResponseMessageunit test.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classFormOutboundKeySetResponseMessageTest.MockReturnAllCollectionJOSEObjectCredentialResolverMock resolver which just returns all the credentials it knows.
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.oidc.profile.impl.FormOutboundKeySetResponseMessageactionprivate net.shibboleth.oidc.profile.config.impl.DefaultOIDCPublishKeySetConfigurationprofileConfprivate 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.oidc.profile.impl.FormOutboundKeySetResponseMessage action
-
requestCtx
private RequestContext requestCtx
-
profileConf
private net.shibboleth.oidc.profile.config.impl.DefaultOIDCPublishKeySetConfiguration profileConf
-
rpCtx
private net.shibboleth.idp.profile.context.RelyingPartyContext rpCtx
-
-
Method Detail
-
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
-
-