Skip to main content


Showing posts from February, 2015

ISIM Virtual Appliance Customization Guide for Administrators

With the all new ISIM Virtual Appliance, lot of people will be keen to know how customizations can be done ( since now there isn't any access to the file system ). IBM recently released the ISIM VA Customization guide with detailed explanation.

IBM Security Identity Manager v7.0 (ISIM) provides options to modify the default settings of various parts of the product and its supported middleware. The reasons for changing these settings typically include: need to enable enterprise branding, modifying default behavior to match existing business processes, integrating with other enterprise applications, and providing enterprise user interface consistency across all functions. This document describes best practices for implementing the most commonly used customizations and extensions for ISIM v7 and also describes limits in these areas.

List of Topics:

1 Introduction
2 JavaScript extensions
2.1 Develop and deploy Extension
2.2 Register extension
2.3 Test and Verify
3 Workflow applicat…

How to read attributes of a XML tag using easy shell script - Part 2

If you've seen "How to read attributes of a XML tag using easy shell script - Part1", then we can see another type of XML parsing using basic shell scripts.

Lets consider another type of XML file where the value of attributes are enclosed with XML tags. Below is the sample XML:

    <FixType>Hot Fix</FixType>
If we want to read all the values of the attributes, then we will have to read line by line and then separate the entity and content, else if were only interested in a particular entity, say "FixVersion" (aka entity) and its content which is "HF0018".

The below script will read each line of an XML and then take necessary action:

#!/bin/sh read_dom () { local IFS=\> read -d \< ENTITY CONTENT } #specify the file or pass it as an argument to the script fil…

How to read attributes of a XML tag using easy shell script - Part 1

Many times we need to read a particular attributes value from a XML formatted file. Java's JAXB library is pretty useful for getting this done. But there are situations when we need to get such parsing done via SHELL SCRIPTS ...

There are thirty party tools like xml_grep by, however if you want to use the plain vanilla shell script, then there's nothing like the combination of cat, grep, awk and sed to get all you parsing done.


1. cat the XML file in question
2. grep only those lines which are of interest
3. awk using a field separator Double Quote ( " ), since we consider that the attributes in an XML will in the format: attrName="attrValue"

Consider the below sample XML file:

<policy xmlns="" name="object2_0_0" version="2.0.0" valid="true" overwrite="true" schema-version="2.0.0"> <Object fileName="" propName="0&q…