Hi,
I was trying to use JAASRealm and I noticed that it is possibile to
bundle my LoginModule with the webapp (useContextClassLoader) but it is
not possibile to bundle a login.properties files
// this constructor uses default JVM JAAS Configuration
// from JAASRealm.java
loginContext = new LoginContext(appName, callbackHandler);
// the constructor I would like to be used
URI = URI that gets a .properties file thru the classloader of my app
ConfigFile file = new ConfigFile(URI);
loginContext = new LoginContext(appName, callbackHandler,...,ConfigFile);
can you add a configuration property for that realm in order to
configure a JAAS ConfigFile ?
in this way I can bundle my login.properties file inside the app or in
some JAR to be distributed
Thank you
- Enrico
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org