On May 27, 2009, at 9:13 AM, Jan Kowalik wrote:

How and where can I configure jetspeed to send mails to users when they register and when they use 'Forgotten Password' portlet (mail server or so)? Is there any guide ?

I still can't find anything what says about configuration of that
confirmation mail sending.
Don't anyone is able to advice me ?

Edit the Spring XML in WEB-INF/assembly/administration.xml and set your properties there:

<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
    <property name="host"><value>localhost</value></property>
    <property name="username"><value></value></property>
    <property name="password"><value></value></property>
      <property name="javaMailProperties">
          <props>
              <prop key="mail.smtp.auth">false</prop>
          </props>
      </property>
  </bean>

FYI, in 2.2.0 release, we have parameterized all these settings from the jetspeed.properties:

<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
    <meta key="j2:cat" value="default" />
    <property name="host">
      <value>${email.smtp.server.address}</value>
    </property>
    <property name="username">
      <value>${email.smtp.user.name}</value>
    </property>
    <property name="password">
      <value>${email.smtp.user.password}</value>
    </property>
    <property name="javaMailProperties">
      <props>
        <prop key="mail.smtp.auth">${email.smtp.auth}</prop>
      </props>
    </property>
  </bean>

There are some additional properties set in the jetspeed.properties for email sender, see:

http://portals.apache.org/jetspeed-2.1.3/deployguide/jetspeed-properties.html



Where to set time interval in which user is logged out when is inactive ?

You can set this globally in Tomcat's web.xml

<!-- ==================== Default Session Configuration ================= --> <!-- You can set the default session timeout (in minutes) for all newly --> <!-- created sessions by modifying the value below. -->

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>




Where can I configure access to each option in page edition, like : add Portlet, layout, page, folder configuration ?


You can configure that in the decorator.properties for a specific decorator for ex:


##following are defaults
#allow.change.page.theme=true
#allow.change.layout=true
#max.layout.nesting=2
#allow.add.page=true
#allow.add.portlet=true
#allow.change.portlet.decorator=true
#allow.customize.all=false


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

Reply via email to