How to protect a directory with Private JVM?
IMPORTANT NOTE: Please do not modify system files without a backup copy of them.
In order to use protected directory with Private JVM enabled, you should edit the files below:
-
your application web.xml
-
tomcat-users.xml, which is located in your Private JVM configuration directory.
Your application web.xml should contains:
`
Wildcard means whole app requires authentication
/*
GET
POST
tomcat
BASIC
`
Your tomcat-users.xml should contains:
Updated 4 months ago