git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@992987
13f79535-47bb-0310-9956-
ffa450edef68
private static final Log log = LogFactory.getLog(LockOutRealm.class);
/**
+ * Descriptive information about this Realm implementation.
+ */
+ protected static final String name = "LockOutRealm";
+
+ /**
* The number of times in a row a user has to fail authentication to be
* locked out. Defaults to 5.
*/
}
+ @Override
+ protected String getName() {
+ return name;
+ }
+
+
/**
* Set the period for which an account will be locked.
* @param lockOutTime the lockOutTime to set
BCEL code. Based on a patch by Gábor. (markt)
</fix>
<fix>
- <bug>49883</bug>: Ensure that the CombinedRealm returns a name for use
- in log messages rather than throwing an
+ <bug>49883</bug>: Ensure that the CombinedRealm and LockOutRealm return
+ a name for use in log messages rather than throwing an
<code>UnsupportedOperationException</code>. (markt)
</fix>
<fix>