public class Kinit extends Object
Constructor and Description |
---|
Kinit(KdcConnection kdc) |
Modifier and Type | Method and Description |
---|---|
File |
getCredCacheFile() |
void |
kinit(String principal,
String password)
Authenticates to the Kerberos server and gets the initial Ticket Granting Ticket,
then cache the tgt in credentials cache, as MIT kinit does.
|
void |
setCredCacheFile(File credCacheFile) |
public Kinit(KdcConnection kdc)
public void setCredCacheFile(File credCacheFile)
public File getCredCacheFile()
public void kinit(String principal, String password) throws Exception
principal
- the client's principalpassword
- password of the clientException
Copyright © 2016. All rights reserved.