You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Kurt T Stam <ku...@gmail.com> on 2011/09/27 15:05:43 UTC

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?


Re: Problem with LDAP authenticator

Posted by Kurt T Stam <ku...@gmail.com>.
Great thanks Brenden! Cheers --Kurt

On 9/27/11 4:36 PM, Brenden Rudnick wrote:
> Done.
>
> Brenden Rudnick
> Email:  brenden.rudnick@commitent.com
> Cell:  843.513.3082
> ________________________________________
> From: Kurt T Stam [kurt.stam@gmail.com]
> Sent: Tuesday, September 27, 2011 9:18 AM
> To: dev@juddi.apache.org
> Subject: Re: Problem with LDAP authenticator
>
> Thanks Brenden,
>
> Please open a jira for it and it'd be great if you can attach the patch
> to the jira (and click that you're ok with the Apache license). Sorry
> for letting this sit for so long, I think it everyone was enjoying their
> vacation at the time.
>
> Thanks!
>
> --Kurt
>
> On 9/27/11 9:10 AM, Brenden Rudnick wrote:
>> 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:  brenden.rudnick@commitent.com
>> Cell:  843.513.3082
>> ________________________________________
>> From: Kurt T Stam [kurt.stam@gmail.com]
>> Sent: Tuesday, September 27, 2011 9:05 AM
>> To: dev@juddi.apache.org
>> 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?


RE: Problem with LDAP authenticator

Posted by Brenden Rudnick <br...@commitent.com>.
Done.

Brenden Rudnick
Email:  brenden.rudnick@commitent.com
Cell:  843.513.3082
________________________________________
From: Kurt T Stam [kurt.stam@gmail.com]
Sent: Tuesday, September 27, 2011 9:18 AM
To: dev@juddi.apache.org
Subject: Re: Problem with LDAP authenticator

Thanks Brenden,

Please open a jira for it and it'd be great if you can attach the patch
to the jira (and click that you're ok with the Apache license). Sorry
for letting this sit for so long, I think it everyone was enjoying their
vacation at the time.

Thanks!

--Kurt

On 9/27/11 9:10 AM, Brenden Rudnick wrote:
> 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:  brenden.rudnick@commitent.com
> Cell:  843.513.3082
> ________________________________________
> From: Kurt T Stam [kurt.stam@gmail.com]
> Sent: Tuesday, September 27, 2011 9:05 AM
> To: dev@juddi.apache.org
> 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?


Re: Problem with LDAP authenticator

Posted by Kurt T Stam <ku...@gmail.com>.
Thanks Brenden,

Please open a jira for it and it'd be great if you can attach the patch 
to the jira (and click that you're ok with the Apache license). Sorry 
for letting this sit for so long, I think it everyone was enjoying their 
vacation at the time.

Thanks!

--Kurt

On 9/27/11 9:10 AM, Brenden Rudnick wrote:
> 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:  brenden.rudnick@commitent.com
> Cell:  843.513.3082
> ________________________________________
> From: Kurt T Stam [kurt.stam@gmail.com]
> Sent: Tuesday, September 27, 2011 9:05 AM
> To: dev@juddi.apache.org
> 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?


RE: Problem with LDAP authenticator

Posted by Brenden Rudnick <br...@commitent.com>.
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:  brenden.rudnick@commitent.com
Cell:  843.513.3082
________________________________________
From: Kurt T Stam [kurt.stam@gmail.com]
Sent: Tuesday, September 27, 2011 9:05 AM
To: dev@juddi.apache.org
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?