XpressUtils - Helping Sun Identity Management Professionals
   
 
Utilities
Tech Talk
Tip of the day
You can add attachments to emails sent out by IDM. Refer to the article specifically guiding on how to accomplish this.

Current Poll
Which product (arranged below in alphabetical order), do you think has the best features in the 'Identity & Access Management' space today?

CA IDM
IBM Tivoli
Novell IDM
Oracle (Sun) IDM
Others (please specify)

Comments:

View previous poll results

Rule Tester - Analyze with Rules!

Have you ever tried the "Rule Tester" functionality that is available within IDM?
This feature is available within the Debug pages and lets you, as an administrator, execute rules available in the repository.

Why is that necessary? - Primarily to analyze the run-time behavior of the system within the specific environment IDM is deployed in. This is very useful when debugging a certain issue, where testing an xpress-script outside of development-setup is crucial to resolve the issue on hand.

While the out-of-the-box functionality allows testing of rules, it lacks an interface that allows debugging issues extensively.
So, here is Rule-Tester, another small plugin to IDM that improves your ability to programmatically identify and analyze system-behavior - simply by executing rules.

So go ahead, download Rule-Tester now. Happy testing and analyzing! Download Rule-Tester  Download now!

Rule-Tester
zoom A larger screenshot
Rule-Tester
zoom A larger screenshot

Why use Rule-Tester?
  • You can execute Rules in libraries too, not just the "direct-call" rules.
  • You can write a new rule-script and test it on the fly (no import needed!).
  • Arguments are now prompted based on the rule-definition, and values can be supplied as null, string, integer, boolean or xmlobject datatypes. No more guess-work on what arguments each rule accepts.
  • The rule-execution trace can be viewed on the same page as the results.
  • Errors in script-execution are highlighted in red. This makes identifying environment-issues much easier!
  • You can select the "RunAs" option to execute a Rule. This comes in handy when the same rule is to be tested against different administrator-capabilities.
  • A larger script obviously needs larger writing-space; Rule-Tester allows you to adjust the size of text-boxes as needed.
  • Write the script without worrying about the xml-formatting. Rule-Tester automatically formats the code-snippet and gives back the xml that is easy to read.
  • Installation cannot get any easier. Just copy the jsp in the /idm/debug/ directory, that's it!
  • It's free! And the source code is available for you to customize as you desire (copyright terms specified in the jsp).
Requirements:
  • Sun Identity Manager version 5.0 or higher
Instructions:
  • Browse to the /idm/debug directory of your IDM installation and rename the file "Test_Rule.jsp" to "Test_Rule-orig.jsp".
  • Click here to download the zip file. It contains 1 jsp file.
  • Extract the jsp from the downloaded zip file into the /debug directory within your IDM installation.
  • Restart your application server.
  • Login to the administrative console, navigate to idm/debug/session.jsp and click on the "Test Rule" button.
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: Achin Aug 30, 07:48 AM
Comment Hi, team i want to know how to add uid to LDAP groups. if any body knows please help
From: mike Aug 25, 09:08 AM
Comment Can you give an example to use this rule? What does it mean "The trick to achieve this is use the "P ...
From: ajay nalawade Jul 29, 08:43 AM
Comment i want information about how to call java from expree boolean isConnectionSuccessful=connectDB.co ...
From: Carrie Cain Jul 24, 05:22 AM
Comment Want more clients and customers? We will help them find you by putting you on the 1st page of Google ...
From: nimish Jul 20, 12:53 AM
Comment In Handy Tools, Test Regular Expressions is not working. anybody used it?
From: nimish Jul 13, 02:18 AM
Comment hi team, I have some problem related to configure openSSO. Can I ask you for this or should I go to ...
From: Anirudha Jul 13, 01:41 AM
Comment Wish you all the best...
From: hussain Jun 05, 06:59 AM
Comment Could u please provide an ebook for Sun Certified Integrator for Identity Manager 7.1
From: docsnyder May 07, 05:52 AM
Comment Hi! I have downloaded the rule tester JSP file and followed the instructions, but the following err ...
From: jagadisham Mar 21, 12:48 PM
Comment day by day it is improving...all the best!!!
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.