-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5707f88
commit 60b12a7
Showing
5 changed files
with
140 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
webapps/src/main/resources/locale/navigation/portal/administration_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
192 changes: 93 additions & 99 deletions
192
webapps/src/main/webapp/WEB-INF/conf/multifactor-authentication/portal-configuration.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,96 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_3.xsd http://www.exoplatform.org/xml/ns/kernel_1_3.xsd" xmlns="http://www.exoplatform.org/xml/ns/kernel_1_3.xsd"> | ||
<external-component-plugins> | ||
<target-component>org.exoplatform.portal.config.UserPortalConfigService</target-component> | ||
<component-plugin> | ||
<name>new.portal.config.user.listener</name> | ||
<set-method>initListener</set-method> | ||
<type>org.exoplatform.portal.config.NewPortalConfigListener</type> | ||
<description>This listener creates Mfa Pages</description> | ||
<init-params> | ||
<object-param> | ||
<name>portal.configuration</name> | ||
<description>description</description> | ||
<object type="org.exoplatform.portal.config.NewPortalConfig"> | ||
<field name="ownerType"> | ||
<string>portal</string> | ||
</field> | ||
<field name="predefinedOwner"> | ||
<collection type="java.util.HashSet"> | ||
<value> | ||
<string>global</string> | ||
</value> | ||
</collection> | ||
</field> | ||
<field name="location"> | ||
<string>war:/conf/multifactor-authentication/portal</string> | ||
</field> | ||
<field name="override"> | ||
<boolean>${exo.mfa.portalConfig.metadata.override:true}</boolean> | ||
</field> | ||
<field name="importMode"> | ||
<string>${exo.mfa.portalConfig.metadata.importmode:insert}</string> | ||
</field> | ||
</object> | ||
</object-param> | ||
<object-param> | ||
<name>group.configuration</name> | ||
<description>description</description> | ||
<object type="org.exoplatform.portal.config.NewPortalConfig"> | ||
<field name="predefinedOwner"> | ||
<collection type="java.util.HashSet"> | ||
<value> | ||
<string>/platform/administrators</string> | ||
</value> | ||
</collection> | ||
</field> | ||
<field name="ownerType"> | ||
<string>group</string> | ||
</field> | ||
<field name="override"> | ||
<boolean>${exo.mfa.portalConfig.metadata.override:true}</boolean> | ||
</field> | ||
<field name="importMode"> | ||
<string>${exo.mfa.portalConfig.metadata.importmode:insert}</string> | ||
</field> | ||
<field name="templateLocation"> | ||
<string>war:/conf/multifactor-authentication/portal</string> | ||
</field> | ||
</object> | ||
</object-param> | ||
</init-params> | ||
</component-plugin> | ||
<component-plugin> | ||
<name>new.portal.config.user.listener</name> | ||
<set-method>initListener</set-method> | ||
<type>org.exoplatform.portal.config.NewPortalConfigListener</type> | ||
<description>this listener init the portal configuration</description> | ||
<init-params> | ||
<value-param> | ||
<name>override</name> | ||
<description>The flag parameter to decide if portal metadata is overriden on restarting server</description> | ||
<value> ${exo.mfa.portalConfig.administration.metadata.override:true} </value> | ||
</value-param> | ||
<object-param> | ||
<name>portal.configuration</name> | ||
<description>description</description> | ||
<object type="org.exoplatform.portal.config.NewPortalConfig"> | ||
<field name="predefinedOwner"> | ||
<collection type="java.util.HashSet"> | ||
<value> | ||
<string>administration</string> | ||
</value> | ||
</collection> | ||
</field> | ||
<field name="ownerType"> | ||
<string>portal</string> | ||
</field> | ||
<field name="templateLocation"> | ||
<string>war:/conf/multifactor-authentication/portal</string> | ||
</field> | ||
<field name="override"> | ||
<boolean>${exo.mfa.portalConfig.administration.override:true}</boolean> | ||
</field> | ||
<field name="importMode"> | ||
<string>${exo.mfa.portalConfig.administration.importmode:insert}</string> | ||
</field> | ||
</object> | ||
</object-param> | ||
</init-params> | ||
</component-plugin> | ||
</external-component-plugins> | ||
<external-component-plugins> | ||
<target-component>org.exoplatform.portal.config.UserPortalConfigService</target-component> | ||
<component-plugin> | ||
<name>new.portal.config.user.listener</name> | ||
<set-method>initListener</set-method> | ||
<type>org.exoplatform.portal.config.NewPortalConfigListener</type> | ||
<description>This listener creates Mfa Pages</description> | ||
<init-params> | ||
<object-param> | ||
<name>portal.configuration</name> | ||
<description>description</description> | ||
<object type="org.exoplatform.portal.config.NewPortalConfig"> | ||
<field name="ownerType"> | ||
<string>portal</string> | ||
</field> | ||
<field name="predefinedOwner"> | ||
<collection type="java.util.HashSet"> | ||
<value> | ||
<string>global</string> | ||
</value> | ||
</collection> | ||
</field> | ||
<field name="location"> | ||
<string>war:/conf/multifactor-authentication/portal</string> | ||
</field> | ||
<field name="override"> | ||
<boolean>${exo.mfa.portalConfig.metadata.override:true}</boolean> | ||
</field> | ||
<field name="importMode"> | ||
<string>${exo.mfa.portalConfig.metadata.importmode:insert}</string> | ||
</field> | ||
</object> | ||
</object-param> | ||
<object-param> | ||
<name>group.configuration</name> | ||
<description>description</description> | ||
<object type="org.exoplatform.portal.config.NewPortalConfig"> | ||
<field name="predefinedOwner"> | ||
<collection type="java.util.HashSet"> | ||
<value> | ||
<string>/platform/administrators</string> | ||
</value> | ||
</collection> | ||
</field> | ||
<field name="ownerType"> | ||
<string>group</string> | ||
</field> | ||
<field name="override"> | ||
<boolean>${exo.mfa.portalConfig.metadata.override:true}</boolean> | ||
</field> | ||
<field name="importMode"> | ||
<string>${exo.mfa.portalConfig.metadata.importmode:insert}</string> | ||
</field> | ||
<field name="templateLocation"> | ||
<string>war:/conf/multifactor-authentication/portal</string> | ||
</field> | ||
</object> | ||
</object-param> | ||
</init-params> | ||
</component-plugin> | ||
<component-plugin> | ||
<name>new.portal.config.user.listener</name> | ||
<set-method>initListener</set-method> | ||
<type>org.exoplatform.portal.config.NewPortalConfigListener</type> | ||
<description>this listener init the portal configuration</description> | ||
<init-params> | ||
<object-param> | ||
<name>portal.configuration</name> | ||
<object type="org.exoplatform.portal.config.NewPortalConfig"> | ||
<field name="predefinedOwner"> | ||
<collection type="java.util.HashSet"> | ||
<value> | ||
<string>administration</string> | ||
</value> | ||
</collection> | ||
</field> | ||
<field name="ownerType"> | ||
<string>portal</string> | ||
</field> | ||
<field name="templateLocation"> | ||
<string>war:/conf/multifactor-authentication/portal</string> | ||
</field> | ||
<field name="override"> | ||
<boolean>${exo.mfa.portalConfig.administration.override:true}</boolean> | ||
</field> | ||
<field name="importMode"> | ||
<string>${exo.mfa.portalConfig.administration.importmode:merge}</string> | ||
</field> | ||
</object> | ||
</object-param> | ||
</init-params> | ||
</component-plugin> | ||
</external-component-plugins> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters