Re: [Acegisecurity-developer] How know password authenticated by CAS
Thanks Scott, is there a way to force cas re-authentication in onSuccessfulAuthentication method if some condition is verified? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Battaglia Sent: 20 febbraio 2007 13.40 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] How know password authenticated by CAS CAS does not return the password to the client application. If you need to authenticate the user against another application or service, you should probably use the proxying capabilities of CAS. -Scott [EMAIL PROTECTED] wrote: > Is there a secure way to know the password used by cas to authenticate > the user? I'm extending org.acegisecurity.ui.cas.CasProcessingFilter > and in method onSuccessfulAuthentication I need to know the password. > > Thanks in advance > > Mario Buonopane > > 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=DEVD EV > >--- - > >___ >Home: http://acegisecurity.org >Acegisecurity-developer mailing list >Acegisecurity-developer@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > > - 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=DEVDE V ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer 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
[Acegisecurity-developer] How know password authenticated by CAS
Is there a secure way to know the password used by cas to authenticate the user? I'm extending org.acegisecurity.ui.cas.CasProcessingFilter and in method onSuccessfulAuthentication I need to know the password. Thanks in advance Mario Buonopane 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
Re: [Acegisecurity-developer] Setting serviceProperties in Acegi
Here is what I did to resolve the problem: 1) I have create a filter that build the servicesProperties url in a static property. This is the code: public class CasAcegiServicePropertyFilter implements Filter { public static String casAcegiServicePropertyValue=null; private static final Log log = LogFactory.getLog(CasAcegiServicePropertyFilter.class); public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if(casAcegiServicePropertyValue==null){ HttpServletRequest request = (HttpServletRequest)req; String cp = request.getContextPath(); if(!cp.startsWith("/"))cp="/"+cp; casAcegiServicePropertyValue = request.getScheme()+ "://"+request.getLocalAddr()+ ":"+request.getLocalPort()+ cp+ "/j_acegi_cas_security_check"; log.info("casAcegiServicePropertyValue:"+ casAcegiServicePropertyValue); } chain.doFilter(req, res); } 2) I have subclassed ServiceProperties in this way: public String getService() { if(super.getService()!=null) return super.getService(); else return CasAcegiServicePropertyFilter.casAcegiServicePropertyValue; } 3) I have configured the CasAcegiServicePropertyFilter how first and serviceProperties with no service url. Seems to work well.WHAT DO YOU THINK? Thanks Mario -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Krueger Sent: 19 gennaio 2007 15.14 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] Setting serviceProperties in Acegi OK... Subclassing ServiceProperties isn't going to do any good, because you don't have access to the HttpRequest. You can use a PropertyPlaceHolderConfigurer so that your xml looks like... ${serviceProperties.serviceUrl} false And then you can externalize these deployment specific parameters into a properties file that gets setup at the client site. We should consider adding a hookmethod into the CasProcessingFilterEntryPoint to allow customization of how the serviceUrl is added to the cas redirect. Oh, and a little tip, you don't have to hard code the http:// part you can use request.getScheme() (terrible name, go Sun). On 1/19/07, Ray Krueger <[EMAIL PROTECTED]> wrote: > Now that I read your email a little more thoroughly, let me take a > closer look. Personally I've never used the CAS support in Acegi. > > I'll get back to you in a minute or two :) > > > On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Sorry Ray, but how can I use PropertyPlaceholderConfigurer for this > > scope? Can you explain me with an example please? > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Ray Krueger > > Sent: 19 gennaio 2007 13.07 > > To: acegisecurity-developer@lists.sourceforge.net > > Subject: Re: [Acegisecurity-developer] Setting serviceProperties in > > Acegi > > > > Ben answered your original email on this subject... > > > > Is there a reason you cannot use a PropertyPlaceholderConfigurer? > > > > http://www.springframework.org/docs/api/org/springframework/beans/factor > > y/config/PropertyPlaceholderConfigurer.html > > > > > > > > On 1/19/07, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > In using Acegi with Cas in a web application. As you know, I have to > > set the > > > serviceProperties property of CasProcessingFilterEntryPoint to the url > > that > > > CAS will call after authentication. I don't like to set this url in > > > applicationContext-acegi-security.xml but I prefere this > > > value Is build automatically. To do it I'm going to extends > > > org.acegisecurity.ui.cas.ServiceProperties with a class > > > that try to build the service property if is not setted (null) using > > > something like this: > > > > > > > > > > > > > > serviceProperties="http://"+request.request.getLocalAddr()+":"+request.g > > etLocalPort()+"/"+request.getContextPath()+"/j_acegi_cas_security_check" > > > > > > (I don't use https in this case) > > > > > > > > > > > > What's your opinion? > > > > > > > > > > > > Please, any suggestions are welcome. > > > > > > > > > > > > Regards > > > > > > Mario Buonopane > > > > > > > > > > > > > > > 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 chanc
Re: [Acegisecurity-developer] Setting serviceProperties in Acegi
Sorry Ray, but how can I use PropertyPlaceholderConfigurer for this scope? Can you explain me with an example please? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Krueger Sent: 19 gennaio 2007 13.07 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] Setting serviceProperties in Acegi Ben answered your original email on this subject... Is there a reason you cannot use a PropertyPlaceholderConfigurer? http://www.springframework.org/docs/api/org/springframework/beans/factor y/config/PropertyPlaceholderConfigurer.html On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > In using Acegi with Cas in a web application. As you know, I have to set the > serviceProperties property of CasProcessingFilterEntryPoint to the url that > CAS will call after authentication. I don't like to set this url in > applicationContext-acegi-security.xml but I prefere this > value Is build automatically. To do it I'm going to extends > org.acegisecurity.ui.cas.ServiceProperties with a class > that try to build the service property if is not setted (null) using > something like this: > > > > serviceProperties="http://"+request.request.getLocalAddr()+":"+request.g etLocalPort()+"/"+request.getContextPath()+"/j_acegi_cas_security_check" > > (I don't use https in this case) > > > > What's your opinion? > > > > Please, any suggestions are welcome. > > > > Regards > > Mario Buonopane > > > > > 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=DEVDE V > > ___ > Home: http://acegisecurity.org > Acegisecurity-developer mailing list > Acegisecurity-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > > > - 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=DEVDE V ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer 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
[Acegisecurity-developer] Setting serviceProperties in Acegi
In using Acegi with Cas in a web application. As you know, I have to set the serviceProperties property of CasProcessingFilterEntryPoint to the url that CAS will call after authentication. I don't like to set this url in applicationContext-acegi-security.xml but I prefere this value Is build automatically. To do it I'm going to extends org.acegisecurity.ui.cas.ServiceProperties with a class that try to build the service property if is not setted (null) using something like this: serviceProperties="http://"+request.request.getLocalAddr()+":"+request.g etLocalPort()+"/"+request.getContextPath()+"/j_acegi_cas_security_check" (I don't use https in this case) What's your opinion? Please, any suggestions are welcome. Regards Mario Buonopane 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
[Acegisecurity-developer] Configuring org.acegisecurity.ui.cas.ServiceProperties
I'm configuring org.acegisecurity.ui.cas.ServiceProperties with the following service property value: http://company/casclient/j_acegi_cas_security_check I have to deploy my application for more than one company and in more than one application, so I have to change http://company/casclient setting different values to "company" and "casclient". Is there a way to set just "/j_acegi_cas_security_check" and let some component add the default value of domain and app name? My English is very bad and i hope the problem is understandable :-) Thanks in advance Mario Buonopane 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
Re: [Acegisecurity-developer] how receive notificationofauthentionok
And how you obtain the HttpSession object? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manoj Sahu Sent: 3 gennaio 2007 17.23 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notificationofauthentionok I don't think so. You are basically working with Spring's application context. The application event however does have basic information like remote ip, user name etc. Authentication authentication = authEvent.getAuthentication(); WebAuthenticationDetails details = (WebAuthenticationDetails) authentication.getDetails(); // Now you can use these objects // authentication.getName() // details.getRemoteAddress() [EMAIL PROTECTED] wrote: There is just one problem in using the listener: I think is not possible to access to the HttpSession objectis there a way to do it? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 3 gennaio 2007 16.56 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notificationofauthentionok :-) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Faerman Sent: 3 gennaio 2007 16.47 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthentionok In My Opinion. You can also see IMHO, In My Humble Opinion. On 1/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks a lot What does mean IMO? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manoj Sahu Sent: 3 gennaio 2007 16.32 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthention ok 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=DEVDE V___ 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 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=DEVDE V ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer 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. 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
Re: [Acegisecurity-developer] how receive notificationofauthentionok
There is just one problem in using the listener: I think is not possible to access to the HttpSession objectis there a way to do it? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 3 gennaio 2007 16.56 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notificationofauthentionok :-) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Faerman Sent: 3 gennaio 2007 16.47 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthentionok In My Opinion. You can also see IMHO, In My Humble Opinion. On 1/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks a lot What does mean IMO? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manoj Sahu Sent: 3 gennaio 2007 16.32 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthention ok 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=DEVDE V___ 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 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=DEVDE V ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer 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. 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
Re: [Acegisecurity-developer] how receive notification ofauthentionok
:-) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Faerman Sent: 3 gennaio 2007 16.47 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthentionok In My Opinion. You can also see IMHO, In My Humble Opinion. On 1/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks a lot What does mean IMO? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manoj Sahu Sent: 3 gennaio 2007 16.32 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthention ok 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=DEVDE V___ 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 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=DEVDE V ___ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer 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
Re: [Acegisecurity-developer] how receive notification ofauthention ok
Thanks a lot What does mean IMO? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manoj Sahu Sent: 3 gennaio 2007 16.32 To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] how receive notification ofauthention ok 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=DEVDE V___ 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 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
[Acegisecurity-developer] how receive notification of authention ok
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