Apache Ignite Documentation

GridGain Developer Hub - Apache Ignitetm

Welcome to the Apache Ignite developer hub run by GridGain. Here you'll find comprehensive guides and documentation to help you start working with Apache Ignite as quickly as possible, as well as support if you get stuck.


GridGain also provides Community Edition which is a distribution of Apache Ignite made available by GridGain. It is the fastest and easiest way to get started with Apache Ignite. The Community Edition is generally more stable than the Apache Ignite release available from the Apache Ignite website and may contain extra bug fixes and features that have not made it yet into the release on the Apache website.


Let's jump right in!


Documentation     Ask a Question     Download


Javadoc     Scaladoc     Examples

Advanced Security

Securing an Ignite cluster.


You can secure your Ignite cluster by enabling authentication on the server and providing user credentials on clients. Currently, authentication is supported only when Ignite persistence is enabled. This requirement may be relaxed in future releases.


This authentication mechanism only applies to thin clients/JDBC/ODBC connections.

Enable Authentication

To enable authentication on the server, set the authenticationEnabled property of IgniteConfiguration to true in your Spring XML config file, or via code, like so:

<bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
    <!-- Enabling Apache Ignite Persistent Store. -->
    <property name="dataStorageConfiguration">
        <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
            <property name="defaultDataRegionConfiguration">
                <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
                    <property name="persistenceEnabled" value="true"/>

    <!-- Enabling authentication. -->
    <property name="authenticationEnabled" value="true"/>
  <!-- Other Ignite configurations. -->
// Apache Ignite node configuration.
IgniteConfiguration cfg = new IgniteConfiguration();

// Ignite persistence configuration.
DataStorageConfiguration storageCfg = new DataStorageConfiguration();

// Enabling the persistence.

// Applying settings.

// Enable authentication

// Other configurations

Provide User Credentials

When authentication is enabled, Ignite creates the superuser account under the name ignite and password ignite on the first cluster startup. Presently, you can't rename the superuser account nor grant its privileges to any other account. However, you can CREATE, ALTER, and DROP a user, using DDL commands supported by Ignite. Note, that a new user can only be created using a superuser account.


Apache Ignite does not provide authorization features out-of-the-box. However, for such advanced level security features, you can implement the GridSecurityProcessor interface as part of a custom plugin or choose to use a 3rd party implementation such as this one.

Updated 5 months ago

Advanced Security

Securing an Ignite cluster.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.