Class InitializeOutboundAuthenticationResponseMessageContextTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.InitializeOutboundAuthenticationResponseMessageContextTest
-
public class InitializeOutboundAuthenticationResponseMessageContextTest extends Object
InitializeOutboundAuthenticationResponseMessageContextunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.oidc.op.profile.impl.InitializeOutboundAuthenticationResponseMessageContextactionprotected net.shibboleth.oidc.metadata.context.OIDCMetadataContextmetadataCtxprivate ProfileRequestContextprcprivate RequestContextrequestCtx
-
Constructor Summary
Constructors Constructor Description InitializeOutboundAuthenticationResponseMessageContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidemptyLogo()Test that action copes with invalid logo.voidinit()voidnonExistentLogo()Test that action copes with non existent logo.voidsuccessContacts()Test that action populates contacts element .voidsuccessLogo()Test that action sets valid logo.voidsuccessPolicy()Test that action populates policy uri to privacy statement element .voidsuccessService()Test that action populates service information element .voidsuccessTos()Test that action populates tos to information element .voidtestSuccess()Test that outbound message context exists.
-
-
-
Field Detail
-
action
private net.shibboleth.idp.plugin.oidc.op.profile.impl.InitializeOutboundAuthenticationResponseMessageContext action
-
requestCtx
private RequestContext requestCtx
-
metadataCtx
protected net.shibboleth.oidc.metadata.context.OIDCMetadataContext metadataCtx
-
prc
private ProfileRequestContext prc
-
-
Method Detail
-
init
@BeforeMethod public void init() throws ComponentInitializationException, com.nimbusds.oauth2.sdk.ParseException
- Throws:
ComponentInitializationExceptioncom.nimbusds.oauth2.sdk.ParseException
-
testSuccess
public void testSuccess()
Test that outbound message context exists.
-
nonExistentLogo
public void nonExistentLogo() throws URISyntaxExceptionTest that action copes with non existent logo.- Throws:
URISyntaxException
-
emptyLogo
public void emptyLogo() throws URISyntaxExceptionTest that action copes with invalid logo.- Throws:
URISyntaxException
-
successLogo
public void successLogo() throws URISyntaxExceptionTest that action sets valid logo.- Throws:
URISyntaxException
-
successPolicy
public void successPolicy() throws URISyntaxExceptionTest that action populates policy uri to privacy statement element .- Throws:
URISyntaxException
-
successTos
public void successTos() throws URISyntaxExceptionTest that action populates tos to information element .- Throws:
URISyntaxException
-
successContacts
public void successContacts() throws URISyntaxExceptionTest that action populates contacts element .- Throws:
URISyntaxException
-
successService
public void successService() throws URISyntaxExceptionTest that action populates service information element .- Throws:
URISyntaxException
-
-