Modifier and Type | Field and Description |
---|---|
private String | |
private CallbackHandler | |
private byte[] | |
private String |
Access | Constructor and Description |
---|---|
pack-priv | CramMD5Server(String
ignored in CRAM-MD5 protocol, String non-null, used in generating a challenge serverFqdn, Map<String, ?> ignored in CRAM-MD5 props, CallbackHandler find password, authorize user cbh)Creates a CRAM-MD5 SASL server. |
Modifier and Type | Method and Description |
---|---|
public byte[] | Returns: A non-null byte array containing the challenge to be sent to the client for the first call; null when 2nd call is successful.A non-null byte array containing the response
data from the client. responseData)Implements javax. Generates challenge based on response sent by client. |
public String | getAuthorizationID()
Implements javax. Reports the authorization ID in effect for the client of this session. |
authzid | back to summary |
---|---|
private String authzid |
cbh | back to summary |
---|---|
private CallbackHandler cbh |
challengeData | back to summary |
---|---|
private byte[] challengeData |
fqdn | back to summary |
---|---|
private String fqdn |
CramMD5Server | back to summary |
---|---|
pack-priv CramMD5Server(String protocol, String serverFqdn, Map<String, ?> props, CallbackHandler cbh) throws SaslException Creates a CRAM-MD5 SASL server.
|
evaluateResponse | back to summary |
---|---|
public byte[] evaluateResponse(byte[] responseData) throws SaslException Implements javax. Generates challenge based on response sent by client. CRAM-MD5 has no initial response. First call generates challenge. Second call verifies client response. If authentication fails, throws SaslException.
|
getAuthorizationID | back to summary |
---|---|
public String getAuthorizationID() Implements javax. Doc from javax. Reports the authorization ID in effect for the client of this session. This method can only be called if isComplete() returns true.
|