archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Disable automatic password reset?
Date Tue, 01 May 2012 16:36:54 GMT
2012/5/1 Mickael Marrache <Mickael.Marrache@xconnect.net>:
> 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:olamy@apache.org]
> Sent: Tuesday, May 01, 2012 1:02 PM
> To: users@archiva.apache.org
> 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 <mcucchiara@apache.org>:
>> 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" <
>> Mickael.Marrache@xconnect.net> 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: maurizio.cucchiara@gmail.com [mailto:maurizio.cucchiara@gmail.com]
>>> On Behalf Of Maurizio Cucchiara
>>> Sent: Tuesday, May 01, 2012 11:02 AM
>>> To: users@archiva.apache.org
>>> 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" <
>>> Mickael.Marrache@xconnect.net> 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: maurizio.cucchiara@gmail.com [mailto:maurizio.cucchiara@gmail.com]
>>> > On Behalf Of Maurizio Cucchiara
>>> > Sent: Tuesday, May 01, 2012 10:49 AM
>>> > To: users@archiva.apache.org
>>> > 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" <
>>> > Mickael.Marrache@xconnect.net> 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:olamy@apache.org]
>>> > > Sent: Tuesday, May 01, 2012 10:40 AM
>>> > > To: users@archiva.apache.org
>>> > > 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 <Mickael.Marrache@xconnect.net>:
>>> > > > 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

Mime
View raw message