You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/03/25 10:48:56 UTC
[jira] Created: (GERONIMO-4603) PropertiesLoginManager is hardwired
to properties-login login module
PropertiesLoginManager is hardwired to properties-login login module
--------------------------------------------------------------------
Key: GERONIMO-4603
URL: https://issues.apache.org/jira/browse/GERONIMO-4603
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: console
Affects Versions: 2.1.4, 2.2
Reporter: David Jencks
Fix For: 2.1.5, 2.2
In production you want to replace the toy properties login realm with something else such as an ldap realm. However the admin console has a hardwired dependency on the properties-login gbean.
We should make the reference from PropertiesLoginManager multi-valued and scan through it for properties login modules so you can edit any such properties files.
Workaround for replacing server-security-config with something with a real security realm is to include the properties login module as a dummy, not used in a security realm:
<!-- bug workaround -->
<gbean name="properties-login"
class="org.apache.geronimo.security.jaas.LoginModuleGBean">
<attribute name="loginModuleClass">org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</attribute>
<attribute name="options">
usersURI=var/security/users.properties
groupsURI=var/security/groups.properties
</attribute>
<attribute name="loginDomainName">geronimo-admin</attribute>
</gbean>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-4603) PropertiesLoginManager is
hardwired to properties-login login module
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks reassigned GERONIMO-4603:
--------------------------------------
Assignee: David Jencks
> PropertiesLoginManager is hardwired to properties-login login module
> --------------------------------------------------------------------
>
> Key: GERONIMO-4603
> URL: https://issues.apache.org/jira/browse/GERONIMO-4603
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 2.1.4, 2.2
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 2.1.5, 2.2
>
>
> In production you want to replace the toy properties login realm with something else such as an ldap realm. However the admin console has a hardwired dependency on the properties-login gbean.
> We should make the reference from PropertiesLoginManager multi-valued and scan through it for properties login modules so you can edit any such properties files.
> Workaround for replacing server-security-config with something with a real security realm is to include the properties login module as a dummy, not used in a security realm:
> <!-- bug workaround -->
> <gbean name="properties-login"
> class="org.apache.geronimo.security.jaas.LoginModuleGBean">
> <attribute name="loginModuleClass">org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</attribute>
> <attribute name="options">
> usersURI=var/security/users.properties
> groupsURI=var/security/groups.properties
> </attribute>
> <attribute name="loginDomainName">geronimo-admin</attribute>
> </gbean>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-4603) PropertiesLoginManager is
hardwired to properties-login login module
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan reassigned GERONIMO-4603:
------------------------------
Assignee: Ivan
> PropertiesLoginManager is hardwired to properties-login login module
> --------------------------------------------------------------------
>
> Key: GERONIMO-4603
> URL: https://issues.apache.org/jira/browse/GERONIMO-4603
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 2.1.4, 2.2
> Reporter: David Jencks
> Assignee: Ivan
> Fix For: 2.1.5, 2.2
>
>
> In production you want to replace the toy properties login realm with something else such as an ldap realm. However the admin console has a hardwired dependency on the properties-login gbean.
> We should make the reference from PropertiesLoginManager multi-valued and scan through it for properties login modules so you can edit any such properties files.
> Workaround for replacing server-security-config with something with a real security realm is to include the properties login module as a dummy, not used in a security realm:
> <!-- bug workaround -->
> <gbean name="properties-login"
> class="org.apache.geronimo.security.jaas.LoginModuleGBean">
> <attribute name="loginModuleClass">org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</attribute>
> <attribute name="options">
> usersURI=var/security/users.properties
> groupsURI=var/security/groups.properties
> </attribute>
> <attribute name="loginDomainName">geronimo-admin</attribute>
> </gbean>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-4603) PropertiesLoginManager is
hardwired to properties-login login module
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan resolved GERONIMO-4603.
----------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.5)
3.0
Commit changes to trunkAt revision: 816624 and 2.2 At revision: 816623
> PropertiesLoginManager is hardwired to properties-login login module
> --------------------------------------------------------------------
>
> Key: GERONIMO-4603
> URL: https://issues.apache.org/jira/browse/GERONIMO-4603
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 2.1.4, 2.2
> Reporter: David Jencks
> Assignee: Ivan
> Fix For: 2.2, 3.0
>
>
> In production you want to replace the toy properties login realm with something else such as an ldap realm. However the admin console has a hardwired dependency on the properties-login gbean.
> We should make the reference from PropertiesLoginManager multi-valued and scan through it for properties login modules so you can edit any such properties files.
> Workaround for replacing server-security-config with something with a real security realm is to include the properties login module as a dummy, not used in a security realm:
> <!-- bug workaround -->
> <gbean name="properties-login"
> class="org.apache.geronimo.security.jaas.LoginModuleGBean">
> <attribute name="loginModuleClass">org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</attribute>
> <attribute name="options">
> usersURI=var/security/users.properties
> groupsURI=var/security/groups.properties
> </attribute>
> <attribute name="loginDomainName">geronimo-admin</attribute>
> </gbean>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-4603) PropertiesLoginManager is
hardwired to properties-login login module
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks reassigned GERONIMO-4603:
--------------------------------------
Assignee: (was: David Jencks)
I'm not going to have time to get this fixed for 2.2 but it is pretty easy and would be great to get in.
> PropertiesLoginManager is hardwired to properties-login login module
> --------------------------------------------------------------------
>
> Key: GERONIMO-4603
> URL: https://issues.apache.org/jira/browse/GERONIMO-4603
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 2.1.4, 2.2
> Reporter: David Jencks
> Fix For: 2.1.5, 2.2
>
>
> In production you want to replace the toy properties login realm with something else such as an ldap realm. However the admin console has a hardwired dependency on the properties-login gbean.
> We should make the reference from PropertiesLoginManager multi-valued and scan through it for properties login modules so you can edit any such properties files.
> Workaround for replacing server-security-config with something with a real security realm is to include the properties login module as a dummy, not used in a security realm:
> <!-- bug workaround -->
> <gbean name="properties-login"
> class="org.apache.geronimo.security.jaas.LoginModuleGBean">
> <attribute name="loginModuleClass">org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</attribute>
> <attribute name="options">
> usersURI=var/security/users.properties
> groupsURI=var/security/groups.properties
> </attribute>
> <attribute name="loginDomainName">geronimo-admin</attribute>
> </gbean>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.