You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ko...@infineon.com on 2004/09/22 08:42:56 UTC
JAAS in combination with WAR
Hi!
I want to develop a webapp which should be easily deployable by using a
WAR file. So, as I found out, I can place the context descriptor as
context.xml in the META-INF directory.
But I have some problems concerning the JAASRealm.
First, the location of the jaas config file has to be set via a system
property. How can I handle that by using a WAR??
Second, the my implementation of the LoginModule is bundled in a jar
file. If the jar is placed in the WEB-INF/lib directory of my webapp,
authentication with jaas doesn't succeed. If I put it into tomcat's
common/lib directory, it starts working. Are there any possibilities to
deploy the login jar within my webapp??
regards & thanx, Ingo
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org