Class DefaultRedirectURICreationStrategyTest


  • public class DefaultRedirectURICreationStrategyTest
    extends Object
    Tests for the DefaultDuoOIDCIntegration class.
    • Field Detail

      • strategy

        private net.shibboleth.idp.plugin.authn.duo.impl.DefaultRedirectURICreationStrategy strategy
        The action to test.
    • Constructor Detail

      • DefaultRedirectURICreationStrategyTest

        public DefaultRedirectURICreationStrategyTest()
    • Method Detail

      • testComputedRedirectAllowed

        public final void testComputedRedirectAllowed()
                                               throws Exception
        Throws:
        Exception
      • testComputedRedirectDisallowed

        public final void testComputedRedirectDisallowed()
                                                  throws Exception
        Throws:
        Exception
      • testComputedRedirectAllowedHTTPSCustomPort

        public final void testComputedRedirectAllowedHTTPSCustomPort()
                                                              throws Exception
        Throws:
        Exception
      • testComputedRedirectAllowedHTTPCustomPort

        public final void testComputedRedirectAllowedHTTPCustomPort()
                                                             throws Exception
        Throws:
        Exception
      • testComputedRedirectAllowedNullPort

        public final void testComputedRedirectAllowedNullPort()
                                                       throws Exception
        Throws:
        Exception
      • testComputedRedirectDisallowedOnPort

        public final void testComputedRedirectDisallowedOnPort()
                                                        throws Exception
        Throws:
        Exception
      • testPreregisteredURL

        public final void testPreregisteredURL()
                                        throws Exception
        Throws:
        Exception
      • testComputedRedirectBadHostname

        public final void testComputedRedirectBadHostname()
                                                   throws Exception
        Throws:
        Exception