Try using request.getRemoteUser(). Since authentication was successful but authorization was not, I am unsure if that method will return the desired value.

-Tim

Stephen Ting wrote:

I created a custom error page, and it's work. However, I need to include
some additional message, such as user not in the role to access that
page or etc, such as message shown below from tomcat default error page.
Can somebody give me some pointer how to archive this?



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to