[cas-dev] How can one detect the client ip address
Scott Battaglia
scott.battaglia at gmail.com
Tue Jan 16 23:41:46 EST 2007
There is no easy way to access that event from an AuthenticationHandler
(other than putting it in a ThreadLocal). You can extend the
UsernamePasswordCredentials to include an HttpServletRequest object and
create a custom CredentialsBinder to inject that object into the credentials
in the AuthenticationViaForm action. This would then be available to any
handler.
-Scott
On 1/12/07, Stephen More <stephen.more at gmail.com> wrote:
>
> Is there currently a method that will allow one to configure a generic
> adaptor to an allowable set or range of specific ips ?
>
> If not, how can one access the org.jasig.cas.event.HttpRequestEvent
> from AbstractUsernamePasswordAuthenticationHandler ?
>
> -Thanks
> Steve More
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20070116/d5ebfe9a/attachment.html
More information about the cas-dev
mailing list