|
Problem with LDAP filter values substitution: msg#00084java.jasig.cas.user
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)Hello all. From what I see in org.jasig.cas.adaptors.ldap.util.LdapUtils : for (final Iterator iter = properties.keySet().iterator(); iter.hasNext();) { final String key = (String) iter.next(); final String value = properties.getProperty(key, ""); newFilter = newFilter.replaceFirst(key, value); } we can't have queries that use the same parameter more than once in the search filter. Like, for example, (|(email=%u)(alias=%u)). Only the first %u is substituted. Is there a good reason for this? I'm going to have to declare two authenticationHandlers so I can make that query. Also, is there a way to set the REMOTE_USER to an ldap attribute that is retrieved with that query? For example, if someone logs in with a mail alias I would like the REMOTE_USER to be the primary email... Thanks for the help, André Cruz
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Shibboleth idp and CAS, Patrick MacDonald |
|---|---|
| Next by Date: | Re: spnego startup, Arnaud Lesueur |
| Previous by Thread: | websso-3.0.5 and webflow problem, upasana immidi |
| Next by Thread: | Re: Problem with LDAP filter values substitution, Scott Battaglia |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |