public static class SaslServer.Authenticator extends Object
| Constructor and Description |
|---|
Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
saslAuthenticate(ByteChars usrnam,
ByteChars passwd)
Null passwd arg means we simply want to establish whether this user exists, whereas blank arg means we
are testing if login is possible without a password (ie.
|
boolean |
saslAuthorise(ByteChars usrnam,
ByteChars rolename)
Returns true if user=usrnam is permitted to act as user=rolename.
|
ByteChars |
saslPasswordLookup(ByteChars usrnam)
Returns plaintext password of specified user.
|
public boolean saslAuthenticate(ByteChars usrnam, ByteChars passwd)
usrnam - the usernamepasswd - the passwordpublic ByteChars saslPasswordLookup(ByteChars usrnam)
usrnam - the usernamepublic boolean saslAuthorise(ByteChars usrnam, ByteChars rolename)
usrnam - the usernamerolename - the rolenameCopyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.