Searched refs:def (Results 1 - 25 of 148) sorted by relevance

123456

/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/util/
H A DSystemPropertiesWrapper.java27 * @param def Default if no value is found.
30 public int getAsInt(String key, int def) { argument
31 return SystemProperties.getAsInt(key, def);
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/scriptedazure/tools/scripts/
H A DSyncScript.groovy35 def operation = operation as OperationType
36 def configuration = configuration as ScriptedConfiguration
37 def client = configuration.propertyBag.get("ODataClient") as EdmEnabledODataClient
38 def log = log as Log
39 def objectClass = objectClass as ObjectClass
42 def entityType = ODataUtils.getEdmEntityType(client.cachedEdm, objectClass)
48 def options = options as OperationOptions
49 def token = token as Object
52 def request =
54 def respons
[all...]
H A DSearchScript.groovy41 def operation = operation as OperationType
42 def configuration = configuration as ScriptedConfiguration
43 def client = configuration.propertyBag.get("ODataClient") as EdmEnabledODataClient
44 def filter = filter as Filter
45 def log = log as Log
46 def objectClass = objectClass as ObjectClass
47 def options = options as OperationOptions
49 def edmEntityType = ODataUtils.getEdmEntityType(client.cachedEdm, objectClass)
51 def entityHandler = { ODataEntity entity ->
52 def c
[all...]
H A DTestScript.groovy30 def operation = operation as OperationType
31 def configuration = configuration as ScriptedConfiguration
32 def client = configuration.propertyBag.get("ODataClient") as EdmEnabledODataClient
33 def log = log as Log
H A DDeleteScript.groovy35 def operation = operation as OperationType
36 def configuration = configuration as ScriptedConfiguration
37 def client = configuration.propertyBag.get("ODataClient") as EdmEnabledODataClient
38 def log = log as Log
39 def objectClass = objectClass as ObjectClass
40 def options = options as OperationOptions
41 def uid = uid as Uid
43 def edmEntityType = ODataUtils.getEdmEntityType(client.cachedEdm, objectClass)
47 def request = client.CUDRequestFactory.getDeleteRequest(
49 def respons
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/scriptedrest2dj/tools/
H A DScriptOnResourceScript.groovy35 def operation = operation as OperationType
36 def configuration = configuration as ScriptedRESTConfiguration
37 def httpClient = connection as HttpClient
38 def connection = customizedConnection as RESTClient
39 def log = log as Log
40 def options = options as OperationOptions
41 def scriptArguments = scriptArguments as Map
42 def scriptLanguage = scriptLanguage as String
43 def scriptText = scriptText as Strin
H A DTestScript.groovy34 def operation = operation as OperationType
35 def configuration = configuration as ScriptedRESTConfiguration
36 def httpClient = connection as HttpClient
37 def connection = customizedConnection as RESTClient
38 def log = log as Log
H A DDeleteScript.groovy34 def operation = operation as OperationType
35 def configuration = configuration as ScriptedRESTConfiguration
36 def httpClient = connection as HttpClient
37 def connection = customizedConnection as RESTClient
38 def log = log as Log
39 def objectClass = objectClass as ObjectClass
40 def options = options as OperationOptions
41 def uid = uid as Uid
H A DResolveUsernameScript.groovy36 def operation = operation as OperationType
37 def configuration = configuration as ScriptedRESTConfiguration
38 def httpClient = connection as HttpClient
39 def connection = customizedConnection as RESTClient
40 def username = username as String
41 def log = log as Log
42 def objectClass = objectClass as ObjectClass
43 def options = options as OperationOption
H A DSchemaScript.groovy38 def operation = operation as OperationType
39 def configuration = configuration as ScriptedRESTConfiguration
40 def httpClient = connection as HttpClient
41 def connection = customizedConnection as RESTClient
42 def log = log as Log
48 def idAIB = new AttributeInfoBuilder("__NAME__", String.class);
55 def userNameAIB = new AttributeInfoBuilder("userName", String.class);
61 def displayNameAIB = new AttributeInfoBuilder("displayName", String.class);
66 def grpDisplayNameAIB = new AttributeInfoBuilder("displayName", String.class);
72 def familyNameAI
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/roles/
H A DonRecon.groovy31 def reconContext = context.asContext(ReconContext.class)
32 def source = mappingConfig.source.getObject() as String
33 def target = mappingConfig.target.getObject() as String
36 def assignments = openidm.query("managed/assignment", [ "_queryFilter" : '/mapping eq ' + mappingConfig.name ]).result
37 def roles = openidm.query("managed/role", [ "_queryFilter" : 'true' ], [ "*", "assignments" ]).result
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/scriptedcrest2dj/tools/
H A DSchemaScript.groovy30 def operation = operation as OperationType
31 def configuration = configuration as ScriptedCRESTConfiguration
32 def connection = connection as Connection
33 def log = log as Log
35 def file = new File(System.getProperty("launcher.project.location") + "/conf/provisioner.openicf-scriptedcrest.json")
37 def schema = SchemaSlurper.parse(file.toURI().toURL())
H A DAuthenticateScript.groovy34 def operation = operation as OperationType
35 def configuration = configuration as ScriptedCRESTConfiguration
36 def connection = connection as Connection
37 def username = username as String
38 def log = log as Log
39 def objectClass = objectClass as ObjectClass
40 def options = options as OperationOptions
41 def password = password as GuardedString;
H A DTestScript.groovy30 def operation = operation as OperationType
31 def configuration = configuration as ScriptedCRESTConfiguration
32 def connection = connection as Connection
33 def log = log as Log
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/sample3/tools/
H A DAuthenticateScript.groovy44 def operation = operation as OperationType
47 def configuration = configuration as HRDBConfiguration
50 def log = log as Log
58 def authId = null;
65 def username = username as String
68 def password = password as GuardedString;
71 def connection = connection as Connection
76 def sql = new Sql(connection);
H A DDeleteScript.groovy33 def operation = operation as OperationType
36 def configuration = configuration as HRDBConfiguration
39 def log = log as Log
42 def uid = uid as Uid
45 def objectClass = objectClass as ObjectClass
58 def connection = connection as Connection
59 def ORG = new ObjectClass("organization")
62 def sql = new Sql(connection);
H A DTestScript.groovy41 def operation = operation as OperationType
44 def configuration = configuration as HRDBConfiguration
47 def log = log as Log
61 def connection = new Sql(connection as Connection)
H A DCreateScript.groovy35 def operation = operation as OperationType
38 def configuration = configuration as HRDBConfiguration
41 def log = log as Log
44 def createAttributes = new AttributesAccessor(attributes as Set<Attribute>)
47 def uid = id as String
50 def objectClass = objectClass as ObjectClass
64 def ORG = new ObjectClass("organization")
65 def connection = connection as Connection
66 def sql = new Sql(connection);
70 def retUi
[all...]
/forgerock/opendj-v3/opendj-config/src/test/java/org/forgerock/opendj/config/
H A DBooleanPropertyDefinitionTest.java47 BooleanPropertyDefinition def = createPropertyDefinition();
48 def.validateValue(Boolean.TRUE);
53 BooleanPropertyDefinition def = createPropertyDefinition();
54 def.validateValue(null);
64 BooleanPropertyDefinition def = createPropertyDefinition();
65 assertEquals(def.decodeValue(value), expected);
76 BooleanPropertyDefinition def = createPropertyDefinition();
77 def.decodeValue(value);
H A DEnumPropertyDefinitionTest.java62 EnumPropertyDefinition<?> def = builder.getInstance();
63 assertEquals(def.getEnumClass(), TestEnum.class);
96 EnumPropertyDefinition<?> def = builder.getInstance();
97 assertEquals(def.decodeValue(value), expectedValue);
119 EnumPropertyDefinition<?> def = builder.getInstance();
120 def.decodeValue(value);
126 EnumPropertyDefinition<TestEnum> def = builder.getInstance();
127 assertEquals(def.normalizeValue(TestEnum.ONE), "one");
133 EnumPropertyDefinition<TestEnum> def = builder.getInstance();
134 def
[all...]
/forgerock/openidm-v4/custom-scripted-connector-bundler/src/main/resources/
H A DAuthenticateScript.groovy.template39 def operation = operation as OperationType
42 def configuration = configuration as {{packageName}}Configuration
45 def log = log as Log
53 def authId = null;
H A DDeleteScript.groovy.template40 def operation = operation as OperationType
43 def configuration = configuration as {{packageName}}Configuration
46 def log = log as Log
49 def uid = id as Uid
52 def objectClass = objectClass as ObjectClass
H A DCreateScript.groovy.template43 def operation = operation as OperationType
46 def configuration = configuration as {{packageName}}Configuration
49 def log = log as Log
52 def createAttributes = new AttributesAccessor(attributes as Set<Attribute>)
55 def uid = id as Uid
58 def objectClass = objectClass as ObjectClass
H A DSearchScript.groovy.template45 def operation = operation as OperationType
48 def configuration = configuration as {{packageName}}Configuration
51 def log = log as Log
54 def objectClass = objectClass as ObjectClass
57 def filter = filter as Filter
60 def options = options as OperationOptions
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/util/
H A DSystemPropertiesWrapper.java29 * @param def Default if no value is found.
32 public int getAsInt(String key, int def) { argument
33 return SystemProperties.getAsInt(key, def);

Completed in 34 milliseconds

123456