| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | CramMD5Client(String
A non-null string representing the principal
being authenticated. authID, byte[] A non-null String or byte[]
containing the password. If it is an array, it is first cloned. pw)Creates a SASL mechanism with client credentials that it needs to participate in CRAM-MD5 authentication exchange with the server. |
| Modifier and Type | Method and Description |
|---|---|
| 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. CRAM-MD5 has no initial response. |
| username | back to summary |
|---|---|
| private String username | |
| CramMD5Client | back to summary |
|---|---|
| pack-priv CramMD5Client(String authID, byte[] pw) throws SaslException Creates a SASL mechanism with client credentials that it needs to participate in CRAM-MD5 authentication exchange with the server.
| |
| 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 compute an MD5-digest with its password as the key.
| |
| hasInitialResponse | back to summary |
|---|---|
| public boolean hasInitialResponse() Implements javax. CRAM-MD5 has no initial response. | |