Details
A LockOut realm wraps around standard realms adding the ability to lock a user out after multiple failed logins.
Rationale:
Locking out a user after multiple failed logins slows down attackers from brute forcing logins.
Solution
Create a lockout realm wrapping the main realm similar to the example below:
References:
https://tomcat.apache.org/tomcat-8.0-doc/realm-howto.html
https://tomcat.apache.org/tomcat-8.0-doc/config/realm.html
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.