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

Incorrect redirection after authentization when using elytron

XMLWordPrintable

    • 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

      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.

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

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

                Created:
                Updated:
                Resolved: