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 <[EMAIL PROTECTED]>:

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

Reply via email to