AuthenticationHandler and HttpServletRequest
Scott Battaglia
scott.battaglia at gmail.com
Mon Nov 27 08:58:53 EST 2006
You should extend the UsernamePasswordCredentials to hold a
HttpServletRequest object and then create a CredentialsBinder that will take
the Request and place it in your new credentials object. This would be
wired into the AuthenticationViaForm action. You would need to set the
following properties:
formObjectName (set to "credentials")
formObjectClass (set to my.class.Credentials)
credentialsBinder (reference to your CredentialsBinder)
-Scott
On 11/24/06, vincent.jaulin at keyphrene.com <vincent.jaulin at keyphrene.com>
wrote:
>
> Hi,
>
> How can I get a HttpServletRequest object in an AuthenticationHandler?
>
> Thanks
> Best regards
> Vincent Jaulin
>
>
> _______________________________________________
> 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/20061127/bc016b5c/attachment.html
More information about the cas
mailing list