| Modifier and Type | Field and Description |
|---|---|
| private final Krb5NameElement | |
| private final ServiceCreds |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | dispose()
Implements sun. Called to invalidate this credential element. |
| public int | Returns: the accept lifetime remaining in secondsImplements sun. Returns the accept lifetime remaining. |
| public int | Returns: the init lifetime remaining in secondsImplements sun. Returns the init lifetime remaining. |
| pack-priv static Krb5AcceptCredential | |
| public EncryptionKey[] | |
| public final Oid | Returns: the Oid for this credential mechanismImplements sun. Returns the oid representing the underlying credential mechanism oid. |
| public final GSSNameSpi | Returns: GSSNameSpi representing principal name of this credentialImplements sun. Returns the principal name for this credential. |
| public final Provider | |
| public GSSCredentialSpi | impersonate(GSSNameSpi name)
Implements sun. Impersonation is only available on the initiator side. |
| public boolean | isAcceptorCredential()
Implements sun. Determines if this credential element can be used by a context acceptor. |
| public boolean | isInitiatorCredential()
Implements sun. Determines if this credential element can be used by a context initiator. |
| name | back to summary |
|---|---|
| private final Krb5NameElement name | |
| screds | back to summary |
|---|---|
| private final ServiceCreds screds | |
| Krb5AcceptCredential | back to summary |
|---|---|
| private Krb5AcceptCredential(Krb5NameElement name, ServiceCreds creds) | |
| destroy | back to summary |
|---|---|
| public void destroy() throws DestroyFailedException Destroys the locally cached EncryptionKey value and then calls destroy in the base class. | |
| dispose | back to summary |
|---|---|
| public void dispose() throws GSSException Implements sun. Called to invalidate this credential element.
| |
| getAcceptLifetime | back to summary |
|---|---|
| public int getAcceptLifetime() throws GSSException Implements sun. Returns the accept lifetime remaining.
| |
| getInitLifetime | back to summary |
|---|---|
| public int getInitLifetime() throws GSSException Implements sun. Returns the init lifetime remaining.
| |
| getInstance | back to summary |
|---|---|
| pack-priv static Krb5AcceptCredential getInstance(final GSSCaller caller, Krb5NameElement name) throws GSSException | |
| getKrb5EncryptionKeys | back to summary |
|---|---|
| public EncryptionKey[] getKrb5EncryptionKeys(PrincipalName princ) | |
| getMechanism | back to summary |
|---|---|
| public final Oid getMechanism() Implements sun. Returns the oid representing the underlying credential mechanism oid.
| |
| getName | back to summary |
|---|---|
| public final GSSNameSpi getName() throws GSSException Implements sun. Returns the principal name for this credential. The name is in mechanism specific format.
| |
| getProvider | back to summary |
|---|---|
| public final Provider getProvider() Implements sun. | |
| impersonate | back to summary |
|---|---|
| public GSSCredentialSpi impersonate(GSSNameSpi name) throws GSSException Implements sun. Impersonation is only available on the initiator side. The service must start as an initiator to get an initial TGT to complete the S4U2self protocol.
| |
| isAcceptorCredential | back to summary |
|---|---|
| public boolean isAcceptorCredential() throws GSSException Implements sun. Doc from sun. Determines if this credential element can be used by a context acceptor. | |
| isInitiatorCredential | back to summary |
|---|---|
| public boolean isInitiatorCredential() throws GSSException Implements sun. Doc from sun. Determines if this credential element can be used by a context initiator. | |