Tim,

On 4/7/21 14:22, Tim K wrote:
I have a custom realm which I'm receiving custom messages back within
the realm code and I want to display these messages on the login page,
but I have no idea how this can be accomplished with a custom realm
which is overriding the Principle authenticate method.  Any help would
be appreciated, Tomcat is version 9.

You can't, using the existing API.

You might be able to do it with some nasty ThreadLocal solution, but I think you are stuck without resorting to legerdemain.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to