public final class CramMD5Server extends SaslServer
SaslServer.AuthenticatorSaslEntity.MECHauth_username, authenticatormechanism, MECHNAME_CMD5, MECHNAME_EXTERNAL, MECHNAME_PLAIN| Constructor and Description |
|---|
CramMD5Server(SaslServer.Authenticator authenticator,
boolean base64) |
| Modifier and Type | Method and Description |
|---|---|
CramMD5Server |
init() |
CramMD5Server |
init(CharSequence tagstr,
int tagnum,
StringBuilder sb) |
boolean |
requiresInitialResponse() |
boolean |
sendsChallenge() |
ByteChars |
setChallenge(ByteChars outbuf) |
protected boolean |
verifyDecodedResponse(ByteArrayRef msg) |
authorise, getUser, verifyResponsedecode, encode, encode, setNoncepublic CramMD5Server(SaslServer.Authenticator authenticator, boolean base64) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic boolean requiresInitialResponse()
requiresInitialResponse in class SaslServerpublic boolean sendsChallenge()
sendsChallenge in class SaslServerpublic CramMD5Server init(CharSequence tagstr, int tagnum, StringBuilder sb)
public CramMD5Server init()
init in class SaslServerpublic ByteChars setChallenge(ByteChars outbuf)
setChallenge in class SaslServerprotected boolean verifyDecodedResponse(ByteArrayRef msg)
verifyDecodedResponse in class SaslServerCopyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.