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

SSO doesn't work for webapps with different context name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Blocker Blocker
    • None
    • 7.0.0.DR9
    • Undertow
    • None
    • Hide
      1. Start EAP
      2. Define security realm needed by the web application
        /subsystem=security/security-domain=web-tests:add(cache-type=default)
        /subsystem=security/security-domain=web-tests/authentication=classic:add(login-modules=[{"code"=>"UsersRoles", "flag"=>"required"}]) {allow-resource-service-restart=true}
        
      3. Define Single Sign On (/subsystem=undertow/server=default-server/host=default-host/setting=single-sign-on:add())
      4. Deploy the same web application https://github.com/kwart/secured-webapp-template/releases/download/single-jsp-app/secured-webapp.war under two names (secured-webapp.war and secured-webapp2.war)
      1. Go to fist web app via your web browser and log in there (http://localhost:8080/secured-webapp/user/ , credentials are user:user)
      2. Go to second web app via your web browser (http://localhost:8080/secured-webapp2/user/)
      • You should be automatically logged thanks to enabled SSO, but you aren't and you are required to input credentials again.
      Show
      Start EAP Define security realm needed by the web application /subsystem=security/security-domain=web-tests:add(cache-type=default) /subsystem=security/security-domain=web-tests/authentication=classic:add(login-modules=[{"code"=>"UsersRoles", "flag"=>"required"}]) {allow-resource-service-restart=true} Define Single Sign On ( /subsystem=undertow/server=default-server/host=default-host/setting=single-sign-on:add() ) Deploy the same web application https://github.com/kwart/secured-webapp-template/releases/download/single-jsp-app/secured-webapp.war under two names (secured-webapp.war and secured-webapp2.war) Go to fist web app via your web browser and log in there ( http://localhost:8080/secured-webapp/user/ , credentials are user:user) Go to second web app via your web browser ( http://localhost:8080/secured-webapp2/user/ ) You should be automatically logged thanks to enabled SSO, but you aren't and you are required to input credentials again.

      Single Sign On doesn't work for two web applications with different context name.

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

              Created:
              Updated:
              Resolved: