[JBoss JIRA] Created: (GTNPORTAL-1948) LDAPIdentityStoreImpl not working when LDAP name contains "comma"
by Georg Fleischer (JIRA)
LDAPIdentityStoreImpl not working when LDAP name contains "comma"
-----------------------------------------------------------------
Key: GTNPORTAL-1948
URL: https://issues.jboss.org/browse/GTNPORTAL-1948
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Identity integration
Affects Versions: 3.1.0-GA
Environment: Enterprise Portal Platform 5.1.0
CentOS 5.4
Microsoft Active Directory
Reporter: Georg Fleischer
Assignee: Boleslaw Dawidowicz
Situation:
In our Active Directory the users were created with names containing a comma. For example the user "Andreas Mueller" has the LDAP name "Mueller, Andreas" (see attached screenshot).
I have configured the LDAP Identity store using the predefined configuration: picketlink-idm-msad-readonly-config.xml
All groups and users are displayed correctly in the User- and Group Management of the portal, but the users are not listed inside the groups.
Identified problem:
I tracked down the problem by enabling logging for the LDAPIdentityStoreImpl class and gathered the log attached to this issue.
In my oppinion the problem lies between line 19 and line 20 in the log.
Method 'findIdentityObject' called with arguments: id; CN=Mueller\, Andreas,OU=Stadt,OU=KOMM,OU=IDVSFDP_ORGS,DC=dus,DC=local;
Method 'findIdentityObject' called with arguments: name; Mueller\; IdentityObjectType; SimpleIdentityObjectType{name='msad_roles_type'};
I seems that the correct CN is found, but in the next line the escaped comma was not recognized. Instead of "Mueller\, Andreas" only the name "Mueller\" is used for search. And this user does not exist.
Kind regards,
Georg Fleischer
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] Created: (GTNPORTAL-1913) Incorrect number of users returned by PersistenceManager.getUserCount() when using both DB and LDAP
by Marek Posolda (JIRA)
Incorrect number of users returned by PersistenceManager.getUserCount() when using both DB and LDAP
---------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1913
URL: https://issues.jboss.org/browse/GTNPORTAL-1913
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Identity integration
Affects Versions: 3.1.0-GA
Environment: EPP 5.1.1.DEV01, upgraded latest exo.portal.component.identity from GateIn trunk, picketlink 1.3.0.Alpha03
Reporter: Marek Posolda
Assignee: Boleslaw Dawidowicz
Fix For: 3.2.0-GA
Issue can be simulated for example by:
- Setup EPP with LDAP (OpenDS 2.0) in read-only mode
- Import users by LDIF file 02portal.war/WEB-INF/conf/organization/picketlink-idm/examples
- Run EPP5
- Login as root and go to organization management portlet page. I am seeing only 7 users (because there are 7 users in LDAP) but I am not seeing users like "root" or "john" . When filter is updated to search by username "root", I am seeing user root.
Issue is that right now, method PersistenceManager.getUserCount() is used when there is no filtering by any attribute. And this method return incorrect number of users, because it returns only number of users from LDAPIdentityStore but not from HibernateIdentityStore (HibernateIdentityStore is default store but it's not explicitly mentioned as IdentityStore for type USER) .
This incorrect number is causing that some users are not visible in UI .
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] Created: (GTNPORTAL-1640) Cancelling a page edit results in NPE
by Chris Laprun (JIRA)
Cancelling a page edit results in NPE
-------------------------------------
Key: GTNPORTAL-1640
URL: https://jira.jboss.org/browse/GTNPORTAL-1640
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Chris Laprun
Fix For: 3.2.0-GA
17:22:26,300 ERROR [portal:UIPortalApplication] Error during the processAction phase
java.lang.NullPointerException
at org.exoplatform.portal.webui.portal.UIPortalComposer$Finish2ActionListener.execute(UIPortalComposer.java:694)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:56)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:133)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:37)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:133)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:120)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:110)
at org.exoplatform.web.WebAppController.service(WebAppController.java:139)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months