public abstract class AbstractAuthRepositoryWithCredentials extends Object implements AuthRepository
AuthRepository.AccountStatus, AuthRepository.DefaultCredentials, AuthRepository.SingleCredentialRepository.Meta, Repository.SchemaIdDATA_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, waitaddUser, getAccountStatus, getCredentialIds, getCredentials, getResourceUri, getUsernames, getUsersCount, getUsersCount, isUserDisabled, loggedIn, logout, otherAuth, queryAuth, removeCredential, removeUser, setAccountStatus, setUserDisabled, updateCredential, updatePasswordinitRepositorypublic AbstractAuthRepositoryWithCredentials()
public String getPassword(BareJID user) throws UserNotFoundException, TigaseDBException
getPassword in interface AuthRepositoryUserNotFoundExceptionTigaseDBExceptionpublic boolean isMechanismSupported(String domain, String mechanism)
isMechanismSupported in interface AuthRepositorypublic void setCredentialsCodecs(CredentialsEncoderBean encoder, CredentialsDecoderBean decoder)
setCredentialsCodecs in interface AuthRepositoryprotected CredentialsDecoderBean getCredentialsDecoder()
protected CredentialsEncoderBean getCredentialsEncoder()
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.