In tomcat server, we plan to implement form based authentication using JNDI realm (for our new project). Apart from user name and password, we require domain name from user.
Req object contains username, passwors and domain. Is it possible to retrieve domain value from req in realm class.