Foros

Inicio » Alloy UI » English

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Suresh Kumar
Forbidden Error
31 de octubre de 2012 5:41
Respuesta

Suresh Kumar

Ranking: Junior Member

Mensajes: 33

Fecha de incorporación: 9 de mayo de 2012

Mensajes recientes

Hi,

Scenario: After logging in, I am performing some operation and copy pasted the url in the different tab. I have signed out in second tab and continued working in the first tab. It is throwing Forbidden Error as below

Forbidden
You do not have permission to access the requested resource.

http://localhost:8080/web/guest/dashboard?p_auth=RKkc9QWO&p_p_id=psb_WAR_---portlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=2&_psb_WAR_psbportlet_javax.portlet.action=customerDetails



Could anyone help on this.

- Suresh
Hitoshi Ozawa
RE: Forbidden Error
31 de octubre de 2012 5:57
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

That's simply because you've signed out. Try opening a new web browser and logging in instead of copying url.
Suresh Kumar
RE: Forbidden Error
31 de octubre de 2012 6:34
Respuesta

Suresh Kumar

Ranking: Junior Member

Mensajes: 33

Fecha de incorporación: 9 de mayo de 2012

Mensajes recientes

Hi Hitoshi Ozawa,

Thanks for the reply.

My requirement is to check in different tabs of the same browser. Is this possible to rectify the error ?

-- Suresh
Hitesh Methani
RE: Forbidden Error
31 de octubre de 2012 6:59
Respuesta

Hitesh Methani

Ranking: Regular Member

Mensajes: 163

Fecha de incorporación: 24 de junio de 2010

Mensajes recientes

Hi Suresh,

Its not error actually, but its intended behavior, when you sign out from second tab, you automatically sign out in first tab also, so as you are not logged in you do not have permissions to access certain resources.

Regards,
Hitesh
Hitoshi Ozawa
RE: Forbidden Error
31 de octubre de 2012 16:56
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

As Hitesh replied, this is not an error but an expected behavior because you're using the same session. This behavior isn't particular to liferay.
Suresh Kumar
RE: Forbidden Error
1 de noviembre de 2012 4:01
Respuesta

Suresh Kumar

Ranking: Junior Member

Mensajes: 33

Fecha de incorporación: 9 de mayo de 2012

Mensajes recientes

Suresh Kumar:
Hi,

Scenario: After logging in, I am performing some operation and copy pasted the url in the different tab. I have signed out in second tab and continued working in the first tab. It is throwing Forbidden Error as below

Forbidden
You do not have permission to access the requested resource.

http://localhost:8080/group/guest/dashboard?p_auth=RKkc9QWO&p_p_id=psb_WAR_---portlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=2&_psb_WAR_psbportlet_javax.portlet.action=customerDetails



Could anyone help on this.

- Suresh


Thanks for all the replies.

In the first tab, without asking for credentials, its throwing this forbidden error.

Please note that it is users private page.

Could anyone let me know the solution ??

-- Suresh
Ahsan Ullah
RE: Forbidden Error
4 de abril de 2013 6:54
Respuesta

Ahsan Ullah

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 20 de marzo de 2013

Mensajes recientes

Hi Suresh,

as expected the browser is supposed to be redirected to the Login page. and this can be achived via liferay configuration.
Ankur Jaswal
RE: Forbidden Error
10 de julio de 2013 11:44
Respuesta

Ankur Jaswal

Ranking: Junior Member

Mensajes: 38

Fecha de incorporación: 12 de agosto de 2010

Mensajes recientes

We are having this issue. Can you please let us know what configuration is required in Liferay to redirect the user to the login page ? We have Lifreay 6.0 EE SP1.
Hitesh Methani
RE: Forbidden Error
11 de julio de 2013 1:04
Respuesta

Hitesh Methani

Ranking: Regular Member

Mensajes: 163

Fecha de incorporación: 24 de junio de 2010

Mensajes recientes

Hello Ankur,

For that you need to set page level permissions, if page is public, just remove view permissions from guest user and give view permissions to required role.

Thanks,
Hitesh M