Skip to content

Commit 0b7f390

Browse files
committed
LPD-72782 Run "ant update-portal-osgi-configuration-properties"
1 parent 533ebee commit 0b7f390

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

modules/sdk/gradle-plugins-workspace/src/main/resources/schemas/client-extension-type-instance-settings.schema.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,6 +2030,24 @@
20302030
],
20312031
"title": "Frontend Caching"
20322032
},
2033+
{
2034+
"properties": {
2035+
"disableGetRemoteMethods": {
2036+
"default": false,
2037+
"description": "If checked, the methods getRemoteAddr() and getRemoteHost() will be undefined within the Liferay.ThemeDisplay global object. This configuration is primarily implemented to mitigate privacy risks by avoiding the exposure of client IP/host information and to optimize performance by allowing public caching of pages for unauthenticated users. Note that checking this option will make custom code that relies on these methods fail.",
2038+
"title": "Disable getRemoteAddr() and getRemoteHost() methods",
2039+
"type": "boolean"
2040+
},
2041+
"pid": {
2042+
"const": "com.liferay.frontend.js.web.internal.configuration.LiferayGlobalObjectConfiguration",
2043+
"title": "Liferay Global Object"
2044+
}
2045+
},
2046+
"required": [
2047+
"pid"
2048+
],
2049+
"title": "Liferay Global Object"
2050+
},
20332051
{
20342052
"properties": {
20352053
"addDefaultStructures": {
@@ -4870,6 +4888,7 @@
48704888
"com.liferay.frontend.js.spa.web.internal.configuration.SPAConfiguration",
48714889
"com.liferay.frontend.js.web.internal.configuration.CustomDialogsSettingsConfiguration",
48724890
"com.liferay.frontend.js.web.internal.configuration.FrontendCachingConfiguration",
4891+
"com.liferay.frontend.js.web.internal.configuration.LiferayGlobalObjectConfiguration",
48734892
"com.liferay.journal.configuration.JournalServiceConfiguration",
48744893
"com.liferay.layout.content.page.editor.web.internal.configuration.PageEditorConfiguration",
48754894
"com.liferay.layout.locked.layouts.web.internal.configuration.LockedLayoutsCompanyConfiguration",

portal-impl/src/portal-osgi-configuration.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2959,6 +2959,10 @@
29592959
#
29602960
#configuration.override.com.liferay.frontend.js.web.internal.configuration.FrontendCachingConfiguration_sendNoCacheForESModules=
29612961
#
2962+
# Env: LIFERAY_CONFIGURATION_PERIOD_OVERRIDE_PERIOD_COM_PERIOD_LIFERAY_PERIOD_FRONTEND_PERIOD_JS_PERIOD_WEB_PERIOD_INTERNAL_PERIOD_CONFIGURATION_PERIOD__UPPERCASEL_IFERAY_UPPERCASEG_LOBAL_UPPERCASEO_BJECT_UPPERCASEC_ONFIGURATION_UNDERLINE_DISABLE_UPPERCASEG_ET_UPPERCASER_EMOTE_UPPERCASEM_ETHODS
2963+
#
2964+
#configuration.override.com.liferay.frontend.js.web.internal.configuration.LiferayGlobalObjectConfiguration_disableGetRemoteMethods=
2965+
#
29622966
# Env: LIFERAY_CONFIGURATION_PERIOD_OVERRIDE_PERIOD_COM_PERIOD_LIFERAY_PERIOD_FRONTEND_PERIOD_JS_PERIOD_WEB_PERIOD_INTERNAL_PERIOD_SESSION_PERIOD_TIMEOUT_PERIOD_CONFIGURATION_PERIOD__UPPERCASES_ESSION_UPPERCASET_IMEOUT_UPPERCASEC_ONFIGURATION_UNDERLINE_AUTO_UPPERCASEE_XTEND
29632967
#
29642968
#configuration.override.com.liferay.frontend.js.web.internal.session.timeout.configuration.SessionTimeoutConfiguration_autoExtend=

0 commit comments

Comments
 (0)