Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Sun App Platform
Description
From Shing Wai Chan:
Around line 88 of CustomUserRegistry.java, we have
// Try to get SSO data from HttpServletRequest
userName = getRequestAttribute(request,
WebloggerConfig.getProperty(
UID_LDAP_PROPERTY, DEFAULT_SNAME_LDAP_ATTRIBUTE));
I think there is a typo here.
It should be
// Try to get SSO data from HttpServletRequest
userName = getRequestAttribute(request,
WebloggerConfig.getProperty(
UID_LDAP_PROPERTY, DEFAULT_UID_LDAP_ATTRIBUTE));
Note that we should have DEFAULT_UID_LDAP_ATTRIBUTE rather than
DEFAULT_SNAME_LDAP_ATTRIBUTE.