java - How to define Tomcat security Realms per webapp -
when using jaas jdbcrealms tomcat, define realm in server.xml. looking simpler solution, don't have configure tomcat container when deploying application.
if possible, keep jaas configuration in web.xml , define realm per application/webapp.
one thread mentions did defining realm in meta-inf/context.xml of webapp.. not working (why tomcat manager using loginmodule?).
please me find correct location in .war define org.apache.catalina.realm.jdbcrealm used webapp.
to define own jdbcrealm, create meta-inf/context.xml in own web application.
configure jdbcrealm according specification based on tomcat server versions:
these links shows how configure jdbcrealm.
Comments
Post a Comment