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.CallProviderJitsi provider implementation. Created by The eXo Platform SAS.- Version:
- $Id: MyConnectorProvider.java 00000 Mar 30, 2017 pnedonosko $
- Author:
- Peter Nedonosko
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJitsiProvider.JitsiIMInfoIM info for user profile.classJitsiProvider.JitsiSettingsSettings for Jitsi provider.
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_CLIENT_SECRETThe Constant CONFIG_CLIENT_SECRET.static StringCONFIG_EXTERNAL_AUTH_SECRETThe Constant CONFIG_EXTERNAL_AUTH_SECRET.static StringCONFIG_INTERNAL_AUTH_SECRETThe Constant CONFIG_EXTERNAL_AUTH_SECRET.static StringCONFIG_SERVICE_URLThe Constant CONFIG_SERVICE_URL.protected StringexternalAuthSecretThe external auth secret.protected StringinternalAuthSecretThe internal auth secret.protected static org.exoplatform.services.log.LogLOGThe Constant LOG.static StringTITLEThe Constant TITLE.static StringTYPEThe Constant TYPE.protected StringurlThe connector web-services URL (will be used to generate Call page URLs).static StringVERSIONThe Constant VERSION.
-
Constructor Summary
Constructors Constructor Description JitsiProvider(org.exoplatform.container.xml.InitParams params)Instantiates a new JitsiProvider provider.JitsiProvider(org.exoplatform.social.core.profile.settings.UserProfileSettingsService profileSettings, org.exoplatform.container.xml.InitParams params)Instantiates a new JitsiProvider provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription(Locale locale)StringgetExternalAuthSecret()Gets the external auth secret.org.exoplatform.webconferencing.UserInfo.IMInfogetIMInfo(String imId)StringgetInternalAuthSecret()Gets the internal auth secret.JitsiProvider.JitsiSettingsgetSettings()Gets the settings.String[]getSupportedTypes()StringgetTitle()StringgetType()StringgetUrl()Gets the url.StringgetVersion()-
Methods inherited from class org.exoplatform.webconferencing.CallProvider
equals, getDescription, hashCode, isActive, isLogEnabled, isSupportedType
-
-
-
-
Field Detail
-
LOG
protected static final org.exoplatform.services.log.Log LOG
The Constant LOG.
-
TYPE
public static final String TYPE
The Constant TYPE.- See Also:
- Constant Field Values
-
CONFIG_CLIENT_SECRET
public static final String CONFIG_CLIENT_SECRET
The Constant CONFIG_CLIENT_SECRET.- See Also:
- Constant Field Values
-
CONFIG_INTERNAL_AUTH_SECRET
public static final String CONFIG_INTERNAL_AUTH_SECRET
The Constant CONFIG_EXTERNAL_AUTH_SECRET.- See Also:
- Constant Field Values
-
CONFIG_EXTERNAL_AUTH_SECRET
public static final String CONFIG_EXTERNAL_AUTH_SECRET
The Constant CONFIG_EXTERNAL_AUTH_SECRET.- See Also:
- Constant Field Values
-
CONFIG_SERVICE_URL
public static final String CONFIG_SERVICE_URL
The Constant CONFIG_SERVICE_URL.- See Also:
- Constant Field Values
-
TITLE
public static final String TITLE
The Constant TITLE.- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
The Constant VERSION.- See Also:
- Constant Field Values
-
internalAuthSecret
protected final String internalAuthSecret
The internal auth secret.
-
externalAuthSecret
protected final String externalAuthSecret
The external auth secret.
-
url
protected final String url
The connector web-services URL (will be used to generate Call page URLs).
-
-
Constructor Detail
-
JitsiProvider
public JitsiProvider(org.exoplatform.social.core.profile.settings.UserProfileSettingsService profileSettings, org.exoplatform.container.xml.InitParams params) throws org.exoplatform.container.configuration.ConfigurationExceptionInstantiates 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) throws org.exoplatform.container.configuration.ConfigurationExceptionInstantiates 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 Detail
-
getInternalAuthSecret
public String getInternalAuthSecret()
Gets the internal auth secret.- Returns:
- the internal auth secret
-
getExternalAuthSecret
public String getExternalAuthSecret()
Gets the external auth secret.- Returns:
- the external auth secret
-
getSettings
public JitsiProvider.JitsiSettings getSettings()
Gets the settings.- Returns:
- the settings
-
getUrl
public String getUrl()
Gets the url.- Returns:
- the url
-
getIMInfo
public org.exoplatform.webconferencing.UserInfo.IMInfo getIMInfo(String imId)
- Specified by:
getIMInfoin classorg.exoplatform.webconferencing.CallProvider
-
getType
public String getType()
- Specified by:
getTypein classorg.exoplatform.webconferencing.CallProvider
-
getSupportedTypes
public String[] getSupportedTypes()
- Specified by:
getSupportedTypesin classorg.exoplatform.webconferencing.CallProvider
-
getTitle
public String getTitle()
- Specified by:
getTitlein classorg.exoplatform.webconferencing.CallProvider
-
getDescription
public String getDescription(Locale locale)
- Overrides:
getDescriptionin classorg.exoplatform.webconferencing.CallProvider
-
getVersion
public String getVersion()
- Specified by:
getVersionin classorg.exoplatform.webconferencing.CallProvider
-
-