portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon_...@yahoo.com>
Subject Re: Insufficient Rights
Date Wed, 12 May 2010 10:10:13 GMT
If you set the log level to WARN for org.apache.jetspeed.layout.impl.PortletActionSecurityConstraintsBehavior,
then I think you should get the following warning logs for the case:

log.warn("Insufficient access to page " + page.getPath() + " by user " + userName);

This log could be helpful to detect the problem.

Woonsan


----- Original Message ----
> From: Gonzalo Aguilar Delgado <gaguilar@aguilardelgado.com>
> To: Jetspeed Developers List <jetspeed-dev@portals.apache.org>
> Sent: Wed, May 12, 2010 11:15:47 AM
> Subject: Re: Insufficient Rights
> 
> Curious thing about this is that Toolbox portlet shows the "Add" button
on 
> portlets because the user has rights but when you add a new portlet
to the 
> page the message is:

12-may-2010 
> 11:13:24
org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper 
> toResponse
ADVERTENCIA: WebApplicationException has been caught : 
> Insufficient
access to view page


I can say that rights are there 
> right...









____________________________________




  
> Gonzalo Aguilar Delgado
  Consultor CRM - Ingeniero 
> en
Informática
        M. +34 
> 607814276









El mié, 12-05-2010 a las 11:08 
> +0200, Gonzalo Aguilar Delgado escribió:
> Hi all, 
> 
> After 
> working for a while with jetspeed I started to receive following
> 
> logs...
> 
> 
> 12-may-2010 10:51:36
> 
> org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
> 
> ADVERTENCIA: WebApplicationException has been caught : Insufficient
> 
> access to view page
> 12-may-2010 10:51:49
> 
> org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
> 
> ADVERTENCIA: WebApplicationException has been caught : Insufficient
> 
> access to view page
> 12-may-2010 10:51:54
> 
> org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
> 
> ADVERTENCIA: WebApplicationException has been caught : Insufficient
> 
> access to view page
> 12-may-2010 10:52:11
> 
> org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
> 
> ADVERTENCIA: WebApplicationException has been caught : Insufficient
> 
> access to view page
> 
> 
> This causes user to lose 
> permissions. And I don't find a reason why.
> Logs only shows that.  
> 
> 
> 
> Now I'm deleting old logs and rebooting tomcat to see 
> if I can have a
> clearer cause. 
> 
> Sometimes it starts to 
> work normally without human intervention.
> 
> 
> Does anyone 
> suffer of the same problem?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ____________________________________
> 
> 
> 
> 
> 
>   Gonzalo Aguilar Delgado
>   Consultor CRM - Ingeniero 
> en
> Informática
>         M. +34 
> 607814276
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To 
> unsubscribe, e-mail: 
> ymailto="mailto:jetspeed-dev-unsubscribe@portals.apache.org" 
> href="mailto:jetspeed-dev-unsubscribe@portals.apache.org">jetspeed-dev-unsubscribe@portals.apache.org
> 
> For additional commands, e-mail: 
> ymailto="mailto:jetspeed-dev-help@portals.apache.org" 
> href="mailto:jetspeed-dev-help@portals.apache.org">jetspeed-dev-help@portals.apache.org
> 
> 


---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> ymailto="mailto:jetspeed-dev-unsubscribe@portals.apache.org" 
> href="mailto:jetspeed-dev-unsubscribe@portals.apache.org">jetspeed-dev-unsubscribe@portals.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:jetspeed-dev-help@portals.apache.org" 
> href="mailto:jetspeed-dev-help@portals.apache.org">jetspeed-dev-help@portals.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message