> I have a requirement to let the user check a button to remember the username.
> ...Is there an example of how to do this?

Not afaik, but it's fairly straightforward to sketch out one
implementation based on cookies:

 - Add a checkbox to the form that sets a post variable (e.g.
rememberUser) when checked
 - Upon successful authentication, customize login Webflow to examine
the rememberUser request parameter
 - If rememberUser==true, set a cookie containing username
 - Examine cookie on subsequent renderings of login form and populate
username field accordingly

Helpful links:
 - 
https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/login-webflow.xml
 - 
http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/util/CookieGenerator.html

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to