public class SecurityConfigActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
static org.osgi.framework.BundleContext |
bundleContext
The
BundleContext of the SecurityConfigActivator . |
Constructor and Description |
---|
SecurityConfigActivator() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<AccountID,java.lang.String> |
getAccountIDsWithSavedPasswords()
Finds all accounts with saved encrypted passwords.
|
static java.util.List<AccountID> |
getAllAccountIDs()
Gets all the available accounts in SIP Communicator.
|
static java.util.Map<java.lang.String,java.lang.String> |
getChatRoomsWithSavedPasswords()
Finds all chat rooms with saved encrypted passwords.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigurationService()
Returns a reference to the ConfigurationService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static CredentialsStorageService |
getCredentialsStorageService()
Returns the CredentialsStorageService obtained from the bundle
context.
|
static MasterPasswordInputService |
getMasterPasswordInputService()
Returns service to show master password input dialog.
|
static org.jitsi.service.resources.ResourceManagementService |
getResources()
Returns a reference to the ResourceManagementService implementation
currently registered in the bundle context or null if no such
implementation was found.
|
static UIService |
getUIService()
Gets the UIService instance registered in the
BundleContext of the SecurityConfigActivator.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts this plugin.
|
void |
stop(org.osgi.framework.BundleContext bc)
Invoked when this bundle is stopped.
|
public static org.osgi.framework.BundleContext bundleContext
BundleContext
of the SecurityConfigActivator
.public void start(org.osgi.framework.BundleContext bc) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
bc
- the BundleContextjava.lang.Exception
- if some of the operations executed in the start method
failspublic void stop(org.osgi.framework.BundleContext bc) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
bc
- the BundleContextjava.lang.Exception
- if some of the operations executed in the start method
failspublic static org.jitsi.service.resources.ResourceManagementService getResources()
public static org.jitsi.service.configuration.ConfigurationService getConfigurationService()
public static CredentialsStorageService getCredentialsStorageService()
public static UIService getUIService()
public static java.util.List<AccountID> getAllAccountIDs()
List
of AccountID
.public static java.util.Map<AccountID,java.lang.String> getAccountIDsWithSavedPasswords()
List
of AccountID
with the saved encrypted
password.public static java.util.Map<java.lang.String,java.lang.String> getChatRoomsWithSavedPasswords()
List
with the saved encrypted
password.public static MasterPasswordInputService getMasterPasswordInputService()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.