| Modifier and Type | Field and Description |
|---|---|
| private Set | |
| private boolean | |
| private List | |
| private KerberosPrincipal | |
| private List | |
| private KerberosTicket |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public EncryptionKey[] | Returns: keys for the princ, never null, might be emptythe target name initiator requests. Not null. princ)Gets EKeys for a principal. |
| public Credentials | |
| public static ServiceCreds | Returns: the object, or null if there is no private creds for itCreates a ServiceCreds object based on info in a Subject for a given principal name (if specified). |
| public KerberosKey[] | |
| public KerberosKey[] | Returns: keys for the princ, never null, might be emptythe target name initiator requests. Not null. princ)Get kkeys for a principal, |
| public String |
| allPrincs | back to summary |
|---|---|
| private Set<KerberosPrincipal> allPrincs | |
| destroyed | back to summary |
|---|---|
| private boolean destroyed | |
| kk | back to summary |
|---|---|
| private List<KerberosKey> kk | |
| kp | back to summary |
|---|---|
| private KerberosPrincipal kp | |
| ktabs | back to summary |
|---|---|
| private List<KeyTab> ktabs | |
| tgt | back to summary |
|---|---|
| private KerberosTicket tgt | |
| ServiceCreds | back to summary |
|---|---|
| private ServiceCreds() | |
| destroy | back to summary |
|---|---|
| public void destroy() | |
| getEKeys | back to summary |
|---|---|
| public EncryptionKey[] getEKeys(PrincipalName princ) Gets EKeys for a principal.
| |
| getInitCred | back to summary |
|---|---|
| public Credentials getInitCred() | |
| getInstance | back to summary |
|---|---|
| public static ServiceCreds getInstance(Subject subj, String serverPrincipal) Creates a ServiceCreds object based on info in a Subject for a given principal name (if specified).
| |
| getKKeys | back to summary |
|---|---|
| public KerberosKey[] getKKeys() Gets keys for "someone". Used in 2 cases: 1. By TLS because it needs to get keys before client comes in. 2. As a fallback in getEKeys() below. This method can still return an empty array. | |
| getKKeys | back to summary |
|---|---|
| public KerberosKey[] getKKeys(KerberosPrincipal princ) Get kkeys for a principal,
| |
| getName | back to summary |
|---|---|
| public String getName() | |