Searched refs:augmentScript (Results 1 - 4 of 4) sorted by relevance

/forgerock/openidm-v4/openidm-api-servlet/src/main/java/org/forgerock/openidm/servlet/internal/
H A DIDMSecurityContextFactory.java77 for (ScriptEntry augmentScript : augmentationScripts) {
78 augmentContext(augmentScript, securityContext);
105 * @param augmentScript the script to execute
109 private void augmentContext(ScriptEntry augmentScript, SecurityContext securityContext) argument
112 if (!augmentScript.isActive()) {
114 + augmentScript.getName().toString());
117 final Script script = augmentScript.getScript(securityContext);
124 "Security Context augmentation script '" + augmentScript.getName().toString()
129 new Object[] { augmentScript.getName().getName(), re.getDetail(), re });
H A DServletComponent.java126 ScriptEntry augmentScript = scriptRegistry.takeScript(scriptConfig);
127 filterRegistratorMap.put(registrator, augmentScript);
128 augmentSecurityScripts.add(augmentScript);
129 logger.debug("Registered script {}", augmentScript);
137 ScriptEntry augmentScript = filterRegistratorMap.remove(registrator);
138 if (augmentScript != null) {
139 augmentSecurityScripts.remove(augmentScript);
140 logger.debug("Deregistered script {}", augmentScript);
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/modules/
H A DAugmentationScriptExecutor.java46 * @param augmentScript The augment script entry.
51 void executeAugmentationScript(ScriptEntry augmentScript, JsonValue properties, argument
54 if (augmentScript == null) {
59 if (!augmentScript.isActive()) {
61 + augmentScript.getName().toString());
66 final Script script = augmentScript.getScript(context);
86 logger.error("{} when attempting to execute script {}", re.toString(), augmentScript.getName(), re);
89 logger.error("{} when attempting to execute script {}", e.toString(), augmentScript.getName(), e);
H A DIDMAuthModuleWrapper.java103 private ScriptEntry augmentScript = null; field in class:IDMAuthModuleWrapper
256 augmentScript = getAugmentScript(scriptConfig);
257 logger.debug("Registered script {}", augmentScript);
358 augmentationScriptExecutor.executeAugmentationScript(augmentScript, properties,

Completed in 49 milliseconds