Class AddRedirectURIHandlerTest


  • public class AddRedirectURIHandlerTest
    extends AbstractOIDCTest
    Tests for AddRedirectURIHandler.
    • Field Detail

      • handler

        private net.shibboleth.idp.plugin.authn.oidc.rp.messaging.impl.AddRedirectURIHandler handler
        The action to test.
      • rpc

        private net.shibboleth.idp.profile.context.RelyingPartyContext rpc
        The RPC.
      • oidcAuthzConfig

        private net.shibboleth.oidc.profile.config.impl.DefaultOIDCAuthorizationConfiguration oidcAuthzConfig
        The profile config.
    • Constructor Detail

      • AddRedirectURIHandlerTest

        public AddRedirectURIHandlerTest()
    • Method Detail

      • testSuccess

        public void testSuccess()
                         throws Exception
        Test redirect URI is added.
        Throws:
        Exception - on error
      • testNullURI

        public void testNullURI()
                         throws Exception
        Test error when the strategy does not produce a result.
        Throws:
        Exception - on error