rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dongefore...@apache.org
Subject [rocketmq] 01/01: Merge pull request #554 from githublaohu/feature_acl
Date Fri, 30 Nov 2018 03:05:24 GMT
This is an automated email from the ASF dual-hosted git repository.

dongeforever pushed a commit to branch feature_acl
in repository https://gitbox.apache.org/repos/asf/rocketmq.git

commit 760c24ce62efc9033f44513dbeab7533a37e6645
Merge: 2a93a9b b11ccc5
Author: Zhendong Liu <zhendongliu92@yeah.net>
AuthorDate: Fri Nov 30 11:05:18 2018 +0800

    Merge pull request #554 from githublaohu/feature_acl
    
    Rewrite the design of acl feature

 .../apache/rocketmq/acl/PlainAccessValidator.java  |  62 ++-
 .../rocketmq/acl/plug/AccessContralAnalysis.java   |  85 ----
 .../acl/plug/{entity => }/AccessControl.java       |   6 +-
 .../rocketmq/acl/plug/AclPlugController.java       |  60 ---
 .../{exception => }/AclPlugRuntimeException.java   |   2 +-
 .../rocketmq/acl/plug/AclRemotingService.java      |  26 --
 .../org/apache/rocketmq/acl/plug/AclUtils.java     |  24 +-
 .../apache/rocketmq/acl/plug/Authentication.java   |  59 ---
 .../acl/plug/{entity => }/AuthenticationInfo.java  |   8 +-
 .../plug/{entity => }/AuthenticationResult.java    |   2 +-
 ...AccessControl.java => BrokerAccessControl.java} |  30 +-
 .../rocketmq/acl/plug/NetaddressStrategy.java}     |   3 +-
 .../{strategy => }/NetaddressStrategyFactory.java  |   8 +-
 .../rocketmq/acl/plug/PlainAclPlugEngine.java      | 356 +++++++++++++++++
 .../rocketmq/acl/plug/engine/AclPlugEngine.java    |  37 --
 .../AuthenticationInfoManagementAclPlugEngine.java | 152 -------
 .../acl/plug/engine/LoginInfoAclPlugEngine.java    |  66 ----
 .../acl/plug/engine/PlainAclPlugEngine.java        |  60 ---
 .../plug/entity/BorkerAccessControlTransport.java  |  52 ---
 .../acl/plug/entity/ControllerParameters.java      |  52 ---
 .../apache/rocketmq/acl/plug/entity/LoginInfo.java |  82 ----
 .../acl/plug/strategy/NetaddressStrategy.java      |  24 --
 .../acl/plug/AccessContralAnalysisTest.java        |  63 ---
 .../rocketmq/acl/plug/AclRemotingServiceTest.java  | 148 -------
 .../org/apache/rocketmq/acl/plug/AclUtilsTest.java |   6 +-
 .../rocketmq/acl/plug/AuthenticationTest.java      | 141 -------
 .../{strategy => }/NetaddressStrategyTest.java     |   4 +-
 .../rocketmq/acl/plug/PlainAclPlugEngineTest.java  | 436 +++++++++++++++++++++
 .../acl/plug/engine/PlainAclPlugEngineTest.java    | 260 ------------
 acl/src/test/resources/conf/transport.yml          |   1 +
 .../apache/rocketmq/broker/BrokerController.java   |   1 +
 .../org/apache/rocketmq/srvutil/ServerUtil.java    |   4 +-
 tools/pom.xml                                      |   7 +-
 .../rocketmq/tools/command/MQAdminStartup.java     |  75 +++-
 34 files changed, 956 insertions(+), 1446 deletions(-)


Mime
View raw message