Please see the attached files.
-----Original Message----- From: David Sean Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2007 1:11 PM To: Jetspeed Users List Subject: Re: Creating a user in jetspeed On Jun 1, 2007, at 10:52 AM, Witt, Joseph wrote: > This is exactly what I want. We have created the valve and the user > pages are being created. But now we are getting Access Denied on > portlets when the user first logs in (portal only not desktop). When > the page is refreshed everything is OK. > > Error: > Failed to retrieve Portlet Definition for rss::RSSAccess Denied.Failed > to retrieve Portlet Definition for rss::RSSFailed to retrieve Portlet > Definition for rss::RSSFailed to retrieve Portlet Definition for > rss::RSSFailed to retrieve Portlet Definition for rss::RSSFailed to > retrieve Portlet Definition for rss::RSS > Hmm,. hard to say what is happening Maybe you could send us some code to look at, like your valve and the xml configuration of your valve (pipelines.xml) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <beans> <bean id="localizationValve" class="org.apache.jetspeed.localization.impl.LocalizationValveImpl" init-method="initialize" > <constructor-arg> <value><[EMAIL PROTECTED]><[EMAIL PROTECTED]></value> </constructor-arg> </bean> <bean id="capabilityValve" class="org.apache.jetspeed.capabilities.impl.CapabilityValveImpl" init-method="initialize" > <constructor-arg> <ref bean="org.apache.jetspeed.capabilities.Capabilities" /> </constructor-arg> </bean> <bean id="portalURLValve" class="org.apache.jetspeed.container.url.impl.PortalURLValveImpl" init-method="initialize" > <constructor-arg> <ref bean="NavigationalStateComponent" /> </constructor-arg> </bean> <bean id="securityValve" class="org.apache.jetspeed.security.impl.SecurityValveImpl" init-method="initialize" > <constructor-arg index='0'> <ref bean="org.apache.jetspeed.profiler.Profiler" /> </constructor-arg> <constructor-arg index='1'> <ref bean="org.apache.jetspeed.security.UserManager" /> </constructor-arg> <constructor-arg index='2'> <ref bean="PortalStatistics" /> </constructor-arg> <!-- hard session timeout limit in seconds, regardless of (in)activity, setting to 0 turns off this feature --> <constructor-arg index='3'> <value>0</value> </constructor-arg> <!-- redirect location for hard session expiration --> <constructor-arg index='4'> <value>/login/logout</value> </constructor-arg> </bean> <bean id="passwordCredentialValve" class="org.apache.jetspeed.security.impl.PasswordCredentialValveImpl" init-method="initialize" /> <bean id="loginValidationValve" class="org.apache.jetspeed.security.impl.LoginValidationValveImpl" init-method="initialize"> <!-- remove (from the session) the following list of session attributes upon login --> <constructor-arg index="0"> <list> <value>org.apache.jetspeed.powertool.actions</value> </list> </constructor-arg> </bean> <bean id="profilerValve" class="org.apache.jetspeed.profiler.impl.ProfilerValveImpl" init-method="initialize" > <constructor-arg index="0"> <ref bean="org.apache.jetspeed.profiler.Profiler" /> </constructor-arg> <constructor-arg index="1"> <ref bean="org.apache.jetspeed.portalsite.PortalSite" /> </constructor-arg> <!-- request fallback to root folder/page enabled by default; if set to false, requests generate HTTP 403/404 errors for access errors or missing pages --> <constructor-arg index="2"><value>true</value></constructor-arg> <!-- use last visited page histories to select default page for folder navigational urls; if set to false, the default page specified in PSML, (or the first page in the folder), is always selected --> <constructor-arg index="3"><value>true</value></constructor-arg> </bean> <!-- To create a new page when a user first logs in from their roles, add this valve after each profilerValve entry in the pipeline configs below --> <bean id="createPageValve" class="org.apache.jetspeed.profiler.impl.CreatePageValveImpl" > <constructor-arg index="0"> <ref bean="PortletActionSecurityBehavior" /> </constructor-arg> </bean> <bean id="containerValve" class="org.apache.jetspeed.container.ContainerValve" init-method="initialize" /> <bean id="actionValve" class="org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl" init-method="initialize" > <constructor-arg> <ref bean="org.apache.pluto.PortletContainer" /> </constructor-arg> <constructor-arg> <ref bean="PortletWindowAccessor" /> </constructor-arg> <constructor-arg> <ref bean="portletContentCache"/> </constructor-arg> <!-- Setting to true will force Action response isCommitted to true as there is a bug in Websphere 5 where request.isCommitted always returns false Set this boolean to TRUE if running on Websphere 5 pre-cumulative fix 5.1.1.9 <constructor-arg type="boolean"> <value>false</value> </constructor-arg> --> </bean> <bean id="desktopActionValve" class="org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl" init-method="initialize" > <constructor-arg> <ref bean="org.apache.pluto.DesktopPortletContainer" /> </constructor-arg> <constructor-arg> <ref bean="PortletWindowAccessor" /> </constructor-arg> <constructor-arg> <ref bean="portletContentCache"/> </constructor-arg> <!-- Setting to true will force Action response isCommitted to true as there is a bug in Websphere 5 where request.isCommitted always returns false Set this boolean to TRUE if running on Websphere 5 pre-cumulative fix 5.1.1.9 <constructor-arg type="boolean"> <value>false</value> </constructor-arg> --> </bean> <bean id="desktopEncoderRedirectValve" class="org.apache.jetspeed.desktop.impl.DesktopEncoderRedirectValveImpl"> <!-- /desktop pipeline --> <constructor-arg index="0"><value>/desktop</value></constructor-arg> <!-- /render pipeline --> <constructor-arg index="1"><value>/render</value></constructor-arg> </bean> <bean id="portletValve" class="org.apache.jetspeed.aggregator.PortletValve" init-method="initialize" > <constructor-arg> <ref bean="org.apache.jetspeed.aggregator.PortletAggregator"/> </constructor-arg> </bean> <bean id="portletValveTitleInHeader" class="org.apache.jetspeed.aggregator.PortletValve" init-method="initialize" > <constructor-arg> <ref bean="org.apache.jetspeed.aggregator.PortletAggregatorTitleInHeader"/> </constructor-arg> </bean> <bean id="fileServerValve" class="org.apache.jetspeed.aggregator.FileServerValve" init-method="initialize" > <!-- portlet --> <constructor-arg index="0"><value>demo::ContentViewer</value></constructor-arg> <!-- entity --> <constructor-arg index="1"><value>public.content.21</value></constructor-arg> </bean> <bean id="aggregatorValve" class="org.apache.jetspeed.aggregator.AggregatorValve" init-method="initialize" > <constructor-arg> <ref bean="org.apache.jetspeed.aggregator.PageAggregator"/> </constructor-arg> </bean> <bean id="headerAggregatorValvePortal" class="org.apache.jetspeed.aggregator.HeaderAggregatorValve" init-method="initialize" > <constructor-arg> <ref bean="HeaderAggregatorPortal"/> </constructor-arg> </bean> <bean id="headerAggregatorValveDesktop" class="org.apache.jetspeed.aggregator.HeaderAggregatorValve" init-method="initialize" > <constructor-arg> <ref bean="HeaderAggregatorDesktop"/> </constructor-arg> </bean> <bean id="cleanUpValve" class="org.apache.jetspeed.pipeline.valve.impl.CleanupValveImpl" init-method="initialize" > </bean> <bean id="AJAXValve" class="org.apache.jetspeed.ajax.AJAXValve" init-method="initialize" > <constructor-arg> <ref bean="AJAXService"/> </constructor-arg> <constructor-arg> <ref bean="RolesSecurityBehavior"/> </constructor-arg> </bean> <bean id="DecorationValve" class="org.apache.jetspeed.decoration.DecorationValve" init-method="initialize"> <constructor-arg> <ref bean="DecorationFactory" /> </constructor-arg> <constructor-arg> <ref bean="PortletWindowAccessor" /> </constructor-arg> </bean> <bean id="loginViewValve" class="org.apache.jetspeed.login.impl.LoginJSPViewValve" init-method="initialize" > <constructor-arg> <value>/WEB-INF/templates/login</value> </constructor-arg> </bean> <bean id="desktopValve" class="org.apache.jetspeed.desktop.impl.DesktopValveImpl" > <constructor-arg> <ref bean="JetspeedDesktop" /> </constructor-arg> </bean> <bean id="autoCreateUserHomeValve" class="com.covisint.cep.jetspeed.pipeline.AutoCreateUserHomeValveImpl" > <constructor-arg index='0'> <ref bean="org.apache.jetspeed.page.PageManager"/> </constructor-arg> <constructor-arg index='1'> <ref bean="org.apache.jetspeed.security.UserManager" /> </constructor-arg> </bean> <bean id="jetspeed-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>JetspeedPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="capabilityValve"/> <ref bean="portalURLValve"/> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="passwordCredentialValve"/> <ref bean="loginValidationValve"/> <ref bean="autoCreateUserHomeValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <ref bean="actionValve"/> <ref bean="DecorationValve" /> <ref bean="headerAggregatorValvePortal"/> <ref bean="aggregatorValve"/> <ref bean="cleanUpValve"/> </list> </constructor-arg> </bean> <bean id="login-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>LoginPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="capabilityValve"/> <ref bean="localizationValve"/> <ref bean="loginViewValve"/> </list> </constructor-arg> </bean> <bean id="action-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>ActionPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="localizationValve"/> <ref bean="capabilityValve"/> <ref bean="portalURLValve"/> <ref bean="containerValve"/> <ref bean="actionValve"/> </list> </constructor-arg> </bean> <bean id="desktop-action-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>DesktopActionPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="capabilityValve"/> <ref bean="portalURLValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <ref bean="desktopActionValve"/> </list> </constructor-arg> </bean> <bean id="desktop-render-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <!-- same as /portlet pipeline except for the addition of the desktopEncoderRedirectValve --> <constructor-arg> <value>DesktopRenderPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="desktopEncoderRedirectValve"/> <ref bean="portalURLValve"/> <ref bean="capabilityValve"/> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <ref bean="portletValveTitleInHeader"/> </list> </constructor-arg> </bean> <bean id="portlet-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>PortletPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="portalURLValve"/> <ref bean="capabilityValve"/> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <ref bean="portletValveTitleInHeader"/> </list> </constructor-arg> </bean> <bean id="ajax-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>AjaxPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="capabilityValve"/> <ref bean="portalURLValve"/> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <!-- this is the standard Jetspeed API entry point --> <ref bean="layoutValve"/> </list> </constructor-arg> </bean> <bean id="ajax-direct-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>AjaxDirectPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="capabilityValve"/> <ref bean="portalURLValve"/> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <ref bean="AJAXValve"/> </list> </constructor-arg> </bean> <bean id="fileserver-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>FileServerPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="portalURLValve"/> <ref bean="securityValve"/> <ref bean="localizationValve"/> <ref bean="profilerValve"/> <ref bean="containerValve"/> <ref bean="fileServerValve"/> <ref bean="portletValve"/> </list> </constructor-arg> </bean> <bean id="desktop-pipeline" class="org.apache.jetspeed.pipeline.JetspeedPipeline" init-method="initialize" > <constructor-arg> <value>DesktopPipeline</value> </constructor-arg> <constructor-arg> <list> <ref bean="capabilityValve"/> <ref bean="portalURLValve"/> <ref bean="securityValve"/> <ref bean="autoCreateUserHomeValve"/> <ref bean="localizationValve"/> <ref bean="profilerValve"/> <ref bean="headerAggregatorValveDesktop"/> <ref bean="desktopValve"/> </list> </constructor-arg> </bean> <bean id='pipeline-map' class='java.util.HashMap'> <constructor-arg> <map> <entry key='/portlet'> <value>portlet-pipeline</value> </entry> <entry key='/portal'> <value>jetspeed-pipeline</value> </entry> <entry key='/ajaxapi'> <value>ajax-pipeline</value> </entry> <entry key='/login'> <value>jetspeed-pipeline</value> </entry> <entry key='/fileserver'> <value>fileserver-pipeline</value> </entry> <entry key='/ajax'> <value>ajax-direct-pipeline</value> </entry> <entry key='/desktop'> <value>desktop-pipeline</value> </entry> <!-- for jetspeed desktop, the keys /desktop, /action and /render cannot be changed --> <!-- without also editing src/webapp/javascript/jetspeed/common.js and these beans: --> <!-- the JetspeedDesktop bean expects argument for /desktop (3rd arg in constructor) --> <!-- the DesktopPluto bean expects arguments for /desktop, /action and /render --> <!-- the DesktopPortalURL bean expects arguments for /render and /action --> <!-- the desktopEncoderRedirectValve bean expects arguments for /desktop and /render --> <entry key='/action'> <value>desktop-action-pipeline</value> </entry> <entry key='/render'> <value>desktop-render-pipeline</value> </entry> </map> </constructor-arg> </bean> <bean id="debugValve" class="org.apache.jetspeed.pipeline.valve.impl.DebugValveImpl" /> </beans>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
