Package tigase.db
Class AbstractAuthRepositoryWithCredentials
java.lang.Object
tigase.db.AbstractAuthRepositoryWithCredentials
- All Implemented Interfaces:
AuthRepository
,Repository
- Direct Known Subclasses:
TigaseCustomAuth
public abstract class AbstractAuthRepositoryWithCredentials
extends Object
implements AuthRepository
-
Nested Class Summary
Nested classes/interfaces inherited from interface tigase.db.AuthRepository
AuthRepository.AccountStatus, AuthRepository.DefaultCredentials, AuthRepository.SingleCredential
Nested classes/interfaces inherited from interface tigase.db.Repository
Repository.Meta, Repository.SchemaId
-
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CredentialsDecoderBean
protected CredentialsEncoderBean
getPassword
(BareJID user) boolean
isMechanismSupported
(String domain, String mechanism) void
setCredentialsCodecs
(CredentialsEncoderBean encoder, CredentialsDecoderBean decoder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.db.AuthRepository
addUser, getAccountStatus, getActiveUsersCountIn, getCredentialIds, getCredentials, getResourceUri, getUsernames, getUsersCount, getUsersCount, isUserDisabled, loggedIn, logout, otherAuth, queryAuth, removeCredential, removeUser, setAccountStatus, setUserDisabled, updateCredential, updatePassword
Methods inherited from interface tigase.db.Repository
initRepository
-
Constructor Details
-
AbstractAuthRepositoryWithCredentials
public AbstractAuthRepositoryWithCredentials()
-
-
Method Details
-
getPassword
- Specified by:
getPassword
in interfaceAuthRepository
- Throws:
UserNotFoundException
TigaseDBException
-
isMechanismSupported
- Specified by:
isMechanismSupported
in interfaceAuthRepository
-
setCredentialsCodecs
- Specified by:
setCredentialsCodecs
in interfaceAuthRepository
-
getCredentialsDecoder
-
getCredentialsEncoder
-