You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rx...@apache.org on 2020/08/06 02:45:52 UTC
[pulsar] branch branch-2.6 updated: Add license header for readme
file of oauth2 (#7761)
This is an automated email from the ASF dual-hosted git repository.
rxl pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new 9a80eb5 Add license header for readme file of oauth2 (#7761)
9a80eb5 is described below
commit 9a80eb51dd1ebcd2cda1c01c7fc743184cf4f846
Author: 冉小龙 <rx...@apache.org>
AuthorDate: Wed Aug 5 22:15:38 2020 +0800
Add license header for readme file of oauth2 (#7761)
Signed-off-by: xiaolong.ran <rx...@apache.org>
### Modifications
Run `mvn apache-rat:check` to verify the license headers in the `apache-pulsar-2.6.1-src.tar.gz` package, found that the `README.md` file in oauth2 lacks a license header
Add license header for readme file of oauth2.
(cherry picked from commit 3e9db09c18114ccaa2311fe75b3b2fcf9f6e25b4)
---
.../impl/auth/oauth2/{Readme.md => README.md} | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/Readme.md b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/README.md
similarity index 83%
rename from pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/Readme.md
rename to pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/README.md
index cca7973..67ef9ca 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/Readme.md
+++ b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/README.md
@@ -1,3 +1,24 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
# Pulsar Client Authentication Plugin for OAuth 2.0
Pulsar supports authenticating clients using OAuth 2.0 access tokens.