You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Vitaly Baranovsky <vi...@gmail.com> on 2006/12/13 10:56:55 UTC

Why does edit portlet mode acessible for anonymous users sometimes?

Good day!

I've written site with jetspeed-2.

When anonymous users opens my site, jetspeed usually doesn't display
edit pencils in action bar.

But sometimes it starts to display edit pencils for anonymous users,
so they can modify its default preferences. Is this case, jetspeed
stops giving edit portlet mode access to anonymous users only after
restarting.

Why does jetspeed allow anonymous users to access edit mode sometimes
(when I don't touch permissions admin portlet and psml security)? How
can I avoid it?

Thanks!
-- 
With best regards,
Vitaly Baranovsky

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


Re: Why does edit portlet mode acessible for anonymous users sometimes?

Posted by Vitaly Baranovsky <vi...@gmail.com>.
Sometimes such a behaviour happens just after start of jetspeed.

P.S.: Do you remember I owe to you box of bear ;) I will be in Krakov
at 5th and 6th january, and in Warshava at 8th january. So, if you
want, I can give you your box of bear ;)

2006/12/13, Jacek Wiślicki <ja...@gmail.com>:
> Wiadomosc od Vitaly Baranovsky z 2006-12-13 10:56 brzmiala:
>
> > I've written site with jetspeed-2.
> >
> > When anonymous users opens my site, jetspeed usually doesn't display
> > edit pencils in action bar.
> >
> > But sometimes it starts to display edit pencils for anonymous users,
> > so they can modify its default preferences. Is this case, jetspeed
> > stops giving edit portlet mode access to anonymous users only after
> > restarting.
> >
> > Why does jetspeed allow anonymous users to access edit mode sometimes
> > (when I don't touch permissions admin portlet and psml security)? How
> > can I avoid it?
> I've never seen such a behaviour. Are you sure it's not a browser's cache?
>
> --
> pozdrawiam,
>     Jacek Wislicki
>
> jacek.wislicki@gmail.com
> http://www.nauka-biznes.org.pl/jetspeed/portal/
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
With best regards,
Vitaly Baranovsky

Re: Why does edit portlet mode acessible for anonymous users sometimes?

Posted by Vitaly Baranovsky <vi...@gmail.com>.
> I've never seen such a behaviour. Are you sure it's not a browser's cache?

No, because such behaviour is taking place for all users of our site
at same time. What it can be?


2006/12/13, Jacek Wiślicki <ja...@gmail.com>:
> Wiadomosc od Vitaly Baranovsky z 2006-12-13 10:56 brzmiala:
>
> > I've written site with jetspeed-2.
> >
> > When anonymous users opens my site, jetspeed usually doesn't display
> > edit pencils in action bar.
> >
> > But sometimes it starts to display edit pencils for anonymous users,
> > so they can modify its default preferences. Is this case, jetspeed
> > stops giving edit portlet mode access to anonymous users only after
> > restarting.
> >
> > Why does jetspeed allow anonymous users to access edit mode sometimes
> > (when I don't touch permissions admin portlet and psml security)? How
> > can I avoid it?
> I've never seen such a behaviour. Are you sure it's not a browser's cache?
>
> --
> pozdrawiam,
>     Jacek Wislicki
>
> jacek.wislicki@gmail.com
> http://www.nauka-biznes.org.pl/jetspeed/portal/
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
With best regards,
Vitaly Baranovsky

Re: Why does edit portlet mode acessible for anonymous users sometimes?

Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Vitaly Baranovsky z 2006-12-13 10:56 brzmiala:

> I've written site with jetspeed-2.
> 
> When anonymous users opens my site, jetspeed usually doesn't display
> edit pencils in action bar.
> 
> But sometimes it starts to display edit pencils for anonymous users,
> so they can modify its default preferences. Is this case, jetspeed
> stops giving edit portlet mode access to anonymous users only after
> restarting.
> 
> Why does jetspeed allow anonymous users to access edit mode sometimes
> (when I don't touch permissions admin portlet and psml security)? How
> can I avoid it?
I've never seen such a behaviour. Are you sure it's not a browser's cache?

-- 
pozdrawiam,
     Jacek Wislicki

jacek.wislicki@gmail.com
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki

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


Re: Why does edit portlet mode acessible for anonymous users sometimes?

Posted by Vitaly Baranovsky <vi...@gmail.com>.
There was edit mode pencils for anonymous users on main page of my portal
today (at http://myhost.net:8080/jetspeed/portal/default-page.psml). I've
been analyze jetspeed.log, and founded next entry at it:

2006-12-22 19:44:22,850 [http-8080-Processor25] ERROR
org.apache.jetspeed.om.page.psml.SecurityConstraintsImpl -
dereferenceSecurityConstraintsRefs(): Missing page security, unable to
dereference security constraints definitions.

Maybe, this error is cause of my problem with edit pencils. How can I solve
my problem?

Thanks!

P.S.: This is surroundings of error entry in jetspeed.log:
2006-12-22 19:44:22,344 [http-8080-Processor20] DEBUG
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl - MediaType: html
2006-12-22 19:44:22,344 [http-8080-Processor20] DEBUG
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl - Encoding: UTF-8
2006-12-22 19:44:22,344 [http-8080-Processor20] DEBUG
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl - Mimetype:
text/html
2006-12-22 19:44:22,589 [http-8080-Processor25] DEBUG
org.apache.jetspeed.localization.impl.LocalizationValveImpl - Got user
principal: guest
2006-12-22 19:44:22,589 [http-8080-Processor18] DEBUG
org.apache.jetspeed.localization.impl.LocalizationValveImpl - Got user
principal: guest
2006-12-22 19:44:22,591 [http-8080-Processor19] DEBUG
org.apache.jetspeed.localization.impl.LocalizationValveImpl - Got user
principal: guest
2006-12-22 19:44:22,591 [http-8080-Processor20] DEBUG
org.apache.jetspeed.localization.impl.LocalizationValveImpl - Got user
principal: guest
2006-12-22 19:44:22,618 [http-8080-Processor20] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Session
bound event: setup page manager listener
2006-12-22 19:44:22,619 [http-8080-Processor18] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Session
bound event: setup page manager listener
2006-12-22 19:44:22,621 [http-8080-Processor19] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Session
bound event: setup page manager listener
2006-12-22 19:44:22,623 [http-8080-Processor25] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Session
bound event: setup page manager listener
2006-12-22 19:44:22,626 [http-8080-Processor25] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Updated
user/locators context: user=guest,
profileLocators=(page=/siteNews/news/content.psml:page:/siteNews/news/content.psml:user:guest:mediatype:html)
2006-12-22 19:44:22,627 [http-8080-Processor20] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Updated
user/locators context: user=guest,
profileLocators=(page=/siteNews/news/content.psml:page:/siteNews/news/content.psml:user:guest:mediatype:html)
2006-12-22 19:44:22,627 [http-8080-Processor19] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Updated
user/locators context: user=guest,
profileLocators=(page=/sitelbi:page:/sitelbi:user:guest:mediatype:html)
2006-12-22 19:44:22,627 [http-8080-Processor18] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Updated
user/locators context: user=guest, profileLocators=(page=/default-
page.psml:page:/default-page.psml:user:guest:mediatype:html)
2006-12-22 19:44:22,850 [http-8080-Processor25] ERROR
org.apache.jetspeed.om.page.psml.SecurityConstraintsImpl -
dereferenceSecurityConstraintsRefs(): Missing page security, unable to
dereference security constraints definitions.
2006-12-22 19:44:22,850 [http-8080-Processor25] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Created
site view: search paths=/_user/guest,/
2006-12-22 19:44:22,850 [http-8080-Processor25] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Request
page: request path=/siteNews/news/content.psml
2006-12-22 19:44:22,851 [http-8080-Processor20] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Created
site view: search paths=/_user/guest,/
2006-12-22 19:44:22,851 [http-8080-Processor20] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Request
page: request path=/siteNews/news/content.psml
2006-12-22 19:44:22,852 [http-8080-Processor18] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Created
site view: search paths=/_user/guest,/
2006-12-22 19:44:22,852 [http-8080-Processor18] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Request
page: request path=/default-page.psml
2006-12-22 19:44:22,850 [http-8080-Processor19] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Created
site view: search paths=/_user/guest,/
2006-12-22 19:44:22,852 [http-8080-Processor19] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Request
page: request path=/sitelbi
2006-12-22 19:44:22,927 [http-8080-Processor18] DEBUG
org.apache.jetspeed.portalsite.impl.PortalSiteSessionContextImpl - Selected
page, path=/default-page.psml
2006-12-22 19:44:22,940 [http-8080-Processor18] WARN
org.apache.jetspeed.decoration.DecorationFactoryImpl - Could not locate the
decorator.properties configuration file for decoration "clear".  This
decoration may not exist.

-- 
With best regards,
Vitaly Baranovsky


2006/12/13, Vitaly Baranovsky <vi...@gmail.com>:
>
> Good day!
>
> I've written site with jetspeed-2.
>
> When anonymous users opens my site, jetspeed usually doesn't display
> edit pencils in action bar.
>
> But sometimes it starts to display edit pencils for anonymous users,
> so they can modify its default preferences. Is this case, jetspeed
> stops giving edit portlet mode access to anonymous users only after
> restarting.
>
> Why does jetspeed allow anonymous users to access edit mode sometimes
> (when I don't touch permissions admin portlet and psml security)? How
> can I avoid it?
>
> Thanks!
> --
> With best regards,
> Vitaly Baranovsky
>



-- 
With best regards,
Vitaly Baranovsky