Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7105

Incorrect redirection after authentization when using elytron

    XMLWordPrintable

Details

    • Hide
      1. put attached users and roles properties to $JBOSS_HOME/standalone/configuration
      2. deploy attached web application
      3. start server using attached configuration file
      4. Go to http://localhost:8080/defined-security-domain/user/
      5. login using proper credentials (see the users.properties) => e.g. admin:admin
      Show
      put attached users and roles properties to $JBOSS_HOME/standalone/configuration deploy attached web application start server using attached configuration file Go to http://localhost:8080/defined-security-domain/user/ login using proper credentials (see the users.properties) => e.g. admin:admin

    Description

      Having web application which uses defined security domain, which is set up using elytron results in incorrect redirection. It is redirecting after authentication done at http://localhost:8080/defined-security-domain/user/ to http://localhost:8080/defined-security-domain/user//user/index.jsp instead of to http://localhost:8080/defined-security-domain/user/index.jsp.

      Note, when using only old security domain setup without elytron, it works just fine.

      Attachments

        1. defined-security-domain.war
          13 kB
        2. roles.properties
          0.0 kB
        3. standalone-elytron-web-tests.xml
          23 kB
        4. users.properties
          0.0 kB

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: WFLY

              People

                sdouglas1@redhat.com Stuart Douglas
                rhatlapa@redhat.com Radim Hatlapatka (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: