org.ietf.jgss.GSSCredential used for delegated authentication.
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | GssKrb5Client(String authzID, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh)
Creates a SASL mechanism with client credentials that it needs to participate in GSS-API/Kerberos v5 authentication exchange with the server. |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public byte[] | Returns: A non-null byte array containing the response to be sent to the server.A non-null byte array containing the
challenge data from the server. challengeData)Implements javax. Processes the challenge data. |
| public boolean | hasInitialResponse()
Implements javax. Determines whether this mechanism has an optional initial response. |
| authzID | back to summary |
|---|---|
| private byte[] authzID | |
| finalHandshake | back to summary |
|---|---|
| private boolean finalHandshake | |
| MY_CLASS_NAME | back to summary |
|---|---|
| private static final String MY_CLASS_NAME | |
| GssKrb5Client | back to summary |
|---|---|
| pack-priv GssKrb5Client(String authzID, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException Creates a SASL mechanism with client credentials that it needs to participate in GSS-API/Kerberos v5 authentication exchange with the server. | |
| doFinalHandshake | back to summary |
|---|---|
| private byte[] doFinalHandshake(byte[] challengeData) throws SaslException | |
| evaluateChallenge | back to summary |
|---|---|
| public byte[] evaluateChallenge(byte[] challengeData) throws SaslException Implements javax. Processes the challenge data. The server sends a challenge data using which the client must process using GSS_Init_sec_context. As per RFC 2222, when GSS_S_COMPLETE is returned, we do an extra handshake to determine the negotiated security protection and buffer sizes.
| |
| hasInitialResponse | back to summary |
|---|---|
| public boolean hasInitialResponse() Implements javax. Doc from javax. Determines whether this mechanism has an optional initial response.
If true, caller should call | |