Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3984

Use default application/realm name of 'other' if none specified

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • jaas-0.0.2
    • jaas-0.0.2
    • JAAS
    • None

    Description

      Any LoginModule registered via config or factory SHOULD provide a realm/application name. However if none is specified then the realm name should be assumed to be 'other'.

      Following should be supported

      1. In case no realm name specified via 'jaas.realmName' the value should be set to 'other'
      2. This default value can be changed by Admin via Configuration Spi settings and set it to any other value

      The significance of using 'other' here is that LoginContext would first check config entry for provided applicationName. If none is found then it looks for config entry for an app name 'other'. So for default setup LoginModules which does not have any appname specified would be considered as part of 'other'. if the admin changes that then no such default logic would be used

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: