Hi David, screens in Turbine are not secured by Default. Hence it does not require a user to be logged in. You can retrieve a User Object by using DefaultTurbineRunData.getUser() [1]. You can verify if this User Object represents an Anonymous User (one that has not registered) by verifying with TurbineSecurity.isAnonymousUser(User) [2].
Kind regards Buddy [1] http://turbine.apache.org/turbine/turbine-4.0-M1/apidocs/org/apache/turbine/services/rundata/DefaultTurbineRunData.html [2] http://turbine.apache.org/turbine/turbine-4.0-M1/apidocs/org/apache/turbine/services/security/TurbineSecurity.html Am 21.01.2012 um 06:37 schrieb David: > Jürgen Hoffmann <hoffmann <at> apache.org> writes: > >> >> Hi David, >> >> could you elaborate a little more about your UseCase? >> >> have you had a look at > http://turbine.apache.org/turbine/ > turbine-4.0-M1/howto/security- > howto.html >> >> Kind regards >> >> Juergen Hoffmann >> > > Hi Juergen, > > The use case would be just like yahoo, you can search and read news, etc. > without signing in. > And you only need to sign in, if you want to, to access your own data, > such as your sports teams, > bookmarks, etc. > Best > > David > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
