After upgrading from CA Identity Manager 12.5.x to 12.6 SP8 boolean TEWS calls no longer accept true/false as valid values
search cancel

After upgrading from CA Identity Manager 12.5.x to 12.6 SP8 boolean TEWS calls no longer accept true/false as valid values

book

Article ID: 8414

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

After upgrading from CA Identity Manager 12.5.x to 12.6 SP8 boolean TEWS calls no longer accept true/false as valid values. 

 

Example of formerly valid TEWS call that fails in CP7: 

<test:IS_ENABLED>false</test:IS_ENABLED> 

 

Resulting error message: 

physicalAttr {EnabledStateAttributeName=%ENABLED_STATE%} 

DEBUG [ims.tasktrack.custom] (default task) multiValuedTable {|enable|=false} 

DEBUG [ims.tasktrack.custom] (default task) Service com.netegrity.ims.adapters.EnableUserHandler : EnableUserHandler toPhysical 

DEBUG [ims.default] (default task) Looking for value of attribute name:|enable| 

DEBUG [ims.default] (default task) Looking for value of attribute name:%ENABLED_STATE% 

DEBUG [ims.default] (default task) java.lang.NumberFormatException: java.lang.NumberFormatException: For input string: "false" 

at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [YOUR JAVA VERSION] 

at java.lang.Integer.parseInt(Integer.java:580) [YOUR JAVA VERSION]

at java.lang.Integer.parseInt(Integer.java:615) [YOUR JAVA VERSION]

at com.netegrity.ims.adapters.EnableUserHandler.toPhysical(EnableUserHandler.java:119) [ims.jar:] 

at com.netegrity.ims.businessprocess.LogicalAttributeServiceImpl.convertLogicalToPhysical(LogicalAttributeServiceImpl.java:354) [ims.jar:] 

Environment

Release: CAIDMB99000-12.6.8-Identity Manager-B to B
Component:

Resolution

TEWS can no longer accept string values of true and false in boolean fields. The correct format for the above TEWS call in 12.6.8 would be as follows: 

<test:IS_ENABLED>0</test:IS_ENABLED>