Hi,

I am attempting to configure the juddi 3.1.0 pluto portal to use the
LDAP v3 interface that is accessible with MS Active Directory.

I changed the juddiv3.properties in the
<juddi-portal>/webapps/juddiv3/WEB-INF/classes and in
<juddi-portal>/webapps/uddi-portlets/WEB-INF/classes

# jUDDI Authentication module to use
#juddi.authenticator = org.apache.juddi.v3.auth.JUDDIAuthenticator
juddi.authenticator=org.apache.juddi.v3.auth.LdapSimpleAuthenticator
juddi.authenticator.url=ldap://myldapserver.net:389


I am able to use JXplorer to browse that same LDAP server (using the
same port, LDAP v3, User+Password, a password, and a User DN
containing DC=something,DC=net

When I log into the juddi pluto portal, I can get authenticated at the front.
But when I click on any of the portlet links, for example, the jUDDI,
jUDDI Subscriptions, jUDDI Admin, the browser reports an error related
this juddi.log entry (below)

If I use uddi/uddi as userid and password, I get this error.   If I
use an actual user entry, I cannot log into the main juddi pluto
portal -- reports that the user cannot be authenticated.


Can someone point to me some additional LDAP configuration required for JUDDI ?

I saw this jira related items but they are either too old, incomplete,
or related to the novell LDAP.

https://issues.apache.org/jira/browse/JUDDI-405
https://issues.apache.org/jira/browse/JUDDI-399
https://issues.apache.org/jira/browse/JUDDI-16
https://issues.apache.org/jira/browse/JUDDI-15
https://issues.apache.org/jira/browse/JUDDI-317


2011-09-26 15:12:20,758 INFO
[org.apache.juddi.v3.auth.LdapSimpleAuthenticator] - uddi is
authenticated
2011-09-26 15:12:20,789 ERROR
[org.apache.juddi.portlets.server.service.SecurityServiceImpl] - Could
not obtain token. The user provided does not have a publishing
account:  uddi
javax.xml.ws.soap.SOAPFaultException: The user provided does not have
a publishing account:  uddi
        at 
com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
        at 
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
        at 
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
        at 
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
        at $Proxy95.getAuthToken(Unknown Source)
        at 
org.apache.juddi.portlets.server.service.SecurityServiceImpl.login(SecurityServiceImpl.java:130)
        at 
org.apache.juddi.portlets.server.service.SecurityServiceImpl.get(SecurityServiceImpl.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
        at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
        at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at 
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)

Reply via email to