public abstract class SaslServer extends SaslEntity
Modifier and Type | Class and Description |
---|---|
static class |
SaslServer.Authenticator |
SaslEntity.MECH
Modifier and Type | Field and Description |
---|---|
protected ByteChars |
auth_username |
protected SaslServer.Authenticator |
authenticator |
mechanism, MECHNAME_CMD5, MECHNAME_EXTERNAL, MECHNAME_PLAIN
Constructor and Description |
---|
SaslServer(SaslEntity.MECH id,
SaslServer.Authenticator a,
boolean base64) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
authorise(ByteChars rolename) |
ByteChars |
getUser() |
SaslServer |
init() |
boolean |
requiresInitialResponse() |
boolean |
sendsChallenge() |
ByteChars |
setChallenge(ByteChars outbuf) |
protected abstract boolean |
verifyDecodedResponse(ByteArrayRef rspdata) |
boolean |
verifyResponse(ByteArrayRef msg) |
decode, encode, encode, setNonce
protected final SaslServer.Authenticator authenticator
protected final ByteChars auth_username
public SaslServer(SaslEntity.MECH id, SaslServer.Authenticator a, boolean base64)
protected abstract boolean verifyDecodedResponse(ByteArrayRef rspdata)
public ByteChars getUser()
public boolean requiresInitialResponse()
public boolean sendsChallenge()
public SaslServer init()
init
in class SaslEntity
public final boolean verifyResponse(ByteArrayRef msg)
protected final boolean authorise(ByteChars rolename)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.