[
https://issues.apache.org/jira/browse/KARAF-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved KARAF-3704.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.4.3
4.0.0.M3
3.0.4
commit fix
http://git-wip-us.apache.org/repos/asf/karaf/commit/ef3e1113 for karaf-2.x
branch
http://git-wip-us.apache.org/repos/asf/karaf/commit/3d4ed741 for karaf-3.0.x
branch
http://git-wip-us.apache.org/repos/asf/karaf/commit/ee4faef9 for master
> Command jaas:groupadd allows adding duplicite groups
> ----------------------------------------------------
>
> Key: KARAF-3704
> URL: https://issues.apache.org/jira/browse/KARAF-3704
> Project: Karaf
> Issue Type: Bug
> Components: karaf-security
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 3.0.4, 4.0.0.M3, 2.4.3
>
>
> for example, if we use
> {code}
> 1. Check jaas:realms (select module PropertiesLoginModule)
> 2. jaas:manage --index 1
> 3. jaas:useradd foo foo
> 4. jaas:groupcreate cool
> 5. jaas:groupcreate cool
> 6. jaas:groupadd foo cool
> 7. jaas:groupadd foo cool
> {code}
> then in the etc/users.propertries we can see
> {code}
> foo = foo,_g_:cool,_g_:cool
> {code}
> the duplicated group for foo should be avoided
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)