Note
The current implementation can only support one mechanism. This should be changed once multi-mechanism support is needed.
| Modifier and Type | Field and Description |
|---|---|
| private final GSSCredentialSpi |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements sun. Called to invalidate this credential element and release any system recourses and cryptographic information owned by the credential. |
| public int | getAcceptLifetime()
Implements sun. Returns the accept lifetime remaining. |
| public int | getInitLifetime()
Implements sun. Returns the init lifetime remaining. |
| public GSSCredentialSpi | |
| pack-priv Oid | |
| public Oid | getMechanism()
Implements sun. Returns the oid representing the underlying credential mechanism oid. |
| public GSSNameSpi | getName()
Implements sun. Returns the principal name for this credential. |
| public Provider | |
| public GSSCredentialSpi | impersonate(GSSNameSpi name)
Implements sun. Impersonates another client. |
| 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. |
| cred | back to summary |
|---|---|
| private final GSSCredentialSpi cred | |
| SpNegoCredElement | back to summary |
|---|---|
| public SpNegoCredElement(GSSCredentialSpi cred) throws GSSException | |
| dispose | back to summary |
|---|---|
| public void dispose() throws GSSException Implements sun. Doc from sun. Called to invalidate this credential element and release any system recourses and cryptographic information owned by the credential.
| |
| getAcceptLifetime | back to summary |
|---|---|
| public int getAcceptLifetime() throws GSSException Implements sun. Doc from sun. Returns the accept lifetime remaining.
| |
| getInitLifetime | back to summary |
|---|---|
| public int getInitLifetime() throws GSSException Implements sun. Doc from sun. Returns the init lifetime remaining.
| |
| getInternalCred | back to summary |
|---|---|
| public GSSCredentialSpi getInternalCred() | |
| getInternalMech | back to summary |
|---|---|
| pack-priv Oid getInternalMech() | |
| getMechanism | back to summary |
|---|---|
| public Oid getMechanism() Implements sun. Doc from sun. Returns the oid representing the underlying credential mechanism oid. | |
| getName | back to summary |
|---|---|
| public GSSNameSpi getName() throws GSSException Implements sun. Doc from sun. Returns the principal name for this credential. The name is in mechanism specific format.
| |
| getProvider | back to summary |
|---|---|
| public Provider getProvider() Implements sun. | |
| impersonate | back to summary |
|---|---|
| public GSSCredentialSpi impersonate(GSSNameSpi name) throws GSSException Implements sun. Doc from sun. Impersonates another client.
| |
| 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. | |