I have already done this, but I have not found a good solution to make it work. I someone that has put it to work could send me his/her configuration it would be a great help.
Cheers Antony Bowesman wrote: >Ismael Blesa Part wrote: > >>Hi have modified the sample given with JAAS 1.0. I have developed a >>jsp that calls the sample.java file. This file has been modificated >>in >>several ways, the main method has been changed to a method class and >>some other changes to adapt it to a web application. >>The problem is that when I try to run the jsp I get the following error: >>java.lang.SecurityException: unable to instantiate LoginConfiguration >>at >>javax.security.auth.login.Configuration.getConfiguration(Configuration.java:212) >>at javax.security.auth.login.LoginContext$1.run(LoginContext.java:166) >>at java.security.AccessController.doPrivileged(Native Method) >>at javax.security.auth.login.LoginContext.init(LoginContext.java:163) >>at javax.security.auth.login.LoginContext.(LoginContext.java:319) >>at sample.Sample.run(Sample.java:47) >>at org.apache.jsp.Login$jsp._jspService(Login$jsp.java:64) >> >>I have tried copying the jaas.jar, the sample_jaas.config and the >>loginmodule classes to all the places where I think that it should work. >> > >Have a look at the tomcat-user archives for messages 'JAAS not working >any more with Tomcat 4.0'. (Oct 2001) > >Antony > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>