Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-714

Use a login page outside of the current webapps web context

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I have written https://github.com/steinarb/authservice#forms-based-nginx-login-and-pluggable-shiro-auth-in-karaf which is a "poor man's single sign-on" for multiple webapps running inside the same apache karaf OSGi container.

      This works but each webapp needs to implement their own login page.

      I can specify a login page outside of the webapps web context like e.g. this in shiro.ini:

      [main]
      shiro.loginUrl = ../authservice/login
      

      When not authenticated, the user will be redirected to /authservice/login on the same server, but when authenticated the user will be redirected to the /authservice/ path.

      It would be nice to be able to specify a way to redirect to a URL outside the webapp so that I could use a single login page across all web applications.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sb@dod.no Steinar Bang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: