forked from navikt/kafka-plain-saslserver-2-ad
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just change of text and adding text files
- Loading branch information
Showing
4 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @navikt/integrasjon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 NAV (Arbeids- og velferdsdirektoratet) - The Norwegian Labour and Welfare Administration | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,15 @@ giving minor performance penalty and reduced LDAPS traffic. | |
## Tools | ||
- Kotlin | ||
- Gradle build tool | ||
- Spek test framework | ||
|
||
## Components | ||
|
||
1. Unboundid LDAP SDK for LDAPS interaction | ||
2. Caffeine Cache | ||
3. YAML Configuration for LDAP baseDN for users, groups and more. See src/test/resources/ldapconfig.yaml for details | ||
|
||
**Observe** that the directory hosting yaml configuration file must be in CLASSPATH | ||
**Observe** that the directory hosting yaml configuration file must be in CLASSPATH. | ||
|
||
## Kafka configuration examples | ||
|
||
|
@@ -49,13 +50,21 @@ Use of Unboundid in-memory LDAP server for all test cases. | |
|
||
Tested on confluent.io version 4.0.0. | ||
|
||
See [Confluent Open Source distribution](https://www.confluent.io/product/confluent-open-source/) in order to test locally. | ||
|
||
## Build | ||
|
||
``` | ||
./gradlew clean build | ||
./gradlew shadowJar | ||
./gradlew publish | ||
The result is KafkaPlainSaslServer2AD-<version>-all.jar both authentication and authorization logic. | ||
``` | ||
**Observe** that the directory hosting the given JAR file must be in CLASSPATH. | ||
|
||
KafkaPlainSaslServer2AD-a_version-all.jar contains the relevant components only. | ||
### Contact us | ||
#### Code/project related questions can be sent to | ||
* Torstein Nesby, `[email protected]` | ||
* Trong Huu Nguyen, `[email protected]` | ||
|
||
For internal resources, send requests/questions to slack#kafka |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters