Programmers learn & share
0 votes

Problem :

I am implementing kerberos Authentication in my existing java spring application.My unix team has provided me SPN, krb5.conf and keytab file. I am trying hard but getting unable to obtain password from user exception 

by (6.9k points)   | 162 views

1 Answer

0 votes

Solution :

This issue is may be due to property values not been resolved on the security-config. 

Please hard code as given bellow and try again?

<beans:property name="servicePrincipal" value="HTTP/"/> <beans:property name="keyTabLocation" value="file:YOUR KEY TAB LOCATION >>/mykey.keytabl" />

The error has thrown from's init method so it should be something about keytab file or service principle is not set properly.

Further Readings:

by (36.1k points)  
edited by
2,187 questions
2,514 answers
241 users