Commit 787a8403 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Ported updates from 3.5.0 branch.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9976 b35dd754-fafc-0310-a699-88a17e54d16e
parent e36a7ca8
...@@ -126,6 +126,9 @@ public class LockOutManager { ...@@ -126,6 +126,9 @@ public class LockOutManager {
* @throws NotLockedOutException if user account specified is not currently locked out (disabled). * @throws NotLockedOutException if user account specified is not currently locked out (disabled).
*/ */
public LockOutFlag getDisabledStatus(String username) throws NotLockedOutException { public LockOutFlag getDisabledStatus(String username) throws NotLockedOutException {
if (username == null) {
throw new UnsupportedOperationException("Null username not allowed!");
}
LockOutFlag flag = lockOutCache.get(username); LockOutFlag flag = lockOutCache.get(username);
// If ID wan't found in cache, load it up and put it there. // If ID wan't found in cache, load it up and put it there.
if (flag == null) { if (flag == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment