Setting serviceProperties in Acegi

Scott Battaglia scott.battaglia at gmail.com
Fri Jan 19 09:26:29 EST 2007


Ben, Ray, and I have answered how to set the serviceUrl for Acegi on the
acegi list.

-Scott

On 1/19/07, mario.buonopane at accenture.com <mario.buonopane at accenture.com>
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.getLocalPort()+"/"+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.
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070119/aa8a74ab/attachment.html


More information about the cas mailing list