Davis wrote: > > Thank you for your response, > > I tried that too but no luck.
What's the precise problem? What is your error? I have a working system, conf file is specified by CATALINA_OPTS. Antony > > I tried the following ways : > > 1. putting as a System.property, i.e > setProperty("java.security.auth.login.config", "filepath/name"); > > 2. specifying in jre/lib/security/java.security file > > 3. setting to CATALINA-OPTS variable. > > Is there any other ways you can suggest me. I haven't heard success > story from any one integrating jaas into tomcat webserver. > > Any help in this regard in highly appreciated. > > Best Regards > Davis > Elixir Report Support. > > Antony Bowesman wrote: > > > > Davis wrote: > > > > > > Hi All. > > > > > > Right now, I am facing one problem integrating my jaas login module > > > to servlet or JSP using tomcat. I don't find a way to configure the > > > jaas.config file into the server so that the loginContext can find > > > the login module to instantiate from the config file. We can specify > > > this for application using -Doption > > > (-Djava.security.auth.login.config==jaas.config ). > > > > > > Any one did this before ?.. Can you please share with me. > > > > You can set the environment variable CATALINA_OPTS (tomcat 4) or > > TOMCAT_OPTS (tomcat 3) e.g. (NT) > > > > set > > CATALINA_OPTS=-Djava.security.auth.login.config=%CATALINA_HOME%\conf\jaas_config > > > > but there are other issues with Tomcat 4 which relate to loading the > > config concernihng classloaders, search the archives for JAAS if you get > > problems. > > > > Antony > > -- -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>