|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface to a Kerberos keytab.
A KeyTab is a keyed (according to owning Principal) table of Kerberos keys.
A concrete implementation is available for compatibility with MIT file-based keytabs.
FileKeyTab,
KeyTabEntry| Method Summary | |
Iterator |
getKeyTabEntries()
Returns an Iterator for all KeyTabEntrys in this KeyTab Note: to ensure thread-safety, it is necessary to synchronize on KeyTab instance until all operations on the Iterator instance are completed. |
KeyTabEntry |
getKeyTabEntry(String name)
Returns a KeyTabEntry for a given principal |
String |
getKeyTabType()
Returns the key tab type for this KeyTab |
| Method Detail |
public KeyTabEntry getKeyTabEntry(String name)
public Iterator getKeyTabEntries()
KeyTab keytab = ...;
...
synchronized (keytab) {
Iterator it = keytab.getKeyTabEntries();
// perform all necessary operations on iterator
...
}
public String getKeyTabType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||