Greetings,

First, thanks for all of your hard work on Shiro! This is my first time
using it, and already I have gained a great appreciation for the
functionality that it offers.

I have a question... With my web app, the login page is a JSP, and I have
two realms that are checked. This is an intranet app, so if login fails, I
need to inform the user why it failed so she knows who to contact to resolve
the problem. However, I don't know how to determine, from the login page,
what caused authentication to fail. The documentation suggests that the only
way to determine this is to execute the login method yourself inside of a
try-catch, but I am not explicitly executing the login method anywhere in my
app.

Is there another way to determine what caused authentication to fail? Thanks
very much!

-M.

Reply via email to