The login form is just a basic JSP page which you can edit as much as you'd
like.  We use normal Spring binding for mapping parameters to the data
objects.  So just extend the UsernamePasswordCredentials class with your own
and configure that (and a name) in the AuthenticationViaForm action.  If the
property name matches the request parameter it will be bound automatically.

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Tue, Oct 21, 2008 at 1:16 AM, Svetozar Radojčin <
[EMAIL PROTECTED]> wrote:

>  Hi all,
>
> One of my web applications using CAS for Sign on, beside usual
> username/password, requires third parameter on the login form.
>
> So question is :
>
>    1. it is possible to use custom login form (and how ?)
>    2. how to deliver this another, third parameter to the web application,
>    protected by Acegi, and how to get this third parameter ?
>
>
>
> Any example, documentation, anything ?
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to