Le 30/04/2014 03:58, rejimk a écrit :
First, I wanted to know if this is the correct approach; especially doing
the authentication in My Action class.

That's what I do. Actually, I do the authentication in LoginAction by ONLY to catch exception, do addActionError and return INPUT. But this code is not called if ShiroFilter intercepted request with good credentials.

The actual authentication is by ShiroFilter not the action.

--
Brendan Le Ny, Code Lutin
[email protected]
(+33) 02 40 50 29 28

Reply via email to