Hi,

We are trying to assign the role to user in Input transform policy using
add-role action and getting below error. Can some please help.

Action:
do-add-role(id="CN=uaadmin,OU=sa,O=abc",role-id="$lv_roledn$",time-out="0",url="https://idm-test.abc:8443/IDMProv",arg-password("ua3Dwuhn"),arg-association(token-local-variable("lvuserassociaion"))).
[11/04/15 13:34:26.474]:abc-RACF ST: Expanded variable
reference '$lv_roledn$' to
'CN=Z55256,cn=RACF,cn=Level10,cn=RoleDefs,cn=RoleC onfig,cn=AppConfig,cn=UserApplication,cn=driverset 1,o=system'.
[11/04/15 13:34:26.474]:abc-RACF ST: arg-password("abc")
[11/04/15 13:34:26.474]:abc-RACF ST: token-text("abc")
[11/04/15 13:34:26.474]:abc-RACF ST: Arg Value: "--
suppressed --".
[11/04/15 13:34:26.474]:abc-RACF ST:
arg-association(token-local-variable("lvuserassociaion"))
[11/04/15 13:34:26.474]:abc-RACF ST:
token-local-variable("lvuserassociaion")
[11/04/15 13:34:26.474]:abc-RACF ST: Token Value:
"USER\Z8BCM".
[11/04/15 13:34:26.474]:abc-RACF ST: Arg Value:
"USER\Z8BCM".
[11/04/15 13:34:26.505]:abc-RACF ST:Processing returned document.
[11/04/15 13:34:26.505]:abc-RACF ST:Processing operation <status> for .
[11/04/15 13:34:26.505]:abc-RACF ST:
DirXML Log Event -------------------
Driver: \abcIDV\system\driverset1\abc-RACF
Channel: Subscriber
Object: \abcIDV\abc\users\contractors\Z8BCM
Status: Error

Message: Code(-9010) An exception occurred:
java.lang.ArrayIndexOutOfBoundsException: 2
at
com.novell.nds.dirxml.engine.rules.DoAddRole.apply (DoAddRole.java:179)
at
com.novell.nds.dirxml.engine.rules.ActionSet.apply (ActionSet.java:180)
at
com.novell.nds.dirxml.engine.rules.DoForEach.apply (DoForEach.java:137)
at
com.novell.nds.dirxml.engine.rules.ActionSet.apply (ActionSet.java:180)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:307)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:429)
at
com.novell.nds.dirxml.engine.rules.XSLTRuleProcess or.applyRules(XSLTRuleProcessor.java:225)
at
com.novell.nds.dirxml.engine.rules.XSLTRuleProcess or.applyRules(XSLTRuleProcessor.java:225)
at
com.novell.nds.dirxml.engine.rules.XSLTRuleProcess or.applyRules(XSLTRuleProcessor.java:225)
at
com.novell.nds.dirxml.engine.rules.XSLTRuleProcess or.applyRules(XSLTRuleProcessor.java:225)
at
com.novell.nds.dirxml.engine.Transformer.applyInpu tTransformation(Transformer.java:325)
at
com.novell.nds.dirxml.engine.Subscriber.execute(Su bscriber.java:480)
at
com.novell.nds.dirxml.engine.Subscriber.execute(Su bscriber.java:285)
at
com.novell.nds.dirxml.engine.Subscriber$AddProcess or.process(Subscriber.java:1507)
at
com.novell.nds.dirxml.engine.Subscriber$ModifyProc essor.process(Subscriber.java:1558)
at
com.novell.nds.dirxml.engine.Subscriber.processEve nt(Subscriber.java:1132)
at
com.novell.nds.dirxml.engine.Subscriber.processEve nts(Subscriber.java:949)
at
com.novell.nds.dirxml.engine.Driver.submitTransact ion(Driver.java:764)
at
com.novell.nds.dirxml.engine.DriverEntry.submitTra nsaction(DriverEntry.java:1128)
at
com.novell.nds.dirxml.engine.DriverEntry.processCa chedTransaction(DriverEntry.java:1012)
at
com.novell.nds.dirxml.engine.DriverEntry.eventLoop (DriverEntry.java:820)
at com.novell.nds.dirxml.engine.DriverEntry.run(Drive rEntry.java:597)
at java.lang.Thread.run(Thread.java:745)

Thanks
Siva ram T


--
sivaramtw
------------------------------------------------------------------------
sivaramtw's Profile: https://forums.netiq.com/member.php?userid=9612
View this thread: https://forums.netiq.com/showthread.php?t=54591