Using NATIVE Authentication

Native authentication is the default mechanism for Splice Machine; you don’t need to modify your configuration if you wish to use it. Native authentication uses the sys.sysusers table in the splice schema for configuring user names and passwords.

The default native authentication property settings are:

<property>
    <name>splice.authentication</name>
    <value>NATIVE</value>
</property>
<property>
    <name>splice.authentication.native.algorithm</name>
    <value>SHA-512</value>
</property>

You can use MD5, SHA-256, or SHA-512 for the value of the native.algorithm property; SHA-512 is the default value.

Switching to Native Authentication

If you are switching your authentication from to NATIVE authentication from another mechanism (including NONE), there’s one additional step you need to take: you must re-initialize the credentials database (SYSUSERS table), by adding the following property setting to your configuration file:

<property>
    <name>splice.authentication.native.create.credentials.database</name>
    <value>true</value>
</property>