JBoss.orgCommunity Documentation

RestPortalContainerNameConfig

This plugin is used to set the portal container name used for REST service.

To use the plugin in the component configuration, you must use the following target-component:



<target-component>org.exoplatform.social.opensocial.auth.RestPortalContainerNameConfig</target-component>

Sample configuration:



    <component-plugin>
      <name>set portal container name used for REST service</name>
      <set-method>setRestContainerName</set-method>
      <type>org.exoplatform.social.opensocial.auth.RestPortalContainerNameConfig</type>
        <init-params>
        <value-param>
          <name>rest-container-name</name>
          <value>socialdemo</value>
        </value-param>
      </init-params>
    </component-plugin>

In which:

Value-param Possible value Default value Description
rest-container-name String socialdemo The portal container name.