Class JitsiProvider
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.webconferencing.CallProvider
org.exoplatform.webconferencing.jitsi.JitsiProvider
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class JitsiProvider
extends org.exoplatform.webconferencing.CallProvider
Jitsi provider implementation.
Created by The eXo Platform SAS.
- Version:
- $Id: MyConnectorProvider.java 00000 Mar 30, 2017 pnedonosko $
- Author:
- Peter Nedonosko
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassIM info for user profile.classSettings for Jitsi provider.Nested classes/interfaces inherited from class org.exoplatform.webconferencing.CallProvider
org.exoplatform.webconferencing.CallProvider.Settings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Constant CONFIG_CLIENT_SECRET.static final StringThe Constant CONFIG_EXTERNAL_AUTH_SECRET.static final StringThe Constant CONFIG_EXTERNAL_AUTH_SECRET.static final StringThe Constant CONFIG_SERVICE_URL.protected final StringThe external auth secret.protected final StringThe internal auth secret.protected static final org.exoplatform.services.log.LogThe Constant LOG.static final StringThe Constant TITLE.static final StringThe Constant TYPE.protected final StringThe connector web-services URL (will be used to generate Call page URLs).static final StringThe Constant VERSION.Fields inherited from class org.exoplatform.webconferencing.CallProvider
active, config, CONFIG_PROVIDER_ACTIVE, CONFIG_PROVIDER_CONFIGURATION, CONFIG_PROVIDER_DESCRIPTION, EMAIL_REGEX, emailTestFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionJitsiProvider(org.exoplatform.container.xml.InitParams params, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService) Instantiates a new JitsiProvider provider.JitsiProvider(org.exoplatform.social.core.profile.settings.UserProfileSettingsService profileSettings, org.exoplatform.container.xml.InitParams params, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService) Instantiates a new JitsiProvider provider. -
Method Summary
Modifier and TypeMethodDescriptionList<org.exoplatform.webconferencing.ActiveCallProvider>getActiveProvidersForSpace(String spaceId) getDescription(Locale locale) Gets the external auth secret.org.exoplatform.webconferencing.UserInfo.IMInfoGets the internal auth secret.Gets the settings.String[]getTitle()getType()getUrl()Gets the url.booleanisConfiguredForIdentity(String spaceId) voidsetConfiguredForIdentity(String spaceId, boolean configured) Methods inherited from class org.exoplatform.webconferencing.CallProvider
canInvite, equals, getDescription, hashCode, isActive, isLogEnabled, isSupportedTypeMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getName, setDescription, setName
-
Field Details
-
LOG
protected static final org.exoplatform.services.log.Log LOGThe Constant LOG. -
TYPE
The Constant TYPE.- See Also:
-
CONFIG_CLIENT_SECRET
The Constant CONFIG_CLIENT_SECRET.- See Also:
-
CONFIG_INTERNAL_AUTH_SECRET
The Constant CONFIG_EXTERNAL_AUTH_SECRET.- See Also:
-
CONFIG_EXTERNAL_AUTH_SECRET
The Constant CONFIG_EXTERNAL_AUTH_SECRET.- See Also:
-
CONFIG_SERVICE_URL
The Constant CONFIG_SERVICE_URL.- See Also:
-
TITLE
The Constant TITLE.- See Also:
-
VERSION
The Constant VERSION.- See Also:
-
internalAuthSecret
The internal auth secret. -
externalAuthSecret
The external auth secret. -
url
The connector web-services URL (will be used to generate Call page URLs).
-
-
Constructor Details
-
JitsiProvider
public JitsiProvider(org.exoplatform.social.core.profile.settings.UserProfileSettingsService profileSettings, org.exoplatform.container.xml.InitParams params, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService) throws org.exoplatform.container.configuration.ConfigurationException Instantiates a new JitsiProvider provider.- Parameters:
profileSettings- the profile settingsparams- the params (from configuration.xml)- Throws:
org.exoplatform.container.configuration.ConfigurationException- the configuration exception
-
JitsiProvider
public JitsiProvider(org.exoplatform.container.xml.InitParams params, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService) throws org.exoplatform.container.configuration.ConfigurationException Instantiates a new JitsiProvider provider. This constructor can be used in environments when noUserProfileSettingsServicefound (e.g. in test environments).- Parameters:
params- the params (from configuration.xml)- Throws:
org.exoplatform.container.configuration.ConfigurationException- the configuration exception
-
-
Method Details
-
getInternalAuthSecret
Gets the internal auth secret.- Returns:
- the internal auth secret
-
getExternalAuthSecret
Gets the external auth secret.- Returns:
- the external auth secret
-
getSettings
Gets the settings.- Returns:
- the settings
-
getUrl
Gets the url.- Returns:
- the url
-
getIMInfo
- Specified by:
getIMInfoin classorg.exoplatform.webconferencing.CallProvider
-
getActiveProvidersForSpace
public List<org.exoplatform.webconferencing.ActiveCallProvider> getActiveProvidersForSpace(String spaceId) - Specified by:
getActiveProvidersForSpacein classorg.exoplatform.webconferencing.CallProvider
-
getType
- Specified by:
getTypein classorg.exoplatform.webconferencing.CallProvider
-
getSupportedTypes
- Specified by:
getSupportedTypesin classorg.exoplatform.webconferencing.CallProvider
-
getTitle
- Specified by:
getTitlein classorg.exoplatform.webconferencing.CallProvider
-
getDescription
- Overrides:
getDescriptionin classorg.exoplatform.webconferencing.CallProvider
-
getVersion
- Specified by:
getVersionin classorg.exoplatform.webconferencing.CallProvider
-
setConfiguredForIdentity
- Overrides:
setConfiguredForIdentityin classorg.exoplatform.webconferencing.CallProvider
-
isConfiguredForIdentity
- Overrides:
isConfiguredForIdentityin classorg.exoplatform.webconferencing.CallProvider
-