0N/A<?
xml version="1.0" encoding="UTF-8"?>
0N/A * The contents of this file are subject to the terms of the Common Development and 0N/A * Distribution License (the License). You may not use this file except in compliance with the 0N/A * specific language governing permission and limitations under the License. 0N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include 0N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying 0N/A * information: "Portions copyright [year] [name of copyright owner]". 0N/A * Copyright 2015 ForgeRock AS. 0N/A<!
DOCTYPE ServicesConfiguration 0N/A<
ServicesConfiguration>
0N/A <
Service name="ScriptingService" version="1.0">
0N/A i18nFileName="scripting" 0N/A i18nKey="service-description" 0N/A resourceName="scripting">
502N/A <
AttributeSchema name="defaultScriptContext" i18nKey="g101" type="single_choice" 502N/A resourceName="defaultContext">
0N/A <
ChoiceValue i18nKey="script-type-01">POLICY_CONDITION</
ChoiceValue>
0N/A <
ChoiceValue i18nKey="script-type-02">AUTHENTICATION_SERVER_SIDE</
ChoiceValue>
0N/A <
ChoiceValue i18nKey="script-type-03">AUTHENTICATION_CLIENT_SIDE</
ChoiceValue>
0N/A <
ChoiceValue i18nKey="script-type-04">OIDC_CLAIMS</
ChoiceValue>
0N/A <
Value>POLICY_CONDITION</
Value>
0N/A <
SubSchema name="scriptContext" inheritance="multiple" resourceName="contexts">
0N/A <
AttributeSchema name="i18nKey" type="single"/>
0N/A <
AttributeSchema name="languages" type="multiple_choice" syntax="string" i18nKey="st101">
0N/A <
ChoiceValue i18nKey="language-01">JAVASCRIPT</
ChoiceValue>
0N/A <
ChoiceValue i18nKey="language-02">GROOVY</
ChoiceValue>
0N/A <
Value>JAVASCRIPT</
Value>
0N/A <
Value>GROOVY</
Value>
0N/A <
AttributeSchema name="defaultScript" type="single_choice" uitype="scriptSelect" 0N/A <
ChoiceValuesClassName 0N/A <
SubSchema name="engineConfiguration" i18nKey="ec100">
0N/A <
AttributeSchema name="i18nKey" type="single">
0N/A <
Value>engine-configuration</
Value>
0N/A <
AttributeSchema name="serverTimeout" 0N/A type="single" syntax="number_range" rangeStart="0" 0N/A rangeEnd="2147483647" i18nKey="ec101">
0N/A <
AttributeSchema name="coreThreads" 0N/A type="single" syntax="number_range" rangeStart="1" 0N/A rangeEnd="2147483647" i18nKey="ec102">
0N/A <
AttributeSchema name="maxThreads" 0N/A type="single" syntax="number_range" rangeStart="1" 0N/A rangeEnd="2147483647" i18nKey="ec103">
0N/A <
AttributeSchema name="queueSize" type="single" syntax="number_range" rangeStart="-1" rangeEnd="2147483647" i18nKey="ec104">
<
AttributeSchema name="idleTimeout" type="single" syntax="number_range" rangeStart="0" rangeEnd="2147483647" i18nKey="ec105">
<
AttributeSchema name="whiteList" type="list" syntax="string" i18nKey="ec106">
<
AttributeSchema name="blackList" type="list" syntax="string" i18nKey="ec107">
<
AttributeSchema name="useSecurityManager" type="single" syntax="boolean" i18nKey="ec108">
<
BooleanTrueValue i18nKey="i18nTrue">true</
BooleanTrueValue>
<
BooleanFalseValue i18nKey="i18nFalse">false</
BooleanFalseValue>
<
SubSchema name="globalScripts" hideConfigUI="yes">
<
SubSchema name="globalScript" inheritance="multiple">
<
AttributeSchema name="name" type="single" syntax="string"/>
<
AttributeSchema name="description" type="single" syntax="string"/>
<
AttributeSchema name="context" type="single" syntax="string"/>
<
AttributeSchema name="language" type="single">
<
Value>JAVASCRIPT</
Value>
<
AttributeSchema name="script" type="single" syntax="script"/>
<
AttributeSchema name="createdBy" type="single" syntax="string">
<
Value>id=dsameuser,ou=user,dc=openam,dc=forgerock,dc=org</
Value>
<
AttributeSchema name="creationDate" type="single" syntax="string">
<
Value>1433147666269</
Value>
<
AttributeSchema name="lastModifiedBy" type="single" syntax="string">
<
Value>id=dsameuser,ou=user,dc=openam,dc=forgerock,dc=org</
Value>
<
AttributeSchema name="lastModifiedDate" type="single" syntax="string">
<
Value>1433147666269</
Value>
<
SubSchema name="scriptConfigurations">
<
SubSchema name="scriptConfiguration" inheritance="multiple" resourceName="scripts">
<
AttributeSchema name="name" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="description" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="script" type="single" syntax="script" i18nKey="no-i18n"/>
<
AttributeSchema name="language" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="context" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="createdBy" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="creationDate" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="lastModifiedBy" type="single" syntax="string" i18nKey="no-i18n"/>
<
AttributeSchema name="lastModifiedDate" type="single" syntax="string" i18nKey="no-i18n"/>
<
SubConfiguration name="POLICY_CONDITION" id="scriptContext">
<
Attribute name="i18nKey"/>
<
Value>script-type-01</
Value>
<
Attribute name="defaultScript"/>
<
Value>&GlobalEntitlementConditionScriptId;</
Value>
<
SubConfiguration name="engineConfiguration" id="engineConfiguration"/>
<
SubConfiguration name="AUTHENTICATION_SERVER_SIDE" id="scriptContext">
<
Attribute name="i18nKey"/>
<
Value>script-type-02</
Value>
<
Attribute name="defaultScript"/>
<
Value>&GlobalServerSideAuthModuleScriptId;</
Value>
<
SubConfiguration name="engineConfiguration" id="engineConfiguration">
<
Attribute name="whiteList"/>
<
SubConfiguration name="AUTHENTICATION_CLIENT_SIDE" id="scriptContext">
<
Attribute name="i18nKey"/>
<
Value>script-type-03</
Value>
<
Attribute name="languages"/>
<
Value>JAVASCRIPT</
Value>
<
Attribute name="defaultScript"/>
<
Value>&NoScriptDefined;</
Value>
<
SubConfiguration name="OIDC_CLAIMS" id="scriptContext">
<
Attribute name="i18nKey"/>
<
Value>script-type-04</
Value>
<
Attribute name="defaultScript"/>
<
Value>&GlobalEntitlementConditionScriptId;</
Value>
<
SubConfiguration name="engineConfiguration" id="engineConfiguration">
<
Attribute name="whiteList"/>
<
SubConfiguration name="globalScripts" id="globalScripts">
<
SubConfiguration name="&GlobalEntitlementConditionScriptId;" id="globalScript">
<
Value>Scripted Policy Condition</
Value>
<
Attribute name="description"/>
<
Value>Default global script for Scripted Policy Conditions</
Value>
<
Attribute name="context"/>
<
Value>POLICY_CONDITION</
Value>
<
Attribute name="script"/>
<
SubConfiguration name="&GlobalServerSideAuthModuleScriptId;" id="globalScript">
<
Value>Scripted Module - Server Side</
Value>
<
Attribute name="description"/>
<
Value>Default global script for server side Scripted Authentication Module</
Value>
<
Attribute name="context"/>
<
Value>AUTHENTICATION_SERVER_SIDE</
Value>
<
Attribute name="script"/>
<
SubConfiguration name="&GlobalServerSideDeviceIdMatchScriptId;" id="globalScript">
<
Value>Device Id (Match) - Server Side</
Value>
<
Attribute name="description"/>
<
Value>Default global script for server side Device Id (Match) Authentication Module</
Value>
<
Attribute name="context"/>
<
Value>AUTHENTICATION_SERVER_SIDE</
Value>
<
Attribute name="script"/>
<
SubConfiguration name="&GlobalClientSideDeviceIdMatchScriptId;" id="globalScript">
<
Value>Device Id (Match) - Client Side</
Value>
<
Attribute name="description"/>
<
Value>Default global script for client side Device Id (Match) Authentication Module</
Value>
<
Attribute name="context"/>
<
Value>AUTHENTICATION_CLIENT_SIDE</
Value>
<
Attribute name="script"/>
<
SubConfiguration name="&GlobalOidcClaimsScriptId;" id="globalScript">
<
Value>OIDC Claims Script</
Value>
<
Attribute name="description"/>
<
Value>Default global script for OIDC claims</
Value>
<
Attribute name="context"/>
<
Value>OIDC_CLAIMS</
Value>
<
Attribute name="language"/>
<
Attribute name="script"/>