]
Jan Kalina commented on ELY-856:
--------------------------------
This issue is similar to ELY-794 - it would be solved, if we could use any LDAP attribute
(or identity attribute) as wildcard in filter of attribute mapping.
(But we would need to be able to address entity of attribute by DN!)
Elytron ldap-realm does not support principal to group mapping
(memberOf)
-------------------------------------------------------------------------
Key: ELY-856
URL:
https://issues.jboss.org/browse/ELY-856
Project: WildFly Elytron
Issue Type: Bug
Components: Realms
Affects Versions: 1.1.0.Beta16
Reporter: Ondrej Lukas
Assignee: Jan Kalina
Priority: Blocker
Elytron ldap-realm is not able to work with LDAP which uses principal to group mapping.
It seems that there is currently no way how to configure principal to group mapping in
application server.
Example:
Role {{SomeRole}} is currently not able to be assigned to user {{someUser}} when
following ldif is used. In this case principal to group mapping is provided by attribute
{{description}}, but in can be provided by any attribute (e.g. memberOf). User
{{thisUserIsNotUsed}} is used only for simpler reproduction of issue.
{code}
dn: ou=People,dc=jboss,dc=org
objectclass: top
objectclass: organizationalUnit
ou: People
dn: uid=someUser,ou=People,dc=jboss,dc=org
objectclass: top
objectclass: person
objectclass: inetOrgPerson
uid: someUser
cn: some User
sn: User
userPassword: Password
description: cn=SomeRole,ou=Roles,dc=jboss,dc=org
dn: uid=thisUserIsNotUsed,ou=People,dc=jboss,dc=org
objectclass: top
objectclass: person
objectclass: inetOrgPerson
uid: thisUserIsNotUsed
cn: this User Is Not Used
sn: this User Is Not Used
userPassword: Password
dn: ou=Roles,dc=jboss,dc=org
objectclass: top
objectclass: organizationalUnit
ou: Roles
dn: cn=SomeRole,ou=Roles,dc=jboss,dc=org
objectclass: top
objectclass: groupOfNames
cn: SomeRole
member: uid=thisUserIsNotUsed,ou=People,dc=jboss,dc=org
{code}
Mentioned ldif works with legacy security solution.
This missing feature can cause that migration from legacy security solution will not be
possible -> we request blocker.