Authentication on the service parameter
Scott Battaglia
scott.battaglia at gmail.com
Tue Feb 27 23:54:13 EST 2007
You merely need to extend the UsernamePasswordCredentials and add
getters/setters for your additional properties. Since they are part of the
Request, Spring will automatically bind matching request parameters to
matching properties.
-Scott
On 2/27/07, Harry Ng <harryworld at gmail.com> wrote:
>
> Hi all,
>
> I have a question here. During the authentication, I would like to check
> some additional information/parameters provided to the CAS Server. Let say I
> also check the content of "service" parameter, so that only appropriate
> service will lead to successful authentication.
>
> I understand somehow this is an authorization problem, but please take
> this as just an example, since I may need some other parameters or
> information for authentication.
>
> How can I implement this? Is there any example for me to refer?
>
> Thanks,
> Harry
>
> --
> My Weblog - http://wpmu.planner4u.org/
> _______________________________________________
> 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/20070227/3b9084f8/attachment.html
More information about the cas
mailing list