Archiva

Changesof property value in *security.properties* make Archiva crush

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.1.2
  • Fix Version/s: None
  • Component/s: Users/Security
  • Labels:
    None
  • Number of attachments :
    0

Description

When I change property security.policy.password.previous.count to 0(zero) and property security.policy.password.encoder is not defined it makes Archiva crushe with exception which refers to DefaultUserSecurityPolicy (line 250) class from redback-policy library. The exception is not well infirmative and only debugging on library sources let me know where is the problem.

I think there should be any validation of properties in Archiva before they passed to third party libraries to avoid such situations

Activity

Hide
Brett Porter added a comment -

for testing

Show
Brett Porter added a comment - for testing
Hide
Brett Porter added a comment -

can't reproduce in 1.4

Show
Brett Porter added a comment - can't reproduce in 1.4

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: