Friday, January 27, 2006

Enabling a Locked User on the Native Resource

Problem here was to enable (or unlock) an account on an Oracle resource through a form. Trying to set 'view.accounts[$(Resource)].enable' to 'true' wouldn't work and checked the Sun IdM doumentation (IDM_Techincal_Deployment) which says that, the "supportsAccountDisable" method in the custom adapter should override the corresponding method in the "ResourceAdpaterBase.class" so that it returns a true value, for the ACCOUNT_ENABLE function to work properly. Later, found that this is already done in the custom adapter. Now the final option of setting the
'view.accounts[$(Resource)].disable' to 'false' worked. The button incorporated into the form is given below:
 
<Field name='view.accounts[$(Resource)].disable'>
  <Display class='Button' action='true'>
    <Property name='noNewRow' value='false'/>
    <Property name='label' value='Enable KCS User'/>
    <Property name='value' value='false'/>
  </Display>
</Field>

Tuesday, January 10, 2006

Changing Page Title and Subtitle in Sun Identity Manager

To modify the default settings of the page title, sub-title and customize the end user page totally you can refer to the "Private Labeling of Identity Manager" section described in the IDM_Technical_Deployment manual. In brief, you can change the default messages by modifying the text in the "WPMessages_en.properties" file. Extract this file from WEB-INF/lib/idmcommon.jar to the config directory. Edit the required message and restart the application server.

Modifying authentication questions in a policy

Changes to aunthentication question in a LH Policy have to be made and modifying the .xml and reimporting the new xml file did not reflect the changes in the user interface immediately. But if the changes are made in the debug page directly then the changes can be seen immediately in the end user interface. One should avoid making changes from the admin interface (i.e., from Configure->Policies->) page as the "id" assigned to the Question will change and will not propogate to all the user objects linked to it.

Thursday, January 05, 2006

Windows Tips: Password-Protect Your Sensitive Files and Folders

Check this article at http://www.pcworld.com/howto/article/0,aid,110663,00.asp which describes simple but useful ways to protect sensitive folders on your Windows Me/XP computer. In short, simply transfer all the folders you want to protect into a compressed zip folder and from the Windows Explorer, goto File->WinZip->Encrypt and enter the password. To disable users to view files in the compressed folder, embed this folder into another folder and compress the latter.