Is there a way to bypass the login, such as a guest account?

View: New views
10 Messages — Rating Filter:   Alert me  

Is there a way to bypass the login, such as a guest account?

by David-888 :: Rate this Message:

| View Threaded | Show Only this Message

Hi there,

Is there a way to disable or bypass the login in Turbine, so that the users can
log in as Guest. They may decide to sign up for an account later?
Thanks,

David


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by Thomas Vandahl-2 :: Rate this Message:

| View Threaded | Show Only this Message

On 17.01.12 20:03, David wrote:
> Is there a way to disable or bypass the login in Turbine, so that the users can
> log in as Guest. They may decide to sign up for an account later?

You can use Turbine without any user information. The part responsible
is the SessionValidator that you configure in
TurbineResources.properties. Look for TurbineSecurity.getAnonymousUser().

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by David-888 :: Rate this Message:

| View Threaded | Show Only this Message


Thomas Vandahl <tv <at> apache.org> writes:

>
> On 17.01.12 20:03, David wrote:
> > Is there a way to disable or bypass the login in Turbine,
so that the users can
> > log in as Guest. They may decide to sign up for an account later?
>
> You can use Turbine without any user information. The part responsible
> is the SessionValidator that you configure in
> TurbineResources.properties. Look for TurbineSecurity.getAnonymousUser().
>
> Bye, Thomas.
>

Hi Thomas,

Thanks for the quick reply, could you point me to a tutorial or wiki
page on how to achieve this?
Do I need to override sessionvalidator?
Thanks,

David




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by sharad23nov :: Rate this Message:

| View Threaded | Show Only this Message

yes it is possible ,u can check the Brihaspati LMS

http://172.26.82.23:8081/brihaspati/servlet/brihaspati

by guest guest username and password.

Regrads
sharad
On Wed, Jan 18, 2012 at 11:51 AM, David <daodaodao2002@...> wrote:

>
> Thomas Vandahl <tv <at> apache.org> writes:
>
> >
> > On 17.01.12 20:03, David wrote:
> > > Is there a way to disable or bypass the login in Turbine,
> so that the users can
> > > log in as Guest. They may decide to sign up for an account later?
> >
> > You can use Turbine without any user information. The part responsible
> > is the SessionValidator that you configure in
> > TurbineResources.properties. Look for TurbineSecurity.getAnonymousUser().
> >
> > Bye, Thomas.
> >
>
> Hi Thomas,
>
> Thanks for the quick reply, could you point me to a tutorial or wiki
> page on how to achieve this?
> Do I need to override sessionvalidator?
> Thanks,
>
> David
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>


--
Sharad Singh
9450328117
http://202.141.40.215:8080/brihaspati/servlet/brihaspati

Re: Is there a way to bypass the login, such as a guest account?

by David-888 :: Rate this Message:

| View Threaded | Show Only this Message


I actually need a seamless login as anonymous user,
without entering any password.
Thomas, could you
elaborate on SessionValidator and TurbineSecurity.getAnonymousUser()?
Thanks,

David




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by Juergen Hoffmann-2 :: Rate this Message:

| View Threaded | Show Only this Message

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

Am 20.01.2012 um 04:57 schrieb David:

>
> I actually need a seamless login as anonymous user,
> without entering any password.
> Thomas, could you
> elaborate on SessionValidator and TurbineSecurity.getAnonymousUser()?
> Thanks,
>
> David
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>


Re: Is there a way to bypass the login, such as a guest account?

by David-888 :: Rate this Message:

| View Threaded | Show Only this Message

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: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by Jürgen Hoffmann-3 :: Rate this Message:

| View Threaded | Show Only this Message

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: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by Thomas Vandahl-2 :: Rate this Message:

| View Threaded | Show Only this Message

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: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Is there a way to bypass the login, such as a guest account?

by David-888 :: Rate this Message:

| View Threaded | Show Only this Message

Thomas and Jurgen,

Thanks for your replies, I'll give the templatesessionvalidator a try
and I think I should use velocityscreen instead of velocitysecurescreen.
Best

David




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...