1. The class is called: XMLDocAuthenticator not XMLDocAuthentication.
2. Next you may run into:
https://issues.apache.org/jira/browse/JUDDI-466m which is fixed on the
trunk, BTW we will start a vote for release any day now.
Cheers,
--Kurt
On 4/27/11 7:54 AM, Computer Learning Inst wrote:
Hello jUDDI users:
A small query.
I am using
"juddi.authenticator=org.apache.juddi.v3.auth.XMLDocAuthentication".
I did this change and restarted the jUDDI instance. I kept getting
NullPointerExceptions (included below) once I was logged in to the
pluto portal (http://localhost:8080/pluto/portal) -- creds: root/root.
Regarding "juddi-users.xml":
juddi.usersfile=juddi-users.xml
Commenting or un-commenting the above line did not make any
difference. The file 'juddi-users.xml' is located at
"...juddi-portal-bundle-3.0.4\webapps\juddiv3\WEB-INF\classes"
What am I missing?
Caused by: java.lang.NullPointerException
at
org.apache.juddi.v3.auth.AuthenticatorFactory.createAuthenticator(AuthenticatorFactory.java:88)
at
org.apache.juddi.v3.auth.AuthenticatorFactory.getAuthenticator(AuthenticatorFactory.java:48)
at
org.apache.juddi.api.impl.AuthenticatedService.getEntityPublisher(AuthenticatedService.java:50)
at
org.apache.juddi.api.impl.JUDDIApiImpl.getPublisherDetail(JUDDIApiImpl.java:171)
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
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
... 30 more