|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.db.AuthRepositoryMDImpl
public class AuthRepositoryMDImpl
Created: Mar 27, 2010 9:10:21 PM
| Field Summary |
|---|
| Fields inherited from interface tigase.db.AuthRepository |
|---|
DATA_KEY, DIGEST_ID_KEY, DIGEST_KEY, MACHANISM_KEY, PASSWORD_KEY, PROTOCOL_KEY, PROTOCOL_VAL_NONSASL, PROTOCOL_VAL_SASL, REALM_KEY, RESULT_KEY, SERVER_NAME_KEY, USER_ID_KEY, USERNAME_KEY |
| Constructor Summary | |
|---|---|
AuthRepositoryMDImpl()
|
|
| Method Summary | |
|---|---|
void |
addRepo(String domain,
AuthRepository repo)
Method description |
void |
addUser(tigase.xmpp.BareJID user,
String password)
Method description |
boolean |
digestAuth(tigase.xmpp.BareJID user,
String digest,
String id,
String alg)
Deprecated. |
AuthRepository |
getRepo(String domain)
Method description |
String |
getResourceUri()
Method description |
long |
getUsersCount()
Method description |
long |
getUsersCount(String domain)
Method description |
void |
initRepository(String resource_uri,
Map<String,String> params)
Method description |
void |
logout(tigase.xmpp.BareJID user)
Method description |
boolean |
otherAuth(Map<String,Object> authProps)
Method description |
boolean |
plainAuth(tigase.xmpp.BareJID user,
String password)
Deprecated. |
void |
queryAuth(Map<String,Object> authProps)
Method description |
AuthRepository |
removeRepo(String domain)
Method description |
void |
removeUser(tigase.xmpp.BareJID user)
Method description |
void |
setDefault(AuthRepository repo)
Method description |
void |
updatePassword(tigase.xmpp.BareJID user,
String password)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthRepositoryMDImpl()
| Method Detail |
|---|
public void addRepo(String domain,
AuthRepository repo)
domain - repo -
public void addUser(tigase.xmpp.BareJID user,
String password)
throws UserExistsException,
TigaseDBException
addUser in interface AuthRepositoryuser - password -
TigaseDBException
UserExistsException
@Deprecated
public boolean digestAuth(tigase.xmpp.BareJID user,
String digest,
String id,
String alg)
throws UserNotFoundException,
TigaseDBException,
AuthorizationException
digestAuth in interface AuthRepositoryuser - digest - id - alg -
AuthorizationException
TigaseDBException
UserNotFoundExceptionpublic AuthRepository getRepo(String domain)
domain -
public String getResourceUri()
getResourceUri in interface AuthRepositorypublic long getUsersCount()
getUsersCount in interface AuthRepositorypublic long getUsersCount(String domain)
getUsersCount in interface AuthRepositorydomain -
public void initRepository(String resource_uri,
Map<String,String> params)
throws DBInitException
initRepository in interface AuthRepositoryresource_uri - params -
DBInitException
public void logout(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
logout in interface AuthRepositoryuser -
TigaseDBException
UserNotFoundException
public boolean otherAuth(Map<String,Object> authProps)
throws UserNotFoundException,
TigaseDBException,
AuthorizationException
otherAuth in interface AuthRepositoryauthProps -
AuthorizationException
TigaseDBException
UserNotFoundException
@Deprecated
public boolean plainAuth(tigase.xmpp.BareJID user,
String password)
throws UserNotFoundException,
TigaseDBException,
AuthorizationException
plainAuth in interface AuthRepositoryuser - password -
AuthorizationException
TigaseDBException
UserNotFoundExceptionpublic void queryAuth(Map<String,Object> authProps)
queryAuth in interface AuthRepositoryauthProps - public AuthRepository removeRepo(String domain)
domain -
public void removeUser(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
removeUser in interface AuthRepositoryuser -
TigaseDBException
UserNotFoundExceptionpublic void setDefault(AuthRepository repo)
repo -
public void updatePassword(tigase.xmpp.BareJID user,
String password)
throws UserNotFoundException,
TigaseDBException
updatePassword in interface AuthRepositoryuser - password -
TigaseDBException
UserNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||