scripting.properties revision 2efeeda06dc3378d4bc4e55f0338d70ca1b5ac20
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# The contents of this file are subject to the terms of the Common Development and
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# Distribution License (the License). You may not use this file except in compliance with the
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# License.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig#
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# specific language governing permission and limitations under the License.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig#
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# When distributing Covered Software, include this CDDL Header Notice in each file and include
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# Header, with the fields enclosed by brackets [] replaced by your own identifying
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# information: "Portions copyright [year] [name of copyright owner]".
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig#
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# Copyright 2015 ForgeRock AS.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig########################################################################################################################
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# This section holds the error messages used by the Scripting framework and specifically used by ScriptException
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig########################################################################################################################
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig1=Script type not recognised: {0}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig2=Scripting language not supported: {0}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig3=Failed to read script called {0} from realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig4=Failed to read script with UUID {0} from realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig5=Failed to delete script with UUID {0} from realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig6=Failed to retrieve script with UUID {0} from realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig7=Failed to retrieve scripts from realm {0}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig8=Failed to save script with UUID {0} in realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig9=Script UUID must be specified
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig10=Script name must be specified
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig11=A script must be specified
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig12=Scripting language must be specified
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig13=Script type must be specified
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig14=Script with name {0} already exist in realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig15=Script with UUID {0} already exist in realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig16=Script with UUID {0} could not be found in realm {1}
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig17=The 'boolean literal' filter with value of 'false' is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig18=The 'extended match' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig19=The 'greater than' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig20=The 'greater than or equal' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig21=The 'less than' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig22=The 'less than or equal' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig23=The 'not' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig24=The 'present' filter is not supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig26=Filter path is too long, a depth of 1 is supported
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig27=Failed to decode UTF-8 encoded script
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig28=Default script {0} cannot be deleted
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig########################################################################################################################
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# Global configuration internationalisation keys
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig########################################################################################################################
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordosservice-description=Scripting
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigg101=Default Script Type
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordosg101.help=The default script type selection.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigg101.help.txt=The default script type that will be selected when creating a new script.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigscript-type-01=Policy Condition
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordosscript-type-02=Server-side Authentication
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigscript-type-03=Client-side Authentication
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigscript-type-04=OIDC Claims
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigscript-type-05=SDK
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigengine-configuration=Engine Configuration
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craiglanguage-01=JavaScript
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craiglanguage-02=Groovy
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# Global engine configuration settings
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec100=Scripting engine configuration
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec101=Server-side Script Timeout
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec101.help=The maximum execution time any individual script should take on the server (in seconds).
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec101.help.txt=Server-side scripts will be forcibly stopped after this amount of execution time.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec102=Core thread pool size
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec102.help=The core size of the thread pool from which scripts will operate.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec103=Maximum thread pool size
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec103.help=The maximum size of the thread pool from which scripts will operate.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec103.help.txt=New threads will be created up to this size once the task queue reaches capacity. Has no effect if the \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig queue is unbounded.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec104=Thread pool queue size
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec104.help=Size of queue to use for buffering script execution request when core pool is at capacity.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec104.help.txt=Use -1 for an unbounded queue (this disables the maximum pool size setting). For short, CPU-bound \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig scripts, consider a small pool size and larger queue length. For I/O-bound scripts (e.g., REST calls) consider \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig a larger maximum pool size and a smaller queue. Not hot-swappable: restart server for changes to take effect.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec105=Thread idle timeout (seconds)
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec105.help=Length of time (in seconds) to wait before terminating threads.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec105.help.txt=Length of time (in seconds) to wait before terminating threads that were started when the queue reached \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig capacity. Only applies to threads beyond the core pool size (up to the maximum size).
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec106=Java class whitelist
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordosec106.help=List of patterns of allowed Java classes that may be loaded/accessed by scripts.
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordosec106.help.txt=Each Java class accessed by a script must match at least one of these patterns. Use '*' as a wildcard, \
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordos e.g. <code>java.lang.*</code>
85c3b1d812e07221f6ad43fe9965137812ad139cLaszlo Hordosec107=Java class blacklist
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec107.help=List of patterns of Java classes that must not be accessed by a script.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec107.help.txt=This blacklist is applied after the whitelist to apply additional restrictions. For instance you may \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig whitelist java.lang.* and then blacklist java.lang.System and java.lang.Runtime. It is recommended to always prefer \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig specific whitelists where possible.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec108=Use system SecurityManager
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec108.help=Indicates whether the system SecurityManager should also be consulted when checking access to Java classes.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigec108.help.txt=If enabled, then the checkPackageAccess method will be called for each Java class accessed. If no \
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig SecurityManager is configured, then this has no effect.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craig# Global script type configuration settings
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigst101=Scripting languages
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigst101.help=The language the script is written in.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigst101.help.txt=This is used to determine how to validate the script, as well as which engine to run the script within.
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigst103=Default Script
05ba50727dc1c7ca98cfdf8c76bef55f4ebfb0e8Mark Craigst103.help=The default script for new scripts of this type.
st103.help.txt=This script will be set as the default when a new script of this type is created.
# Key to indicate that no internationalisation is required, but expected for SMS REST inclusion
no-i18n=No internationalisation required
validation-error-message=Error in script :\n
validation-error-detail=Line {0}, column {1}: {2}\n
########################################################################################################################