Indexima provides its own authentication mechanism for basic user/password authentication.


Activate this authentication mechanism, in the hive-site.xml configuration file:

hive-site.xml

        <property>
                <name>hive.server2.authentication</name>
                <value>CUSTOM</value>
        </property>
        <property>
                <name>hive.server2.custom.authentication.class</name>
                <value>io.galactica.admin.HiveAuthProvider</value>
        </property>
XML


To configure users, you need to add these lines in your galactica.conf file:

session.users=user1,user2
session.passwords=pass1,pass2
users.in.admin.role=user1
BASH

All parameters are comma-separated lists.

More information on galactica.conf parameters