4

I am running a standalone Archiva 2.2.0 installation. I added security.properties file to ~\conf directory. In security.properties I defined:

security.policy.password.expiration.days=999999
security.policy.password.expiration.enabled=false

However, Archiva keeps complaining that the admin password has expired.

Thank you!

igor-so
  • 453
  • 9
  • 16
  • Possible duplicate of [Archiva ignoring Security.properties](http://stackoverflow.com/questions/32790729/archiva-ignoring-security-properties) – Amani Kilumanga Feb 28 '17 at 02:50

1 Answers1

5

It is possible. In my case I stopped the admin password from expiring regularly by noticing that the properties had been copied into the main archiva.xml file.

Specifically, you need to change the expiration settings within the configurationProperties block.

<expiration>
    <enabled>false</enabled>
    <days>999999</days>
</expiration>

Please refer to my answer here for how to go about it.

Community
  • 1
  • 1
fr1550n
  • 1,055
  • 12
  • 23