public class SIPAccountRegistration extends SipAccountID implements java.io.Serializable
OPT_CLIST_PASSWORD, OPT_CLIST_SERVER_URI, OPT_CLIST_USE_SIP_CREDETIALS, OPT_CLIST_USER, XCAP_ENABLE, XIVO_ENABLE
accountProperties, DEFAULTS_PREFIX
Constructor and Description |
---|
SIPAccountRegistration()
Initializes a new SIPAccountRegistration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultDomain()
This is the default domain.
|
EncodingsRegistrationUtil |
getEncodingsRegistration()
Returns encoding registration object holding encodings configuration.
|
SecurityAccountRegistration |
getSecurityRegistration()
Returns security registration object holding security configuration.
|
boolean |
isRememberPassword()
Returns TRUE if password has to remembered, FALSE otherwise.
|
void |
loadAccount(AccountID accountID,
java.lang.String password,
org.osgi.framework.BundleContext bundleContext)
Loads configuration properties from given accountID.
|
void |
setDefaultDomain(java.lang.String defaultDomain)
If default domain is set this means we cannot create registerless
accounts through this wizard.
|
void |
setRememberPassword(boolean rememberPassword)
Sets the rememberPassword value of this jabber account registration.
|
void |
storeProperties(java.lang.String userName,
java.lang.String passwd,
java.lang.String protocolIconPath,
java.lang.String accountIconPath,
java.lang.Boolean isModification,
java.util.Map<java.lang.String,java.lang.String> accountProperties)
Stores configuration properties held by this object into given
accountProperties map.
|
getAccountAddress, getClistOptionPassword, getClistOptionServerUri, getClistOptionUser, getDefaultStr, getDefaultString, getId, getKeepAliveInterval, getKeepAliveMethod, getPollingPeriod, getPreferredTransport, getProtocolName, getProxy, getProxyPort, getServerFromUserName, getSubscriptionExpiration, getVoicemailCheckURI, getVoicemailURI, isClistOptionUseSipCredentials, isEnablePresence, isForceP2PMode, isMessageWaitingIndicationsEnabled, isProxyAutoConfigure, isProxyForceBypassConfigure, isXCapEnable, isXiVOEnable, setClistOptionPassword, setClistOptionServerUri, setClistOptionUser, setClistOptionUseSipCredentials, setEnablePresence, setForceP2PMode, setKeepAliveInterval, setKeepAliveMethod, setMessageWaitingIndications, setPollingPeriod, setPreferredTransport, setProxy, setProxyAutoConfigure, setProxyForceBypassConfigure, setProxyPort, setSubscriptionExpiration, setUserID, setVoicemailCheckURI, setVoicemailURI, setXCapEnable, setXiVOEnable
equals, getAccountIconPath, getAccountProperties, getAccountPropertyBoolean, getAccountPropertyInt, getAccountPropertyString, getAccountPropertyString, getAccountUniqueID, getAuthorizationName, getBooleanPropertiesByPrefix, getDisplayName, getDTMFMethod, getDtmfMinimalToneDuration, getIntegerPropertiesByPrefix, getPassword, getPropertyNamesByPrefix, getProtocolDisplayName, getProtocolIconPath, getServerAddress, getServerPort, getService, getSortedEnabledEncryptionProtocolList, getStunServers, getSystemProtocolName, getTlsClientCertificate, getUserID, hashCode, isConfigHidden, isEnabled, isEncryptionProtocolEnabled, isHidden, isPreferredProvider, isReadOnly, isServerOverridden, isStatusMenuHidden, isStunServerDiscoveryEnabled, isUPNPEnabled, isUseDefaultStunServer, loadStunPassword, mergeProperties, putAccountProperty, putAccountProperty, removeAccountProperty, setAccountIconPath, setAccountProperties, setAuthorizationName, setDisplayName, setDTMFMethod, setDtmfMinimalToneDuration, setOrRemoveIfEmpty, setOrRemoveIfEmpty, setOrRemoveIfNull, setPassword, setProtocolIconPath, setServerAddress, setServerOverridden, setServerPort, setTlsClientCertificate, storeProperties, toString
public SIPAccountRegistration()
public boolean isRememberPassword()
public void setRememberPassword(boolean rememberPassword)
rememberPassword
- TRUE if password has to remembered, FALSE
otherwisepublic java.lang.String getDefaultDomain()
public void setDefaultDomain(java.lang.String defaultDomain)
defaultDomain
- the defaultDomain to setpublic EncodingsRegistrationUtil getEncodingsRegistration()
public SecurityAccountRegistration getSecurityRegistration()
public void loadAccount(AccountID accountID, java.lang.String password, org.osgi.framework.BundleContext bundleContext)
accountID
- the account identifier that will be used.bundleContext
- the OSGI bundle context required for some
operations.public void storeProperties(java.lang.String userName, java.lang.String passwd, java.lang.String protocolIconPath, java.lang.String accountIconPath, java.lang.Boolean isModification, java.util.Map<java.lang.String,java.lang.String> accountProperties)
userName
- the user name that will be used.passwd
- the password that will be used.protocolIconPath
- the path to the protocol icon is usedaccountIconPath
- the path to the account icon if usedisModification
- flag indication if it's modification process(has
impact on some properties).accountProperties
- the map that will hold the configuration.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.