XpressUtils - Helping Sun Identity Management Professionals
   
 
Utilities
Tech Talk
Tip of the day
A user object refers to information stored in the IDM repository. A user view refers to the information stored in the IDM repository plus the assigned resources.

Current Poll
Do you think Identity as a Service (IdaaS) is going to replace Identity Management implemented internally within an organization?

Yes, IdaaS is the future
Maybe, but internal IdM will persist too
No, it's unlikely to be adopted
Not sure how things will progress

Comments:

View previous poll results

Config Editor - View or Modify any Configuration Object

Anyone who has worked with IDM knows about "Config-urator". Here's introducing Config-Editor - a utility to view and modify any type of configuration object.

Many times the values for these options need to be tweaked by the administrator or end-user. How do they do it? Do they edit the configuration object xml manually? Not only this involves tutoring them how to edit the xml's in the repository, which in turn requires exposing the debug/session pages, but also introduces the possibilities of errors.

Config-Editor solves these issues by offering a simple front-end to edit any type of configuration object. It is able to do this by employing a complex, but generic recursion process of traversing through a configuration object, thus generating a tree-based structure representing each element of the object. The result is a simple, user-friendly UI that is a breeze to work with.

So go ahead.. download this utility and try it out! Happy editing! Download Config-Editor  Download now!

Why use Config-Editor?
  • Simple to install (just import the xml files and optionally copy a jsp).
  • Offers a simple GUI to view or modify any configuration object in a collapsable tree-based format.
  • Eliminates the need to access secured areas such as the debug session pages.
  • Reduces the possibility of errors by not requiring manual edits to configuration xml.
  • Audits the detailed information on the changes made (old and new values) to the individual elements, changes-made-by and the time of update
  • 508-compliant by eliminating the need to use DHTML for tree-structure generation.
  • It is open-source, completely written in Xpress, hence further customizable (terms apply).
Config-Editor
Requirements:
  • Sun Identity Manager version 5.0 or higher
Instructions: Config-Editor - Include file

  • Click here to download the zip file. It contains 2 xml's to be imported and 1 jsp that must be extracted within the IDM installation.
  • Extract the files into the "task" directory of your IDM installation directory
  • If you wish to provide a clickable sub-tab within the IDM administration console, modify the file: includes/bodyStart.jsp to include the downloaded file: bodyStart_tab_config_editor.jsp
    Add the following line above the line for <% String navBar = p.getMainNavigation(); (see image on right):

    <%@ include file="../task/bodyStart_tab_config_editor.jsp" %>

  • Restart your application server
  • Click on the "Server Tasks" tab → "Config-Editor" or run the task - TaskDefinition-ConfigEditor
Technical yada yada:
  • From the technical perspective, the code needed to achieve this functionality involves some of the most complex xpress-code-constructs. It requires parsing through a configuration object recursively from the root to the 'leaves' of the object-tree. As you see through the source code of the UserForm, you will find numerous field-references calling each other in circular loops with the perfect terminating conditions.
  • The UI is generated by leveraging the fact that each configuration object in IDM consists of simple data elements such as String, Integer or Boolean, and complex data structures such as List, Map and Object. Each complex data structure can contain any other complex data structure and/or simple data elements. Recursion is the only way to build a generic solution to read such objects in their entirety.
  • While attempts have been made to enforce datatype constraints, the functionality is only available if the configuration object is designed so. For example:


    <Attribute name='maxRetries'>
         <Integer>10</Integer>
    </Attribute>

    can have better datatype-enforcement compared to:

    <Attribute name='maxRetries' value='10' />

  • Similar case is true for boolean (true/false) values:


    <Attribute name='enableAccount'>
         <Boolean>true</Boolean>
    </Attribute>

    can have better datatype-enforcement compared to:

    <Attribute name='enableAccount' value='true' />

    So, we suggest while creating a new configuration object, you design it in a way that better enforces the datatype-validity of its elements.
  • There are some settings that can be tweaked to customize the functionality as per requirement. Please find the same under a variable "options" defined in the Xpress UserForm. It includes settings such as the list of configuration objects to make available to the user to edit, whether to always expand the tree-nodes, always collapse the tree-nodes, the max-length for textboxes in edit mode, etc.
If you have any comments or feedback, please use the form below or feel free to contact us here.


Feedback

Feedback / Comments:

We value comments from XpressUtils users! We strive to make this site better for you each day, so all constructive comments are appreciated.
Please feel free to send us your feedback!
 
From: agus Mar 04, 01:47 AM
Comment sss
From: Chellappan S Mar 04, 01:32 AM
Comment idm developer
From: shubham Feb 15, 05:23 AM
Comment where this identity management is more in demand?
From: umesh Feb 09, 09:53 PM
Comment i m unable 2 download an mobile software
From: Shiv Feb 04, 01:55 AM
Comment I'v gone through many sites but i am not getting the exact difference between LDAP Server and Directory Server. Can you pls help me out.
From: ratan Jan 23, 09:45 PM
Comment good
From: Grv Jan 11, 01:46 AM
Comment The website has shown lot of improvement...Cheers..everytime i log-in there is something new.. Best Wishes..and..Wishing you a Happy new and prosperous year 2010..you are making a better site from good..
From: jagadisham Jan 05, 03:36 AM
Comment Wishing you a Happy new and prosperous year 2010
From: jagad Dec 22, 10:11 AM
Comment New RSS!! wonderful!!
From: Girish S Dec 11, 03:38 PM
Comment The Datepicker link was very helpful. Thank You.
View all comments >>

Submit a comment:

Name: required
E-mail: required
Comments: required
Submit Comments
Tip: If you have a question related to programming in Xpress or some functionality in IDM, please post it as a new article in the Articles section.

It's quick, easy and does not require you to sign-up too!
 
    Home | Terms of use | Contact us | Help    
  Copyright © 2008-2009 XpressUtils.com. All rights reserved.