scripting.properties revision 44533057912ac5c4bca52935b8fbc8e6d59d0671
a4544a5a0e622ef69e38641f87ab1b5685e05911Phill Cunnington# The contents of this file are subject to the terms of the Common Development and
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# Distribution License (the License). You may not use this file except in compliance with the
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# License.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott#
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# specific language governing permission and limitations under the License.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott#
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# When distributing Covered Software, include this CDDL Header Notice in each file and include
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# Header, with the fields enclosed by brackets [] replaced by your own identifying
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# information: "Portions copyright [year] [name of copyright owner]".
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott#
a4544a5a0e622ef69e38641f87ab1b5685e05911Phill Cunnington# Copyright 2015 ForgeRock AS.
7b3fa0c4c626865e92012ef9f885e91d945850eaCraig McDonnell
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott########################################################################################################################
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# This section holds the error messages used by the Scripting framework and specifically used by ScriptException
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott########################################################################################################################
fa03f17e603602dd9503a88cec3c310072c93ccaCraig McDonnell1=Scripting context not recognised: {0}
c184142912cff04e5442d8bf70febe477285fb1cCraig McDonnell2=Scripting language not supported: {0}
c184142912cff04e5442d8bf70febe477285fb1cCraig McDonnell3=Failed to read script called {0} from realm {1}
c184142912cff04e5442d8bf70febe477285fb1cCraig McDonnell4=Failed to read script with UUID {0} from realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott5=Failed to delete script with UUID {0} from realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott6=Failed to retrieve script with UUID {0} from realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott7=Failed to retrieve scripts from realm {0}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott8=Failed to save script with UUID {0} in realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott9=Script UUID must be specified
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott10=Script name must be specified
c184142912cff04e5442d8bf70febe477285fb1cCraig McDonnell11=A script must be specified
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott12=Scripting language must be specified
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott13=Script context must be specified
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott14=Script with name {0} already exist in realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott15=Script with UUID {0} already exist in realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott16=Script with UUID {0} could not be found in realm {1}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott17=The 'boolean literal' filter with value of 'false' is not supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott18=The 'extended match' filter is not supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott19=The 'greater than' filter is not supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott20=The 'greater than or equal' filter is not supported
d4bacb2592326eee0ad1fcde08f37e5adb2c6f41Robert Wapshott21=The 'less than' filter is not supported
d4bacb2592326eee0ad1fcde08f37e5adb2c6f41Robert Wapshott22=The 'less than or equal' filter is not supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott23=The 'not' filter is not supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott24=The 'present' filter is not supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott25=Failed to encode script as {0}
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott26=Filter path is too long, a depth of 1 is supported
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott########################################################################################################################
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# Global configuration internationalisation keys
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott########################################################################################################################
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottservice-description=Scripting
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottg101=Default Script Context
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottg101.help=The default script context selection.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottg101.help.txt=The default script context that will be selected when creating a new script.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottscript-type-01=Authorization entitlement condition
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottscript-type-02=Server-side Authentication
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottscript-type-03=Client-side Authentication
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottengine-configuration=Engine Configuration
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottlanguage-01=JavaScript
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottlanguage-02=Groovy
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# Global engine configuration settings
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec100=Scripting engine configuration
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec101=Server-side Script Timeout
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec101.help=The maximum execution time any individual script should take on the server (in seconds).
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec101.help.txt=Server-side scripts will be forcibly stopped after this amount of execution time.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec102=Core thread pool size
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec102.help=The core size of the thread pool from which scripts will operate.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec103=Maximum thread pool size
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec103.help=The maximum size of the thread pool from which scripts will operate.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec103.help.txt=New threads will be created up to this size once the task queue reaches capacity. Has no effect if the \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott queue is unbounded.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec104=Thread pool queue size
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec104.help=Size of queue to use for buffering script execution request when core pool is at capacity.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec104.help.txt=Use -1 for an unbounded queue (this disables the maximum pool size setting). For short, CPU-bound \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott scripts, consider a small pool size and larger queue length. For I/O-bound scripts (e.g., REST calls) consider \
c184142912cff04e5442d8bf70febe477285fb1cCraig McDonnell a larger maximum pool size and a smaller queue. Not hot-swappable: restart server for changes to take effect.
fa03f17e603602dd9503a88cec3c310072c93ccaCraig McDonnellec105=Thread idle timeout (seconds)
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec105.help=Length of time (in seconds) to wait before terminating threads.
d4bacb2592326eee0ad1fcde08f37e5adb2c6f41Robert Wapshottec105.help.txt=Length of time (in seconds) to wait before terminating threads that were started when the queue reached \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott capacity. Only applies to threads beyond the core pool size (up to the maximum size).
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec106=Java class whitelist
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec106.help=List of patterns of allowed Java classes that may be loaded/accessed by scripts.
d4bacb2592326eee0ad1fcde08f37e5adb2c6f41Robert Wapshottec106.help.txt=Each Java class accessed by a script must match at least one of these patterns. Use '*' as a wildcard, \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott e.g. <code>java.lang.*</code>
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec107=Java class blacklist
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec107.help=List of patterns of Java classes that must not be accessed by a script.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec107.help.txt=This blacklist is applied after the whitelist to apply additional restrictions. For instance you may \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott whitelist java.lang.* and then blacklist java.lang.System and java.lang.Runtime. It is recommended to always prefer \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott specific whitelists where possible.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec108=Use system SecurityManager
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec108.help=Indicates whether the system SecurityManager should also be consulted when checking access to Java classes.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottec108.help.txt=If enabled, then the checkPackageAccess method will be called for each Java class accessed. If no \
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott SecurityManager is configured, then this has no effect.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott# Global script type configuration settings
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst101=Scripting languages
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst101.help=The language the script is written in.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst101.help.txt=This is used to determine how to validate the script, as well as which engine to run the script within.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst102=Default language
cc7c18212481f5e9ee508afe2ffcaecb6b9330f5Craig McDonnellst102.help=The default language the script is written in.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst102.help.txt=This is used to determine how to validate the script, as well as which engine to run the script within.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst103=Default Script
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst103.help=The default script for new scripts of this type.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottst103.help.txt=This script will be set as the default when a new script of this type is created.
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
d0da70ccbba38b773e7a7cc71bc124b06206d201Robert Wapshott# Key to indicate that no internationalisation is required, but expected for SMS REST inclusion
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottno-i18n=No internationalisation required
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottvalidation-error-message=Error in script :\n
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshottvalidation-error-detail=Line {0}, column {1}: {2}\n
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott
72450cb9c2ca854c6d3479832c2738196c1d3282Robert Wapshott########################################################################################################################