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.


Do you know where shouyld I put all the related classes ?

Thanks




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to