Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-426

PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M2
    • Fix Version/s: None
    • Component/s: security
    • Labels:
      None

      Description

      The PropertiesFilePrincipalMappingUserPasswordRealmBridge accepts a URI to the properties file containg the mapping information. However, it just loads a file directly from that URI; it's not clear what a relative path would be relative to.

      Other components with this problem accept a reference to the ServerInfo, and use that to explicitly resolve relative URI's relative to the Geronimo directory. For example, the PropertiesFileSecurityRealm does this.

      This class should also use a ServerInfo to explicitly load the properties file relative to the Geronimo directory.

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              ammulder Aaron Mulder
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: