You can override as follows:
public class CustomAuthenticationProcessingFilter extends
AuthenticationProcessingFilter {
@Override
protected void onSuccessfulAuthentication(HttpServletRequest req,
HttpServletResponse resp, Authentication auth) throws IOException {
super.onSuccessfulAuthentication(req, resp, auth);
// Do your logic here
}
...
Alternately, you can also write an application listener and look for a
perticular type of application event :
if (event instanceof AuthenticationSuccessEvent)
IMO, former is a better option.
[EMAIL PROTECTED] wrote: I need to be notified when
authentication is executed successfully because I need to invoke a specific
command in my application. How can I do with Acegi 3 (1.0.3)?
Thanks in advance
Mario
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer