Novell Home

Cool Blog: Mixing the Doughs, Baking the Cake, Tasting It

Novell Cool Solutions: Feature
By Volker Scheuber

Digg This - Slashdot This

Posted: 28 Jun 2006
 

In my last post I drew the picture of a marble cake, where role-based entitlements and workflow are the two differently colored doughs that make up the perfect cake when they come together. Read on to get more details and even a piece of the cake to taste ...

Mixing the Doughs

The example I gave in my last post was about handling exceptions in an automated provisioning solution where all resource provisioning activities are implemented through the Role-Based Entitlement (RBE) framework. RBE allows exception management out-of-the-box, through its static include and exclude lists on RBE policies. This way an administrator can do manual exception handling, but what we are really looking for is taking the exception handling from the administrator to the end user.

Here is where the doughs start to merge. We will use workflows to manage the static include and exclude lists and have the person responsible for the resources approve the workflows. This way the user discovers the need for access to a certain system (which he has no access to because it has not been assigned to his role in the enterprise) and requests access through the web interface (user application). Whoever is responsible for approving this rquest approves or denies and the exception is handled securely and policy compliant without administrator or help desk intervention.

Baking the Cake

Now here comes some more detailed baking instructions. Technically, there are two different approaches to make workflow manage the static include/exclude lists. One is creating a custom entitlement with values and the corresponding dirxml script policies to handle the static include/exclude lists, and then have the workflow just grant or revoke this custom entitlement. The other way would be to have the workflow manage the lists directly through an entity activity (instead of an entitlement activity which is the default for Identity Manager 3.0).

The second approach is much more straight forward but requires a little more knowhow about workflow; the first approach leaves the workflow part pretty much at the standard level of an out-of-the-box installation but requires some dirxml-script work. To save anyone who wants to try any of these approaches a headache, I have to mention here that Identity Manager 3 SP1 code is needed to make it all work. SP1 will be out this summer - very soon.

Tasting It

As I mentioned above, you need SP1 code to make the whole scenario work as discussed. since I wanted to give you something now that you can taste, I put together the custom entitlement and driver anyway, and you can use it to manage static include/exclude lists. But you will have to manually re-evaluate membership of all your users to make the RBE service pick up the change, until you run the driver that comes with SP1. An alternative approach, which would work even without SP1, is to set a flag on the user object and include this flag in the dynamic member query. I prefer having the exception handled on the RBE policy rather than on all the user objects.

Download this zip file containing a driver export with custom entitlements and dirxml script policies to manage the static include/exclude lists.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell