Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6008

Incorrect redirection after authentization when using elytron

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR5
    • 7.1.0.DR4
    • Security, Undertow
    • None
    • 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. 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

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

                Created:
                Updated:
                Resolved: