Class 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
    • Field Detail

      • LOG

        protected static final org.exoplatform.services.log.Log LOG
        The Constant LOG.
      • 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
      • 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.ConfigurationException
        Instantiates a new JitsiProvider provider.
        Parameters:
        profileSettings - the profile settings
        params - 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.ConfigurationException
        Instantiates a new JitsiProvider provider. This constructor can be used in environments when no UserProfileSettingsService found (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
      • getUrl

        public String getUrl()
        Gets the url.
        Returns:
        the url
      • getIMInfo

        public org.exoplatform.webconferencing.UserInfo.IMInfo getIMInfo​(String imId)
        Specified by:
        getIMInfo in class org.exoplatform.webconferencing.CallProvider
      • getType

        public String getType()
        Specified by:
        getType in class org.exoplatform.webconferencing.CallProvider
      • getSupportedTypes

        public String[] getSupportedTypes()
        Specified by:
        getSupportedTypes in class org.exoplatform.webconferencing.CallProvider
      • getTitle

        public String getTitle()
        Specified by:
        getTitle in class org.exoplatform.webconferencing.CallProvider
      • getDescription

        public String getDescription​(Locale locale)
        Overrides:
        getDescription in class org.exoplatform.webconferencing.CallProvider
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in class org.exoplatform.webconferencing.CallProvider