Guest users and landing page

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

Guest users and landing page

by Sean Radford-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have the following configured on 5.2.0:

1. Anonymous (guest user) access
2. /nxstartup.xhtml has an action of
#{startupHelper.initDomainAndFindStartupPage('Default domain',
'user_dashboard')} (in pages.xml via deployment-fragment.xml)

This is fine except that I do not want guest users to go directly to the
dashboard when hitting the root context (or after a normal user logs
out), but go to the login page instead. I've tried playing around with
my own version of StartupHelper and NuxeoAuthenticationFilter with no
complete success.

The best I can do is to get the user directed to the login page, but as
soon as that is done they are truly logged out and all guest access is
not available....

Any ideas?

Thanks in advance

Sean

--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0)845 KEY HELP
t: +44 (0)845 539 4357
m: +44 (0)7802 24 24 86

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Guest users and landing page

by Sean Radford-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Think these may be causing my problem:

NXP-3979, NXP-3701, and NXP-3702

I guess, it's best to migrate my stuff to 5.3 and try on that.

Sean

P.S. Have tried 5.3.0-RC1 and raised 1 minor issue so far...


Sean Radford wrote:

> Hi,
>
> I have the following configured on 5.2.0:
>
> 1. Anonymous (guest user) access
> 2. /nxstartup.xhtml has an action of
> #{startupHelper.initDomainAndFindStartupPage('Default domain',
> 'user_dashboard')} (in pages.xml via deployment-fragment.xml)
>
> This is fine except that I do not want guest users to go directly to
> the dashboard when hitting the root context (or after a normal user
> logs out), but go to the login page instead. I've tried playing around
> with my own version of StartupHelper and NuxeoAuthenticationFilter
> with no complete success.
>
> The best I can do is to get the user directed to the login page, but
> as soon as that is done they are truly logged out and all guest access
> is not available....
>
> Any ideas?
>
> Thanks in advance
>
> Sean
>


--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0)845 KEY HELP
t: +44 (0)845 539 4357
m: +44 (0)7802 24 24 86

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Guest users and landing page

by Anahide Tchertchian-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Yes, we've worked on making login/logout actions using anonymous user
a bit more usable.
Note that anonymous user is actually a pseudo user, who's logged in.
So if you want the login page to be displayed in some circumstances,
you have to log him out and prevent him from logging him again using
markers on the request or in the url.
Please tell if you need help doing so.

Regards,

--
Anahide Tchertchian, Nuxeo
Mail: at@... - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org

2009/10/15 Sean Radford <sean.radford@...>:

> Think these may be causing my problem:
>
> NXP-3979, NXP-3701, and NXP-3702
>
> I guess, it's best to migrate my stuff to 5.3 and try on that.
>
> Sean
>
> P.S. Have tried 5.3.0-RC1 and raised 1 minor issue so far...
>
>
> Sean Radford wrote:
>>
>> Hi,
>>
>> I have the following configured on 5.2.0:
>>
>> 1. Anonymous (guest user) access
>> 2. /nxstartup.xhtml has an action of
>> #{startupHelper.initDomainAndFindStartupPage('Default domain',
>> 'user_dashboard')} (in pages.xml via deployment-fragment.xml)
>>
>> This is fine except that I do not want guest users to go directly to the
>> dashboard when hitting the root context (or after a normal user logs out),
>> but go to the login page instead. I've tried playing around with my own
>> version of StartupHelper and NuxeoAuthenticationFilter with no complete
>> success.
>>
>> The best I can do is to get the user directed to the login page, but as
>> soon as that is done they are truly logged out and all guest access is not
>> available....
>>
>> Any ideas?
>>
>> Thanks in advance
>>
>> Sean
>>
>
>
> --
> Dr. Sean Radford, MBBS, MSc
> http://www.tacola.com/
> t: +44 (0)845 KEY HELP
> t: +44 (0)845 539 4357
> m: +44 (0)7802 24 24 86
>
> _______________________________________________
> ECM mailing list
> ECM@...
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm