Identity Management? I'll Get My Coat...
Integrating Sun Role Manager v5 with Oracle Identity Manager
Sun Role Manager (SRM) can work in an offline or online mode with a Provisioning Server such as Sun's Identity Manager, other provisioning engines can be used such as CA, IBM and Oracle. In this blog posting we'll go through the steps required to integrate SRM 5 with Oracle's Identity Manager v9.1.0.
For this exercise I used a Windows XP image, purely to keep things simple as they can be.
Integration Steps:
<bean class="com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl" parent="baseServiceSupport" >
<property=name="iamSolutions">
<entry key="oracle">
<ref local="oim"/>
</entry>
</property>
<bean id="oim" class="com.vaau.rbacx.iam.oracle.OIMIAMSolution" parent="abstractIAMSolution">
Failure to do this edit will result in errors when the SRM starts.
We're not quite done yet with this file, next we must configure the OIM connection information:
<property name="loginConfig">
<value>C:/oracle/customClient/config/auth.conf</value>
</property>
<property name="maxStaleDays">
<value>1</value>
</property>
<property name = "excludeFlag">
<value>1</value>
</property>
<property name="oimHome">
<value>C:/oracle/customClient </property>
10:05:55,238 ERROR [JBOSSLOGINHANDLER] Error in creating login context
javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.ClientLoginModule
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source)
at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
at Thor.API.tcUtilityFactory.
Then 11:44:41,261 ERROR [JBOSSLOGINHANDLER] Error in creating login context javax.security.auth.login.LoginException: java.lang.NoSuchFieldError: TRACE at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122) at org.jboss.security.ClientLoginModule.initialize(ClientLoginModule.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
#Oracle Identity Manager Settings
com.vaau.rbacx.iam.oracle=DEBUG
It's always a good idea when testing integration with a provisioning server to set the OOTB IAM log4j to debug until things have settled down a bit
#RBACx IAM logging
log4j.logger.com.vaau.rbacx.iam=DEBUG

There you go, good luck, it took me some time to figure out all the pieces. More importantly what is colleague John Walsh "The Sultan" typing ?!
Today's Page Hits: 33
www.flickr.com
|
| « November 2009 | ||||||
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 7 | 8 | |
11 | 12 | 13 | 14 | 15 | ||
17 | 18 | 19 | 20 | 22 | ||
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | ||||||
| Today | ||||||
Good work!
A note: works also with SRM5 and OIM deployed on WebLogic 10.3.0 on Windows.
The differences with the JBoss config are:
. use authwl.conf (rather than auth.conf)
. in xlConfig.xml do the set up for WebLogic (it's all explained in the comments in the file--t3://127.0.0.1:7001 rather than jnp://, weblogic.jndi.WLInitialContextFactory for the naming factory and so on)
. no need to copy in a special log4j
. no need to copy any special WebLogic jars to the rbacx webapp (presumably because they are already available via the WebLogic server itself). Of course you do still need to copy customClient\lib files in.
Posted by Rob on October 28, 2009 at 05:13 PM CET #