Class Keytab
java.lang.Object
org.apache.kerby.kerberos.kerb.keytab.Keytab
- All Implemented Interfaces:
KrbKeytab
Keytab management util.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntry(KeytabEntry entry) voidaddKeytabEntries(List<KeytabEntry> entries) org.apache.kerby.kerberos.kerb.type.base.EncryptionKeygetKey(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal, org.apache.kerby.kerberos.kerb.type.base.EncryptionType keyType) getKeytabEntries(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal) List<org.apache.kerby.kerberos.kerb.type.base.PrincipalName>voidvoidload(InputStream inputStream) static KeytabloadKeytab(File keytabFile) static KeytabloadKeytab(InputStream inputStream) voidremoveKeytabEntries(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal) voidremoveKeytabEntries(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal, int kvno) voidremoveKeytabEntry(KeytabEntry entry) voidvoidstore(OutputStream outputStream)
-
Field Details
-
V501
public static final int V501- See Also:
-
V502
public static final int V502- See Also:
-
-
Constructor Details
-
Keytab
public Keytab()
-
-
Method Details
-
loadKeytab
- Throws:
IOException
-
loadKeytab
- Throws:
IOException
-
getPrincipals
- Specified by:
getPrincipalsin interfaceKrbKeytab
-
addKeytabEntries
- Specified by:
addKeytabEntriesin interfaceKrbKeytab
-
removeKeytabEntries
public void removeKeytabEntries(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal) - Specified by:
removeKeytabEntriesin interfaceKrbKeytab
-
removeKeytabEntries
public void removeKeytabEntries(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal, int kvno) - Specified by:
removeKeytabEntriesin interfaceKrbKeytab
-
removeKeytabEntry
- Specified by:
removeKeytabEntryin interfaceKrbKeytab
-
getKeytabEntries
public List<KeytabEntry> getKeytabEntries(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal) - Specified by:
getKeytabEntriesin interfaceKrbKeytab
-
getKey
public org.apache.kerby.kerberos.kerb.type.base.EncryptionKey getKey(org.apache.kerby.kerberos.kerb.type.base.PrincipalName principal, org.apache.kerby.kerberos.kerb.type.base.EncryptionType keyType) -
load
- Specified by:
loadin interfaceKrbKeytab- Throws:
IOException
-
load
- Specified by:
loadin interfaceKrbKeytab- Throws:
IOException
-
addEntry
-
store
- Specified by:
storein interfaceKrbKeytab- Throws:
IOException
-
store
- Specified by:
storein interfaceKrbKeytab- Throws:
IOException
-