Bhaskar wrote:
By default it expires in 3 months, which is too short period. How to extend
it?
With Jetspeed-2, I believe the default expiration is 'not to expire' so Im wondering if Im answering this question for the correct version...

The whole password expiration process is documented here:

http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/config.html

scroll down to the section "security-spi-atn.xml", to see how to enable all the cool credential features that are not really useful for "demo" type configurations. Here is the relevant spring configuration you need:

        <!-- Automatically expire a password after 60 days -->
<bean class="org.apache.jetspeed.security.spi.impl.PasswordExpirationInterceptor"> <constructor-arg index="0"><value>60</value></constructor-arg>
         </bean>


More links:

http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/apidocs/org/apache/jetspeed/security/spi/impl/PasswordExpirationInterceptor.html
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/credentials.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to