public class BMAuthRepo
extends tigase.db.UserRepositoryMDImpl
implements tigase.db.AuthRepository
| Constructor and Description |
|---|
BMAuthRepo() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(tigase.xmpp.BareJID user,
java.lang.String password) |
boolean |
digestAuth(tigase.xmpp.BareJID user,
java.lang.String digest,
java.lang.String id,
java.lang.String alg) |
java.lang.String |
getPassword(tigase.xmpp.BareJID arg0) |
java.lang.String |
getResourceUri() |
long |
getUsersCount() |
long |
getUsersCount(java.lang.String domain) |
void |
initRepository(java.lang.String resource_uri,
java.util.Map<java.lang.String,java.lang.String> params) |
boolean |
isUserDisabled(tigase.xmpp.BareJID arg0) |
void |
logout(tigase.xmpp.BareJID user) |
boolean |
otherAuth(java.util.Map<java.lang.String,java.lang.Object> props) |
boolean |
plainAuth(tigase.xmpp.BareJID user,
java.lang.String password) |
void |
queryAuth(java.util.Map<java.lang.String,java.lang.Object> authProps) |
void |
removeUser(tigase.xmpp.BareJID user) |
void |
setUserDisabled(tigase.xmpp.BareJID arg0,
java.lang.Boolean arg1) |
void |
updatePassword(tigase.xmpp.BareJID user,
java.lang.String password) |
addDataList, addRepo, addUser, getData, getData, getData, getDataList, getKeys, getKeys, getRepo, getSubnodes, getSubnodes, getUsers, getUserUID, removeData, removeData, removeRepo, removeSubnode, setData, setData, setDataList, setDefault, userExistspublic void addUser(tigase.xmpp.BareJID user,
java.lang.String password)
throws tigase.db.UserExistsException,
tigase.db.TigaseDBException
addUser in interface tigase.db.AuthRepositorytigase.db.UserExistsExceptiontigase.db.TigaseDBExceptionpublic boolean digestAuth(tigase.xmpp.BareJID user,
java.lang.String digest,
java.lang.String id,
java.lang.String alg)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException,
tigase.db.AuthorizationException
digestAuth in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptiontigase.db.AuthorizationExceptionpublic java.lang.String getResourceUri()
getResourceUri in interface tigase.db.AuthRepositorygetResourceUri in interface tigase.db.UserRepositorygetResourceUri in class tigase.db.UserRepositoryMDImplpublic long getUsersCount()
getUsersCount in interface tigase.db.AuthRepositorygetUsersCount in interface tigase.db.UserRepositorygetUsersCount in class tigase.db.UserRepositoryMDImplpublic long getUsersCount(java.lang.String domain)
getUsersCount in interface tigase.db.AuthRepositorygetUsersCount in interface tigase.db.UserRepositorygetUsersCount in class tigase.db.UserRepositoryMDImplpublic void initRepository(java.lang.String resource_uri,
java.util.Map<java.lang.String,java.lang.String> params)
throws tigase.db.DBInitException
initRepository in interface tigase.db.RepositoryinitRepository in class tigase.db.UserRepositoryMDImpltigase.db.DBInitExceptionpublic void logout(tigase.xmpp.BareJID user)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException
logout in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptionpublic boolean otherAuth(java.util.Map<java.lang.String,java.lang.Object> props)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException,
tigase.db.AuthorizationException
otherAuth in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptiontigase.db.AuthorizationExceptionpublic boolean plainAuth(tigase.xmpp.BareJID user,
java.lang.String password)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException,
tigase.db.AuthorizationException
plainAuth in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptiontigase.db.AuthorizationExceptionpublic void queryAuth(java.util.Map<java.lang.String,java.lang.Object> authProps)
queryAuth in interface tigase.db.AuthRepositorypublic void removeUser(tigase.xmpp.BareJID user)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException
removeUser in interface tigase.db.AuthRepositoryremoveUser in interface tigase.db.UserRepositoryremoveUser in class tigase.db.UserRepositoryMDImpltigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptionpublic void updatePassword(tigase.xmpp.BareJID user,
java.lang.String password)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException
updatePassword in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptionpublic java.lang.String getPassword(tigase.xmpp.BareJID arg0)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException
getPassword in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptionpublic boolean isUserDisabled(tigase.xmpp.BareJID arg0)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException
isUserDisabled in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptionpublic void setUserDisabled(tigase.xmpp.BareJID arg0,
java.lang.Boolean arg1)
throws tigase.db.UserNotFoundException,
tigase.db.TigaseDBException
setUserDisabled in interface tigase.db.AuthRepositorytigase.db.UserNotFoundExceptiontigase.db.TigaseDBExceptionCopyright © 2022. All Rights Reserved.