public final class CramMD5Server extends SaslServer
SaslServer.Authenticator
SaslEntity.MECH
auth_username, authenticator
mechanism, 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, verifyResponse
decode, encode, encode, setNonce
public CramMD5Server(SaslServer.Authenticator authenticator, boolean base64) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public boolean requiresInitialResponse()
requiresInitialResponse
in class SaslServer
public boolean sendsChallenge()
sendsChallenge
in class SaslServer
public CramMD5Server init(CharSequence tagstr, int tagnum, StringBuilder sb)
public CramMD5Server init()
init
in class SaslServer
public ByteChars setChallenge(ByteChars outbuf)
setChallenge
in class SaslServer
protected boolean verifyDecodedResponse(ByteArrayRef msg)
verifyDecodedResponse
in class SaslServer
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.