Package net.shibboleth.oidc.profile.impl
Class FormOutboundKeySetResponseMessageTest
java.lang.Object
net.shibboleth.oidc.profile.impl.FormOutboundKeySetResponseMessageTest
FormOutboundKeySetResponseMessage unit test.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classMock resolver which just returns all the credentials it knows. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate net.shibboleth.oidc.profile.impl.FormOutboundKeySetResponseMessageprivate net.shibboleth.oidc.profile.config.impl.DefaultOIDCPublishKeySetConfigurationprivate ProfileRequestContextprivate RequestContextprivate net.shibboleth.profile.context.RelyingPartyContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()voidTest case of no profile conf.voidTest case of no rp ctx.voidTest case of no sec conf.voidTest that action is able to form success message.
-
Field Details
-
profileRequestCtx
-
action
private net.shibboleth.oidc.profile.impl.FormOutboundKeySetResponseMessage action -
requestCtx
-
profileConf
private net.shibboleth.oidc.profile.config.impl.DefaultOIDCPublishKeySetConfiguration profileConf -
rpCtx
private net.shibboleth.profile.context.RelyingPartyContext rpCtx
-
-
Constructor Details
-
FormOutboundKeySetResponseMessageTest
public FormOutboundKeySetResponseMessageTest()
-
-
Method Details
-
init
- 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
-