Kerberos Login using keytab without prompt for credentaials

531 Views Asked by At

I have done the following changes in the jaas.conf

kblogininfo
{
 com.sun.security.auth.module.Krb5LoginModule required
 storekey=true
 useKeyTab=true
 useTicketCache=true
 doNotPrompt=true
 keyTab="/home/impadmin/kyvosworkspace/olapengine/connections/vikas.keytab"
 principal="[email protected]";
};
Client 
{
 com.sun.security.auth.module.Krb5LoginModule required
 storekey=true
 useKeyTab=true
 useTicketCache=true
 doNotPrompt=true 
keyTab="/home/impadmin/kyvosworkspace/olapengine/connections/vikas.keytab"
 principal="[email protected]";
};

But still I am getting the prompt for credentials. Any help on this would be appreciable.

0

There are 0 best solutions below