archiva的一些安全性配置

阅读更多
http://archiva.apache.org/docs/2.0.1/adminguide/customising-security.html 写道
Security properties and password rules can be configured in the security.properties file, which by default is searched for in:

~/.m2/security.properties
conf/security.properties in the Archiva installation

 

Security properties and password rules can be configured in the security.properties file, which by default is searched for in:

  • ~/.m2/security.properties
  • conf/security.properties in the Archiva installation

(In the above list, ~ is the home directory of the user who is running Archiva.)

Following are some of the properties you can modify. For a complete list, consult the default properties file in Redback's svn repo: config-defaults.properties

# Security Policies
#security.policy.password.encoder=
security.policy.password.previous.count=6
security.policy.password.expiration.days=90
security.policy.password.expiration.enabled=true
security.policy.allowed.login.attempt=3

# Password Rules
security.policy.password.rule.alphanumeric.enabled=false
security.policy.password.rule.alphacount.enabled=true
security.policy.password.rule.alphacount.minimum=1
security.policy.password.rule.characterlength.enabled=true
security.policy.password.rule.characterlength.minimum=1
security.policy.password.rule.characterlength.maximum=8
security.policy.password.rule.musthave.enabled=true
security.policy.password.rule.numericalcount.enabled=true
security.policy.password.rule.numericalcount.minimum=1
security.policy.password.rule.reuse.enabled=true
security.policy.password.rule.nowhitespace.enabled=true

 

Note: If installed standalone, Archiva's list of configuration files is itself configurable, and can be found in: apps/archiva/WEB-INF/applicationContext.xml

Values from sources


  
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      ]]>
    
      

 

你可能感兴趣的:(archiva的一些安全性配置)