HADOOP-10310. SaslRpcServer should be initialized even when no secret manager present. Contributed by Aaron T. Myers.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1562867 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2014-01-30 15:52:39 +00:00
parent c01108a17c
commit 3a23c563fa
2 changed files with 4 additions and 1 deletions

View File

@ -379,6 +379,9 @@ Release 2.3.0 - UNRELEASED
HADOOP-10288. Explicit reference to Log4JLogger breaks non-log4j users
(todd)
HADOOP-10310. SaslRpcServer should be initialized even when no secret
manager present. (atm)
Release 2.2.0 - 2013-10-13
INCOMPATIBLE CHANGES

View File

@ -2120,7 +2120,7 @@ protected Server(String bindAddress, int port,
// Create the responder here
responder = new Responder();
if (secretManager != null) {
if (secretManager != null || UserGroupInformation.isSecurityEnabled()) {
SaslRpcServer.init(conf);
}