You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2004/11/03 02:58:32 UTC

[jira] Created: (GERONIMO-426) PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location

PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location
---------------------------------------------------------------------------

         Key: GERONIMO-426
         URL: http://nagoya.apache.org/jira/browse/GERONIMO-426
     Project: Apache Geronimo
        Type: Bug
  Components: security  
    Versions: 1.0-M2    
    Reporter: Aaron Mulder


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-426) PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-426?page=all ]
     
David Jencks closed GERONIMO-426:
---------------------------------

    Resolution: Fixed

"fixed" by removing the offending class.  A replacement should be something like a LoginModule that accepts the location of a properties file for mapping.  I think the existing properties login module should provide an appropriate model.

> PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-426
>          URL: http://issues.apache.org/jira/browse/GERONIMO-426
>      Project: Geronimo
>         Type: Bug
>   Components: security
>     Versions: 1.0-M2
>     Reporter: Aaron Mulder
>     Assignee: David Jencks

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-426) PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-426?page=all ]

David Jencks reassigned GERONIMO-426:
-------------------------------------

    Assign To: David Jencks

> PropertiesFilePrincipalMappingUserPasswordRealmBridge Mapping File Location
> ---------------------------------------------------------------------------
>
>          Key: GERONIMO-426
>          URL: http://issues.apache.org/jira/browse/GERONIMO-426
>      Project: Geronimo
>         Type: Bug
>   Components: security
>     Versions: 1.0-M2
>     Reporter: Aaron Mulder
>     Assignee: David Jencks

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira