Getting Started with Kerberos
Overview
This getting started gives some clues to start working with Kerberos.
It describes how to create the Kerberos Metadata, that centralize the Kerberos information, such as the various principals
and keytabs
.
These information are then used in the other components that supports Kerberos authentication.
Create the Metadata
To create a Kerberos Metadata, launch the Metadata creation wizard, select the Kerberos Metadata in the list and follow the wizard.
Then, configure the server and principals properties.
Server Properties
The server node is the root node of the Metadata.
It represents the global Kerberos properties shared with all the principals.
Below, an example of a server node:
The following server properties are available.
Property | Description | Example | ||
---|---|---|---|---|
Kerberos Configuration File Path |
Path to the Kerberos configuration file.
|
D:/kerberos/krb5.conf |
||
Enable Kerberos Debug |
Optional debug property that allows to print more information in the Designer and Runtime consoles when performing Kerberos connections. |
|||
Java Security Debug Properties |
Optional comma separated list of debug values that should be returned by Java. |
gssloginconfig,configfile,configparser,logincontext |
Principal Properties
Under Kerberos, an account in called a 'principal'.
In the Kerberos Metadata, you can add as many principals as required, representing your different services, organizations, …
To add a new Principal:
-
right click on the server node
-
choose
new > Kerberos Principal
Below, an example of a principal node:
The following properties are available:
Property | Description | Example |
---|---|---|
Name |
Logical label (alias) to identify the Principal.
|
hbase |
Kerberos Principal |
Kerberos Principal name.
The Kerberos Principal must meet the standard Kerberos Principal syntax, that is the following: This property is mandatory. |
|
Kerberos Local Keytab File Path |
Local Path to the Keytab file associated to the Principal. |
|
Kerberos Remote Keytab File Path |
Optional remote Path to the Keytab file associated to the Principal. |
|