Providing Kerberos credentials using a ticket cache
Configure a Kerberos Ticket Cache for DSE clients.
Prerequisites
Procedure
-
Create a JAAS configuration file for the DSE Client as follows:
Use the default name .java.login.config and put the file in the user's home directory. Set the DSE client class to com.sun.security.auth.module.Krb5LoginModule and define the variables as follows:
DseClient { com.sun.security.auth.module.Krb5LoginModule required useTicketCache=true renewTGT=true; };
- (Optional) If the JAAS configuration is not in the default location or has a different name, customize the location using on of the following methods:
-
Use
kinit
to get a ticket:Startkinit
:kinit -f principal_name