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, userExists
public void addUser(tigase.xmpp.BareJID user, java.lang.String password) throws tigase.db.UserExistsException, tigase.db.TigaseDBException
addUser
in interface tigase.db.AuthRepository
tigase.db.UserExistsException
tigase.db.TigaseDBException
public 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.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
tigase.db.AuthorizationException
public java.lang.String getResourceUri()
getResourceUri
in interface tigase.db.AuthRepository
getResourceUri
in interface tigase.db.UserRepository
getResourceUri
in class tigase.db.UserRepositoryMDImpl
public long getUsersCount()
getUsersCount
in interface tigase.db.AuthRepository
getUsersCount
in interface tigase.db.UserRepository
getUsersCount
in class tigase.db.UserRepositoryMDImpl
public long getUsersCount(java.lang.String domain)
getUsersCount
in interface tigase.db.AuthRepository
getUsersCount
in interface tigase.db.UserRepository
getUsersCount
in class tigase.db.UserRepositoryMDImpl
public 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.Repository
initRepository
in class tigase.db.UserRepositoryMDImpl
tigase.db.DBInitException
public void logout(tigase.xmpp.BareJID user) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException
logout
in interface tigase.db.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
public 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.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
tigase.db.AuthorizationException
public 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.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
tigase.db.AuthorizationException
public void queryAuth(java.util.Map<java.lang.String,java.lang.Object> authProps)
queryAuth
in interface tigase.db.AuthRepository
public void removeUser(tigase.xmpp.BareJID user) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException
removeUser
in interface tigase.db.AuthRepository
removeUser
in interface tigase.db.UserRepository
removeUser
in class tigase.db.UserRepositoryMDImpl
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
public void updatePassword(tigase.xmpp.BareJID user, java.lang.String password) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException
updatePassword
in interface tigase.db.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
public java.lang.String getPassword(tigase.xmpp.BareJID arg0) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException
getPassword
in interface tigase.db.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
public boolean isUserDisabled(tigase.xmpp.BareJID arg0) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException
isUserDisabled
in interface tigase.db.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
public void setUserDisabled(tigase.xmpp.BareJID arg0, java.lang.Boolean arg1) throws tigase.db.UserNotFoundException, tigase.db.TigaseDBException
setUserDisabled
in interface tigase.db.AuthRepository
tigase.db.UserNotFoundException
tigase.db.TigaseDBException
Copyright © 2021. All Rights Reserved.