Using the default-web.xml File
You can use the default-web.xml file to define features such
as filters and security constraints that apply to all web applications.
To use the default-web.xml file
-
Place the JAR file for the filter, security constraint, or other
feature in the domain-dir/lib directory.
-
Edit the domain-dir/config/default-web.xml file
to refer to the JAR file.
-
Restart the server.