Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1660

RealmUsersRolesLoginModule does not list "realm" as a valid option

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      Configure RealmUsersRolesLoginModule and set the "realm" option.

      Show
      Configure RealmUsersRolesLoginModule and set the "realm" option.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Set the logging category org.jboss.as.security.RealmUsersRolesLoginModule to ERROR level

      Show
      Set the logging category org.jboss.as.security.RealmUsersRolesLoginModule to ERROR level
    • Release Notes Text:
      Hide
      Cause: RealmUsersRolesLoginModule did not add "realm" to the list of valid options.

      Consequence: A warning would be emitted if the "realm" option was used

      Fix: Add "realm" to the list of valid options.

      Result: No warning is emitted when the "realm" option is used.
      Show
      Cause: RealmUsersRolesLoginModule did not add "realm" to the list of valid options. Consequence: A warning would be emitted if the "realm" option was used Fix: Add "realm" to the list of valid options. Result: No warning is emitted when the "realm" option is used.
    • Docs QE Status:
      NEW

      Description

      RealmUsersRolesLoginModule's parent class UserRolesLoginModule calls addValidOptions() in initialize() to add add of it's options to the list of valid ones, but RealmUsersRolesLoginModule does not add it's options to this list.

      This leads to a warning if you use that options:
      WARN [org.jboss.as.security.RealmUsersRolesLoginModule] Invalid or misspelled option: realm

      RealmUsersRolesLoginModule should call addValidOptions() too, passing "realm".

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anil.saldhana Anil Saldanha
                Reporter:
                jameslivingston James Livingston
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: