public abstract class AbstractAuthRepositoryWithCredentials extends Object implements AuthRepository
AuthRepository.AccountStatus, AuthRepository.DefaultCredentials, AuthRepository.SingleCredential
Repository.Meta, Repository.SchemaId
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 and Description |
---|
AbstractAuthRepositoryWithCredentials() |
Modifier and Type | Method and Description |
---|---|
protected CredentialsDecoderBean |
getCredentialsDecoder() |
protected CredentialsEncoderBean |
getCredentialsEncoder() |
String |
getPassword(BareJID user) |
boolean |
isMechanismSupported(String domain,
String mechanism) |
void |
setCredentialsCodecs(CredentialsEncoderBean encoder,
CredentialsDecoderBean decoder) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addUser, getAccountStatus, getCredentialIds, getCredentials, getResourceUri, getUsernames, getUsersCount, getUsersCount, isUserDisabled, loggedIn, logout, otherAuth, queryAuth, removeCredential, removeUser, setAccountStatus, setUserDisabled, updateCredential, updatePassword
initRepository
public AbstractAuthRepositoryWithCredentials()
public String getPassword(BareJID user) throws UserNotFoundException, TigaseDBException
getPassword
in interface AuthRepository
UserNotFoundException
TigaseDBException
public boolean isMechanismSupported(String domain, String mechanism)
isMechanismSupported
in interface AuthRepository
public void setCredentialsCodecs(CredentialsEncoderBean encoder, CredentialsDecoderBean decoder)
setCredentialsCodecs
in interface AuthRepository
protected CredentialsDecoderBean getCredentialsDecoder()
protected CredentialsEncoderBean getCredentialsEncoder()
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.