rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dongefore...@apache.org
Subject [rocketmq] branch feature_acl updated (aeea021 -> 2d4cda2)
Date Fri, 09 Nov 2018 08:04:21 GMT
This is an automated email from the ASF dual-hosted git repository.

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


    from aeea021  Draft the rpc hook and access validator plugin mechanism
     add 74f4213  arrange
     add c629700  clean
     add 212d247  clean
     add d23d2f7  clean
     add 9440371  add acl use example. AclClient.java
     add 11d3df6  add acl use example. AclClient.java
     new 2d4cda2  Merge pull request #519 from githublaohu/feature_acl

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 acl-plug/pom.xml                                   |   4 +-
 .../org/apache/rocketmq/acl/AccessValidator.java   |   6 +-
 .../rocketmq/acl/DefaultAccessValidator.java       |   6 +-
 .../rocketmq/acl/plug/AccessContralAnalysis.java   |   7 +-
 .../apache/rocketmq/acl/plug/Authentication.java   |   2 +-
 .../acl/plug/DefaultAclRemotingServiceImpl.java    |  45 ++++-
 .../rocketmq/acl/plug/engine/AclPlugEngine.java    |   2 +
 .../AuthenticationInfoManagementAclPlugEngine.java |  53 ++++--
 .../acl/plug/engine/LoginInfoAclPlugEngine.java    |   3 +-
 .../acl/plug/engine/PlainAclPlugEngine.java        |   9 +-
 .../rocketmq/acl/plug/entity/AccessControl.java    |   8 +-
 .../acl/plug/entity/AuthenticationInfo.java        |   7 +-
 .../acl/plug/entity/BorkerAccessControl.java       |   4 +-
 .../acl/plug/entity/ControllerParameters.java      |   5 +-
 .../apache/rocketmq/acl/plug/entity/LoginInfo.java |   4 +-
 .../plug/strategy/NetaddressStrategyFactory.java   |   5 +-
 .../rocketmq/acl/plug/AclRemotingServiceTest.java  | 147 +++++++++++++++
 .../org/apache/rocketmq/acl/plug/AclUtilsTest.java |   5 +-
 .../acl/plug/engine/PlainAclPlugEngineTest.java    |  45 +----
 broker/pom.xml                                     |   2 +-
 .../apache/rocketmq/broker/BrokerController.java   |   7 +-
 .../broker/client/ClientHousekeepingService.java   |   3 -
 .../rocketmq/broker/util/ServiceProviderTest.java  |   9 +
 .../org.apache.rocketmq.acl.AccessValidator        |   1 +
 distribution/conf/broker.conf                      |   2 +-
 distribution/conf/transport.yml                    |  10 +-
 .../apache/rocketmq/example/simple/AclClient.java  | 206 +++++++++++++++++++++
 pom.xml                                            |   2 +-
 .../remoting/netty/NettyRemotingClient.java        |   2 +-
 .../remoting/netty/NettyRemotingServer.java        |   2 +-
 .../org/apache/rocketmq/test/base/BaseConf.java    |   5 +
 31 files changed, 508 insertions(+), 110 deletions(-)
 create mode 100644 acl-plug/src/test/java/org/apache/rocketmq/acl/plug/AclRemotingServiceTest.java
 create mode 100644 broker/src/test/resources/META-INF/service/org.apache.rocketmq.acl.AccessValidator
 create mode 100644 example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java


Mime
View raw message