Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ target/
*.iml
*.ipr
*.iws
*.txt
*.txt
index.html
index.pdf
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
You can find the configurations referred in the guide under `doc/modules/ROOT/examples`.

See the guide [here](include published URL).
2 changes: 0 additions & 2 deletions create.sh

This file was deleted.

5 changes: 2 additions & 3 deletions doc/antora.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: guide-name # a brief module name. This will be included in the guide url.
title: Guide Title # a brief module title. This will not show up on the website.
name: active-directory-authentication
title: Active Directory authentication in Hazelcast
version: master

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions doc/modules/ROOT/examples/allow-hazelcast-port.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
New-NetFirewallRule -DisplayName 'Hazelcast ports 5701-5703' `
-Name Hazelcast -Direction Inbound -Action Allow `
-Protocol TCP -LocalPort 5701-5703
7 changes: 7 additions & 0 deletions doc/modules/ROOT/examples/create-groups-and-map-user.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
New-ADGroup -Name "Acme Cache" -GroupScope Global `
-Description "Cache users"
New-ADGroup -Name "Acme Cache Czechia" -GroupScope Global `
-Description "Cache users in the Czech Republic"

Add-ADGroupMember -Identity "Acme Cache" -Members "Acme Cache Czechia"
Add-ADGroupMember -Identity "Acme Cache Czechia" -Members hazelcast
5 changes: 5 additions & 0 deletions doc/modules/ROOT/examples/debug-logging.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
handlers=java.util.logging.ConsoleHandler
.level=INFO
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.SimpleFormatter.format=%1$tF-%1$tT [%4$s] %2$s %5$s%6$s%n
com.hazelcast.security.level=ALL
18 changes: 18 additions & 0 deletions doc/modules/ROOT/examples/hazelcast-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
hazelcast-client:
network:
cluster-members:
- 10.0.0.10
- 10.0.0.11
security:
kerberos:
security-realm: krb5Initiator
realms:
- name: krb5Initiator
authentication:
jaas:
- class-name: com.sun.security.auth.module.Krb5LoginModule
usage: REQUIRED
properties:
isInitiator: true
useTicketCache: true
doNotPrompt: true
28 changes: 28 additions & 0 deletions doc/modules/ROOT/examples/hazelcast-simple.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
hazelcast:
license-key: "PUT_THE_LICENSE_KEY_HERE"
network:
join:
multicast:
enabled: false
tcp-ip:
enabled: true
member-list:
- 10.0.0.10
- 10.0.0.11
security:
enabled: true
realms:
- name: kerberosRealm
authentication:
kerberos:
relax-flags-check: true
use-name-without-realm: true
principal: hz/10.0.0.11@ACME.COM
keytab-file: hz-app1.keytab
identity:
kerberos:
realm: ACME.COM
principal: hz/10.0.0.11@ACME.COM
keytab-file: hz-app1.keytab
member-authentication:
realm: kerberosRealm
69 changes: 69 additions & 0 deletions doc/modules/ROOT/examples/hazelcast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
hazelcast:
license-key: "PUT_THE_LICENSE_KEY_HERE"
network:
join:
multicast:
enabled: false
tcp-ip:
enabled: true
member-list:
- 10.0.0.10
- 10.0.0.11
security:
enabled: true
realms:
- name: kerberosRealm
authentication:
kerberos:
relax-flags-check: true
use-name-without-realm: true
security-realm: krb5Acceptor
ldap:
url: ldap://DC1.acme.com/
system-authentication: GSSAPI
security-realm: krb5Initiator
skip-authentication: true
user-context: DC=acme,DC=com
user-filter: "(|(sAMAccountName={login})(servicePrincipalName={login}))"
role-mapping-mode: direct
role-mapping-attribute: memberOf
role-recursion-max-depth: 5
role-name-attribute: CN
parse-dn: false
identity:
kerberos:
realm: ACME.COM
security-realm: krb5Initiator
- name: krb5Acceptor
authentication:
jaas:
- class-name: com.sun.security.auth.module.Krb5LoginModule
usage: REQUIRED
properties:
isInitiator: false
useTicketCache: false
doNotPrompt: true
useKeyTab: true
storeKey: true
principal: hz/10.0.0.11@ACME.COM
keyTab: hz-app1.keytab
- name: krb5Initiator
authentication:
jaas:
- class-name: com.sun.security.auth.module.Krb5LoginModule
usage: REQUIRED
properties:
isInitiator: true
useTicketCache: false
doNotPrompt: true
useKeyTab: true
storeKey: true
principal: hz/10.0.0.11@ACME.COM
keyTab: hz-app1.keytab
member-authentication:
realm: kerberosRealm
client-authentication:
realm: kerberosRealm
client-permissions:
all:
principal: "Acme Cache"
8 changes: 8 additions & 0 deletions doc/modules/ROOT/examples/krb5.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[libdefaults]
default_realm = ACME.COM
[realms]
ACME.COM = {
kdc = dc1.acme.com
}
[domain_realm]
.acme.com = ACME.COM
Loading