I think so. The only way I could get it to work was the addition of a single line of code, and I could not see any way for it to work without the addition of that line of code. I'd be happy to submit an update, I just was not sure as to the procedure.
Brenden Rudnick Email: [email protected] Cell: 843.513.3082 ________________________________________ From: Kurt T Stam [[email protected]] Sent: Tuesday, September 27, 2011 9:05 AM To: [email protected] Subject: Re: Problem with LDAP authenticator Hi Brenden, Did we ever look into this? Looks like you may have found a bug here, do we need to open a jira for this? --Kurt On 8/17/11 11:40 AM, Brenden Rudnick wrote: > Hi all, > I am having a problem using using the LdapSimpleAuthenticator. Whenever I > attempt to authenticate > with a valid LDAP user, I get an UnknownUserException. I have traced the > problem to the isLdapUser > boolean in the authenticate() method in LdapSimpleAuthenticator. This > boolean is initialized > to "false", and subsequently never reset, such that the later if-statement > check on isLdapUser > always returns false, and an UnknownUserException is always thrown. If I set > this boolean > to "true" once I successfully create an InitialLdapContext, then my error > disappears. My > question is, is there some other way to fix this problem other than modifying > jUDDI code?
