[JBoss JIRA] Created: (GTNPORTAL-1928) DB+LDAP: Only users from DB are shown in organization management if LDAP don't support sorting
by Marek Posolda (JIRA)
DB+LDAP: Only users from DB are shown in organization management if LDAP don't support sorting
----------------------------------------------------------------------------------------------
Key: GTNPORTAL-1928
URL: https://issues.jboss.org/browse/GTNPORTAL-1928
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 with latest exo.portal.component.identity and picketlink 1.3.0.Alpha03
- EPP configured with read-only LDAP server (corporate LDAP is used)
Reporter: Marek Posolda
Assignee: Boleslaw Dawidowicz
Fix For: 3.2.0-GA
I have EPP configured with RH corporate LDAP server in read-only mode (Configuration files are attached to JIRA GTNPORTAL-1925 )
And then doing this:
- Login as john
- Going to organization management page (I should see users from DB and LDAP but I am seeing only users from DB, which is not good)
The cause is that RedHat corporate LDAP server is not supporting sortinng. And option "sortExtensionSupported" of LDAPIdentityStore is true by default. This is causing that searching in LDAP is failing with exception: javax.naming.OperationNotSupportedException: [LDAP: error code 12 - Sort Response Control]; remaining name 'ou=users,dc=redhat,dc=com'
And in FallbackIdentityStoreImpl.findIdentityObject(invocationCtx, identityType, criteria) we can see this piece of code:
{code}
try
{
IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationCtx);
results.addAll(targetStore.findIdentityObject(targetCtx, identityType, c));
}
catch (IdentityException e)
{
if (log.isLoggable(Level.FINER))
{
log.log(Level.FINER, "Exception occurred: ", e);
}
}
{code}
which means that exception from LDAP is quitly ignored (because LogLevel FINER is not enabled by default) and so that users from LDAP are ignored and whole output of method FallbackIdentityStoreImpl.findIdentityObject are only users from DB.
I think that exception should be logged with bigger level then FINER and maybe some more information in documentation should be provided about option "sortExtensionSupported" . AFAIK this option is not mentioned nowhere in documentation and it's not in standard example configuration files (picketlink-idm-ldap-acme.xml and others). I think it makes sense to mention this option more loud because sorting may not be supported by some LDAP server.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (GTNPORTAL-1923) Jetty packaging problems in Ubuntu and Windows
by kien nguyen (JIRA)
Jetty packaging problems in Ubuntu and Windows
----------------------------------------------
Key: GTNPORTAL-1923
URL: https://issues.jboss.org/browse/GTNPORTAL-1923
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Packaging
Environment: Ubuntu 10.10, Windows XP
Reporter: kien nguyen
Assignee: Alain Defrance
Attachments: jetty_ubuntu_fix.patch
We have some problems with Jetty packaging:
In Ubuntu: When I run gatein.sh, I always get error "** ERROR: JETTY_HOME not set, you need to set it or install in a standard location". Because Jetty can't auto detect JETTY_HOME variable in Ubuntu OS, so we should set it in gatein.sh. see patch sample
In Windows: gatein.bat call jetty.bat for running, but Jetty don't have jetty.bat file, we can run by "Jetty-Service.exe" (jetty6) or create our jetty.bat.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (GTNPORTAL-1903) Possible NPE in org.exoplatform.portal.webui.util.Util.getPortalRequestContext()
by Romain Dénarié (JIRA)
Possible NPE in org.exoplatform.portal.webui.util.Util.getPortalRequestContext()
--------------------------------------------------------------------------------
Key: GTNPORTAL-1903
URL: https://issues.jboss.org/browse/GTNPORTAL-1903
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.1.0-GA
Environment: tomcat, webservice call
Reporter: Romain Dénarié
Hi, in method Util.getPortalRequestContext(), I have a null pointer exception.
In fact, I make a webservice call on components above Gatein. Theses components make a call to getPortalRequestContext() without portalContext because of REST.
So this line
{code}context = (WebuiRequestContext)context.getParentAppRequestContext();{code}
throws a NPE.
This exception should be catched and method should return null.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months