On 20.01.12 04:57, David wrote: > > I actually need a seamless login as anonymous user, > without entering any password. > Thomas, could you > elaborate on SessionValidator and TurbineSecurity.getAnonymousUser()? > Thanks,
The starting point would be to use for example TemplateSessionValidator instead of TemplateSecureSessionValidator. The difference between the two is that the TemplateSecureSessionValidator redirects to the login screen when it detects a null user whereas the TemplateSessionValidator simply continues with the anonymous user then. If you want to do additional things in the session validator, you can use the source code of TemplateSessionValidator to roll your own. If you have further questions, feel free to ask. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
