Fixed
Details
Assignee
Philip SmartPhilip SmartReporter
Philip SmartPhilip SmartComponents
Fix versions
Affects versions
Details
Details
Assignee
Philip Smart
Philip SmartReporter
Philip Smart
Philip SmartComponents
Fix versions
Affects versions
Created May 15, 2020 at 9:24 AM
Updated May 29, 2020 at 1:51 PM
Resolved May 29, 2020 at 1:51 PM
The recordSuccess and recordFailure methods of the AbstractValidationAction do not first check if the metrics registry has been installed into the runtime before obtaining and modifying a counter. The metrics registry can be null.
This only surfaced when mocking up an authn flow test without first initializing the metric registry in the configuration service. A successful authentication was triggering a NPE which then triggered an authentication failure.