I am using form based authentication (tomcat 7.0.34) and I have the
implementation of custom realm class which extends RealmBase class. Inside
the getPrincipal() method implementation, I am calling backend service to
save some login details. I need to pass host name to backend (I have 2
applications running under different hosts connected to same DB, so to know
the login source of user). Hosts are configured in server.xml.

Any help/links/URL much appreciated.

Neeraj

Reply via email to