Version: 5.3This feature requires Hazelcast Enterprise, a licensed edition of the Hazelcast Platform.
Enterprise Edition
Enabling JAAS Security
With Hazelcast's extensible, JAAS based security feature, you can:
- authenticate both cluster members and clients
- and perform access control checks on client operations. Access control can be done according to endpoint principal and/or endpoint address.
You can enable security declaratively or programmatically, as shown below.
- XML
- YAML
- Java
xml
<hazelcast>
...
<security enabled="true">
...
</security>
...
</hazelcast>
yaml
hazelcast:
security:
enabled: true
java
Config cfg = new Config();
SecurityConfig securityCfg = cfg.getSecurityConfig();
securityCfg.setEnabled( true );
Also, see the Setting License Key section for information about how to set your Hazelcast Enterprise license.