How to Change the Super User in GateIn

1) Change the <Install Dir>/server/<Profile>/deploy/gatein.ear/02portal.war/WEB-INF/conf/portal/portal-configuration.xml file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration xmlns="http://www.exoplaform.org/xml/ns/kernel_1_2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_2.xsd http://www.exoplaform.org/xml/ns/kernel_1_2.xsd">
  ...
  <component>
    <key>org.exoplatform.portal.config.UserACL</key>
    <type>org.exoplatform.portal.config.UserACL</type>
    <init-params>	     
      <value-param>
        <name>super.user</name>
        <description>administrator</description>
        <value><!-- Username --></value>
      </value-param>
      ...
    </init-params>   
  </component>
  ...
</configuration>

2) Restart GateIn Portal.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s