> > > Do you mean you have a test case that tests the login module without > any usage of Jackrabbit, and that one works? How does it ask for > username and password then? I guess you don't mean the webdav login > here. >
Yes you are right when i test them as standalone without the usage of the jackrabbit they work fine (you can see the sample programs i' m using in jaas authentication tutorials ). And yes in above lines i' m not talking about the webdav login. I guess this is just a typo in the mail... it should be <LoginModule > class="sample.SampleAcn">. > yes that was an typo in the mail it is <LoginModule class="sample.SampleAcn"> > > > and sample is kept in %CATALINA_HOME's/lib directory > > Did you put it into a JAR file? (Not sure if tomcat allows for loading > class files from lib, but I would think so, especially as the last > error you gave did not indicate that the class wasn't found). No, i simply copied the class files into the tomcat6.0/ lib directory. Actually this is my first time working with Web Server and Web Applications so please don't mind my mistake. > > > > http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Securityconfiguration > > The above link is not feeding up to the mark. > > What are you missing? I was pointing to that link merely for the links > to the API/interface to be implemented. > > Ok. I have actually read all about the jaas authentication and security configuration from apache's jackrabbit website. All i want to ask you personally that can you please visit* http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html *and tell me am i going wrong or right. Actually what i did is just tested the sample programs given there and then binded them in packages as written there so far right they are working fine with username "testUser" and password "testPassword". But i want them to link them at <LoginModule class = ""> so that whenever i log onto the * localhost:8080/jackrabbit-webapp-1.5.6/repository/default/* then it should ask for certain username and password like testUser and testPassword. I' m stuck on this issue and after scratching half of my head i' m in need of some professional users and developers of jackrabbit. Thank you for giving reply to my previous post and in advance
