A newer version of Platform is available.

View latest

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

    <security enabled="true">
    enabled: true
        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.