hv @ Fashion Content wrote: > How would you configure a login policy where > 1) The last username used is never forgotten(saved in cookie)
You can't do that out of the box. You could investigate plugging into the remember-me filter, though, which has hooks to send back cookies after successful authentication. The cookie would later be read by your login.jsp (or equivalent controller that builds the view). > 2) Some pages are merely dependent on the active user You mean basic authorization approaches? Acegi Security does this in some depth. You should read the reference guide for details. I think there's several chapters on authorization alone. > 3) Other pages are only available to an authorised user See response to question #2. Also have a read of the section about tag libraries. > Also is it possible to combine form and basic authentication Yes. See the Contacts sample. HTH Ben ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
