The authenticators are meant to be pluggable, so sure - you can write your own authenticator, implementing org.apache.juddi.v3.auth.Authenticator, and then set it in the juddi.auth property.

We'd love a patch though if you could log a JIRA and provide one.



On 08/17/2011 11:40 AM, Brenden Rudnick wrote:
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?

Reply via email to