2012/5/1 Mickael Marrache <[email protected]>: > Thanks for the doc. > I've created the file at this emplacement > "${appserver.base}/conf/security.properties". I use the version 1.4-M2, is > the property "security.policy.password.expiration.enabled" available for this > version? Should work. > If no, which value to give to the "security.policy.password.expiration.days" > property? > > Last question, after the file is created/modified, should I restart the web > container? Yes restart needed. > > Thanks > > -----Original Message----- > From: Olivier Lamy [mailto:[email protected]] > Sent: Tuesday, May 01, 2012 1:02 PM > To: [email protected] > Subject: Re: Disable automatic password reset? > > I added more doc here;: > http://archiva.apache.org/docs/1.4-M3-SNAPSHOT/adminguide/customising-security.html > > Convenient places are probably: > > <properties fileName="${appserver.base}/conf/security.properties" > config-optional="true" > config-at="org.codehaus.plexus.redback"/> > <properties fileName="${appserver.home}/conf/security.properties" > config-optional="true" > config-at="org.codehaus.plexus.redback"/> > > HTH, > > 2012/5/1 Maurizio Cucchiara <[email protected]>: >> Did you already look for/inside applicationContext.xml? >> >> Sent from my mobile device, so please excuse typos and brevity. >> >> Maurizio Cucchiara >> Il giorno 01/mag/2012 10.12, "Mickael Marrache" < >> [email protected]> ha scritto: >> >>> I also don't know where to add this file. In my case, I have Archiva >>> deployed as a WAR on Tomcat 6. Where should I add this file? If it should >>> be added in the conf/ directory of the Archiva installation, I only such a >>> directory under /var/lib/tomcat6 but it seems that this directory is >>> intended to contain Tomcat configuration. >>> >>> Mickael >>> >>> -----Original Message----- >>> From: [email protected] [mailto:[email protected]] >>> On Behalf Of Maurizio Cucchiara >>> Sent: Tuesday, May 01, 2012 11:02 AM >>> To: [email protected] >>> Subject: RE: Disable automatic password reset? >>> >>> Reading the docs, at very quick looks, it seems you should **add** the file >>> that Olivier mentioned before >>> >>> Sent from my mobile device, so please excuse typos and brevity. >>> >>> Maurizio Cucchiara >>> Il giorno 01/mag/2012 09.55, "Mickael Marrache" < >>> [email protected]> ha scritto: >>> >>> > Hello Maurizio, >>> > >>> > I've run the command "updatedb" (as root and as my user) but I still get >>> > the same results. >>> > >>> > Mickael >>> > >>> > -----Original Message----- >>> > From: [email protected] [mailto:[email protected]] >>> > On Behalf Of Maurizio Cucchiara >>> > Sent: Tuesday, May 01, 2012 10:49 AM >>> > To: [email protected] >>> > Subject: RE: Disable automatic password reset? >>> > >>> > Mickael be sure that locate db is up2date. >>> > The files you mentioned seems to correspond to a deleted copy >>> > >>> > Sent from my mobile device, so please excuse typos and brevity. >>> > >>> > Maurizio Cucchiara >>> > Il giorno 01/mag/2012 09.44, "Mickael Marrache" < >>> > [email protected]> ha scritto: >>> > >>> > > Thanks for your fast answer. >>> > > I can't find the file "security.properties" as indicated. When I >>> execute >>> > > "locate security.properties" on a terminal, I get two results: >>> > > >>> > > - >>> > > >>> > >>> /root/.local/share/Trash/files/archiva/WEB-INF/classes/org/apache/maven/archiva/security.properties >>> > > - >>> > > >>> > >>> /root/.local/share/Trash/files/archiva.2/WEB-INF/classes/org/apache/maven/archiva/security.properties >>> > > >>> > > It doesn't correspond with the path indicated in the documentation. >>> > > >>> > > Mickael >>> > > >>> > > -----Original Message----- >>> > > From: Olivier Lamy [mailto:[email protected]] >>> > > Sent: Tuesday, May 01, 2012 10:40 AM >>> > > To: [email protected] >>> > > Subject: Re: Disable automatic password reset? >>> > > >>> > > Hello, >>> > > Yes possible. >>> > > >>> > > Have a look here: >>> > > >>> > >>> http://archiva.apache.org/docs/1.4-M2/adminguide/customising-security.html >>> > > >>> > > >>> > > 2012/5/1 Mickael Marrache <[email protected]>: >>> > > > Hello, >>> > > > >>> > > > Archiva requires its users to change their password periodically. Is >>> > > there a possibility to disable this feature? >>> > > > >>> > > > Thanks >>> > > > >>> > > > Mickael >>> > > >>> > > >>> > > >>> > > -- >>> > > Olivier Lamy >>> > > Talend: http://coders.talend.com >>> > > http://twitter.com/olamy | http://linkedin.com/in/olamy >>> > > >>> > >>> > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy
-- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy
