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 Bhaskar <br...@platformexchange.com> on 2006/11/17 04:18:17 UTC
Password expiry
By default it expires in 3 months, which is too short period. How to extend
it?
Thanks in advance!!!
Bhaskar
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Password expiry
Posted by David Sean Taylor <da...@bluesunrise.com>.
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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org