-
2. Re: Authentication problem in jUDDI
sorkun Apr 29, 2006 2:58 PM (in response to sorkun)sorry, but this page doesn't help me out..maybe because I am using MySQL. Anyway I found another approach: I pasted the juddi.war file I downloaded from ws.apache.org/juddi together with the mysql-ds.xml into the deploy directory, added the mysqlconnector.jar into the lib directory and made appropriate changes to the juddi.properties file. So far everything works fine - except that no real authentification takes place, whenever I want to publish any information to the registry. I read that I could change that by manipulating the "juddi.auth = ..." entry in the juddi property file. Maybe using the JbossAuthenticator class instead of the default one. Is this the right approach?
-
3. Re: Authentication problem in jUDDI
thomas.diesler Apr 29, 2006 4:47 PM (in response to sorkun)This should be addressed by
http://jira.jboss.com/jira/browse/JBWS-869 -
4. Re: Authentication problem in jUDDI
anil.saldhana Apr 30, 2006 12:04 PM (in response to sorkun)The juddi integration in jboss is database agnostic (I mean the database loading scripts). Did you add the userid/pair to the "juddi_data.ddl" script?
If the default authenticator is not doing the right job, then you can use the jboss authenticator as you suggested. But I have not played with it. -
5. Re: Authentication problem in jUDDI
sorkun Apr 30, 2006 3:33 PM (in response to sorkun)..i finally found a simple approach:
1. I set the "juddi.auth" -entry in the juddi.properties file to "org.apache.juddi.auth.XMLDocAuthenticator"
2. Furthermore I added the absolute path to the juddi-users.xml file. (In my case: "juddi.users = C:/jboss/server/default/deploy/juddi.war/WEB-INF/juddi-users.xml")
3. Now I can obtain an authentication token using the username and password, which I specified in the juddi-user.xml file.