Using OIM API and Groovy
Many times we have to write code using OIM API to interact with the system. The OIM documentation has a chapter on this, but there are several steps to follow( a number of jars have to be copied, a project will have to be created ) before being able to write and run the code. Here I am describing another approach on how one can do the same and use Groovy for writing the actual code. Also this approach has a preliminary step. You have to create in your $OIM_HOME/server/apps/oim.ear/xlWebApp.war folder a groovy.jsp file with the following content: <%@ page contentType="text/html;UTF-8" import="java.util.HashMap, java.util.Map, java.nio.file.Files, java.nio.file.Paths, groovy.lang.*"%> <html> <head> <title>Groovy console</title> <style type="text/css" media="screen"> #editor { position: absolute; width: 1000px; he...