Keytab principals list in Java
If you need to get a list of keytab principals through Java code, you can use the sun.security.krb5.internal.ktab.KeyTab class:
READ MOREsimply about difficult
If you need to get a list of keytab principals through Java code, you can use the sun.security.krb5.internal.ktab.KeyTab class:
READ MORELet’s imagine that we needed to determine what principles and what encryption types exist in a certain keytab. To do this, we will use the ktutil utility: After we have entered the CLI of this utility, we type the following commands: Something like this will be displayed:
READ MOREIf you get an exception like this: Check this two things first: Is the path to the keytab correct? Does the process have permission to read the keyab? In my case it turned out that there was no keytab read permission in hdfs. Thanks Xavier Portebois.
READ MORE