summaryrefslogtreecommitdiff
path: root/qpid/java/broker-core/src
diff options
context:
space:
mode:
authorAlex Rudyy <orudyy@apache.org>2015-04-06 12:46:57 +0000
committerAlex Rudyy <orudyy@apache.org>2015-04-06 12:46:57 +0000
commit09dfff6a4638c0a0b910d2fb1aae9f9aa48f5162 (patch)
tree5469cb5073cb856f87ef1368487c47dff3fb46f5 /qpid/java/broker-core/src
parent8ec93cf4ee590ca42b2cfc6387889f603f97668b (diff)
downloadqpid-python-09dfff6a4638c0a0b910d2fb1aae9f9aa48f5162.tar.gz
QPID-6478: Set state to ACTIVE on creation of file based authentication provider when empty or non existing user file is specified
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-core/src')
-rw-r--r--qpid/java/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/PrincipalDatabaseAuthenticationManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/java/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/PrincipalDatabaseAuthenticationManager.java b/qpid/java/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/PrincipalDatabaseAuthenticationManager.java
index 243e9add66..6631ebab54 100644
--- a/qpid/java/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/PrincipalDatabaseAuthenticationManager.java
+++ b/qpid/java/broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/PrincipalDatabaseAuthenticationManager.java
@@ -246,6 +246,7 @@ public abstract class PrincipalDatabaseAuthenticationManager<T extends Principal
}
else
{
+ setState(State.ACTIVE);
return Futures.immediateFuture(null);
}
}