|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.db.jdbc.DrupalWPAuth
public class DrupalWPAuth
Describe class DrupalWPAuth here. Created: Sat Nov 11 22:22:04 2006
| Field Summary | |
|---|---|
static String |
DRUPAL_NAME_FLD
Field description |
static int |
DRUPAL_OK_STATUS_VAL
Field description |
static String |
DRUPAL_PASS_FLD
Field description |
static String |
DRUPAL_STATUS_FLD
Field description |
static String |
DRUPAL_USERS_TBL
Field description |
static String |
WP_NAME_FLD
Field description |
static int |
WP_OK_STATUS_VAL
Field description |
static String |
WP_PASS_FLD
Field description |
static String |
WP_STATUS_FLD
Field description |
static String |
WP_USERS_TBL
Field description |
| 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 | |
|---|---|
DrupalWPAuth()
|
|
| Method Summary | |
|---|---|
void |
addUser(tigase.xmpp.BareJID user,
String password)
Describe addUser method here. |
boolean |
digestAuth(tigase.xmpp.BareJID user,
String digest,
String id,
String alg)
Deprecated. |
String |
getResourceUri()
Method description |
long |
getUsersCount()
Method description |
long |
getUsersCount(String domain)
Method description |
void |
initRepository(String connection_str,
Map<String,String> params)
Describe initRepository method here. |
void |
logout(tigase.xmpp.BareJID user)
Method description |
boolean |
otherAuth(Map<String,Object> props)
Describe otherAuth method here. |
boolean |
plainAuth(tigase.xmpp.BareJID user,
String password)
Deprecated. |
void |
queryAuth(Map<String,Object> authProps)
Describe queryAuth method here. |
void |
removeUser(tigase.xmpp.BareJID user)
Describe removeUser method here. |
void |
updatePassword(tigase.xmpp.BareJID user,
String password)
Describe updatePassword method here. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DRUPAL_USERS_TBL
public static final String DRUPAL_NAME_FLD
public static final String DRUPAL_PASS_FLD
public static final String DRUPAL_STATUS_FLD
public static final int DRUPAL_OK_STATUS_VAL
public static final String WP_USERS_TBL
public static final String WP_NAME_FLD
public static final String WP_PASS_FLD
public static final String WP_STATUS_FLD
public static final int WP_OK_STATUS_VAL
| Constructor Detail |
|---|
public DrupalWPAuth()
| Method Detail |
|---|
public void addUser(tigase.xmpp.BareJID user,
String password)
throws UserExistsException,
TigaseDBException
addUser method here.
addUser in interface AuthRepositoryuser - a String valuepassword - a String value
UserExistsException - if an error occurs
TigaseDBException - if an error occurs
@Deprecated
public boolean digestAuth(tigase.xmpp.BareJID user,
String digest,
String id,
String alg)
throws UserNotFoundException,
TigaseDBException,
AuthorizationException
digestAuth method here.
digestAuth in interface AuthRepositoryuser - a String valuedigest - a String valueid - a String valuealg - a String value
boolean value
UserNotFoundException - if an error occurs
TigaseDBException - if an error occurs
AuthorizationException - if an error occurspublic String getResourceUri()
getResourceUri in interface AuthRepositorypublic long getUsersCount()
getUsersCount in interface AuthRepositorypublic long getUsersCount(String domain)
getUsersCount in interface AuthRepositorydomain -
public void initRepository(String connection_str,
Map<String,String> params)
throws DBInitException
initRepository method here.
initRepository in interface AuthRepositoryconnection_str - a String valueparams -
DBInitException - if an error occurs
public void logout(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
logout in interface AuthRepositoryuser -
TigaseDBException
UserNotFoundException
public boolean otherAuth(Map<String,Object> props)
throws UserNotFoundException,
TigaseDBException,
AuthorizationException
otherAuth method here.
otherAuth in interface AuthRepositoryprops - a Map value
boolean value
UserNotFoundException - if an error occurs
TigaseDBException - if an error occurs
AuthorizationException - if an error occurs
@Deprecated
public boolean plainAuth(tigase.xmpp.BareJID user,
String password)
throws UserNotFoundException,
TigaseDBException,
AuthorizationException
plainAuth method here.
plainAuth in interface AuthRepositoryuser - a String valuepassword - a String value
boolean value
AuthorizationException
UserNotFoundException - if an error occurs
TigaseDBException - if an error occurspublic void queryAuth(Map<String,Object> authProps)
queryAuth method here.
queryAuth in interface AuthRepositoryauthProps - a Map value
public void removeUser(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
removeUser method here.
removeUser in interface AuthRepositoryuser - a String value
UserNotFoundException - if an error occurs
TigaseDBException - if an error occurs
public void updatePassword(tigase.xmpp.BareJID user,
String password)
throws UserNotFoundException,
TigaseDBException
updatePassword method here.
updatePassword in interface AuthRepositoryuser - a String valuepassword - a String value
TigaseDBException - if an error occurs
UserNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||