public interface Credentials
Modifier and Type | Interface and Description |
---|---|
static interface |
Credentials.Decoder
Interface implemented by credentials decoder converting from value stored in database to the form represented by
implementation of Entry interface.
|
static interface |
Credentials.Encoder
Interface implemented by credentials encoder converting them from plaintext value to encoded form stored in the
database.
|
static interface |
Credentials.Entry
Interface required to be implemented by classes representing credential entry.
|
static interface |
Credentials.RawEntry
Interface implemented by classes used as DTO for credentials read from repository.s
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CREDENTIAL_ID |
static String |
DEFAULT_USERNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canLogin()
Checks if account can perform logging-in
|
Credentials.Entry |
getEntryForMechanism(String mechanism)
Find a credential for specified mechanism
|
Credentials.Entry |
getFirst()
Returns first available instance of credentials entry
|
BareJID |
getUser()
Returns bare jid of an account
|
boolean |
isAccountDisabled()
Checks if account is disabled
|
static final String DEFAULT_CREDENTIAL_ID
@Deprecated static final String DEFAULT_USERNAME
boolean canLogin()
BareJID getUser()
boolean isAccountDisabled()
Credentials.Entry getEntryForMechanism(String mechanism)
Credentials.Entry getFirst()
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.