[JENKINS-55305] Add user creation listener method
Four new methods added to the SecurityListener class
to enable support for listening to Jenkins user-account
creation events.
[JENKINS-55305] Update SecurityListener class
[JENKINS-55307] Add new private-realm unit tests
Added unit tests to exercise the updated methods
of the HudsonPrivateSecurityRealm class.
[JENKINS-55307] Update realm user-creation methods
[JENKINS-55305] Remove usage of listener method
Updated the SecurityListener and HudsonPrivateSecurityRealm
classes, removing usage of the SecurityListener failedToCreateUser()
method, as no valid Jenkins use cases could be identified for the
method at this point in time.
- When backslash was used in translation then generated template for translation was broken. Only first line was copied, rest was missing and because of \ and next key was also not properly processed.
- Adds lib for reading properties files instead of own implementation
### Proposed changelog entries
### Submitter checklist
- [ ] JIRA issue is well described
- [ ] Changelog entry appropriate for the audience affected by the change (users or developer, depending on the change).
- [ ] Appropriate autotests or explanation to why this change has no tests
- [ ] For dependency updates: links to external changelogs and, if possible, full diffs
### Desired reviewers
@batmat
- Provides translations mostly for SetupWizard
- Makes title of error panel translatable
### Proposed changelog entries
### Submitter checklist
- [ ] JIRA issue is well described
- [ ] Changelog entry appropriate for the audience affected by the change (users or developer, depending on the change).
- [ ] Appropriate autotests or explanation to why this change has no tests
- [ ] For dependency updates: links to external changelogs and, if possible, full diffs
### Desired reviewers
@batmat
n.b. The French Localizer already did this
Old:
(pending—Build #3,585 is already in progress (ETA:N/A))
New:
(pending—Build #3,585 is already in progress (ETA: N/A))
Without this, no exception would be thrown when a file cannot be deleted, but an exception would be thrown when a directory cannot be deleted.
Signed-off-by: Matt Sicker <boards@gmail.com>