I have a authenticator valve defined in tomcat, So I have a servlet which is unprotected(doesn't comes under security constraint) will preprocess those request and forward it to a protected servlet. The forward will contain the necessary parameter to authenticate the user defined by valve. Will forwarding the request from one servlet to another will go through the valve?
Thanks in advance, I am new to developing so sorry if I specified any terms wrong :)
Also how does tomcat knows that this valve is defined for authentication?