[MGNLLDAP-23] groups and roles are not resolved correctly if the users are duplicated in magnolia Created: 23/Jan/08  Updated: 27/Nov/13  Resolved: 01/Feb/08

Status: Closed
Project: LDAP Connector
Component/s: None
Affects Version/s: 1.2
Fix Version/s: 1.2.1

Type: Bug Priority: Blocker
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When it tries to read the groups and roles a user has it fails with an exception. The reason is that the data structure has changed from 3.0 to 3.5. Actually the UserManager should be used in that scenario.

ERROR info.magnolia.jaas.sp.ldap.resolver.MagnoliaGroupResolver MagnoliaGroupResolver.java(getNames:44) 22.01.2008 10:17:39 yq12
javax.jcr.PathNotFoundException: yq12
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2501)
at info.magnolia.cms.core.DefaultContent.<init>(DefaultContent.java:131)
at info.magnolia.cms.core.DefaultHierarchyManager.getContent(DefaultHierarchyManager.java:279)
at info.magnolia.jaas.sp.ldap.resolver.MagnoliaGroupResolver.getNames(MagnoliaGroupResolver.java:39)
at info.magnolia.jaas.sp.ldap.LDAPAuthenticationModule.setEntity(LDAPAuthenticationModule.java:143)
at info.magnolia.jaas.sp.AbstractLoginModule.commit(AbstractLoginModule.java:233)


Generated at Mon Feb 12 02:20:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.