Hi everybody!
I am having trouble with IdNRuleUtil method
idn.countIdentitiesBySearchableIdentityAttribute(“email”, “equals”, “[email protected]”)
I do not know wich value is expected for operator. I tried “equals” and after Sailpoint deployed to tenant, it throws an exception (no exceptions shown on ccg.log, only see error on UI).
javadoc stays that it IdnRuleUtil class has 2 constants:
public static final java.lang.String EQUALS_FILTER
but when trying to add idn.EQUALS_FILTER or IdnRuleUtil.EQUALS_FILTER to my code, it does not compiles and does not pass validator:
using idn.EQUALS_FILTER:
Line 88 - [LintBSHVariableDeclarator(55)] Variable name equals of type ‘class java.lang.String’ cannot be cast to: class sailpoint.server.IdnRuleUtil
88: String equals = idn .EQUALS_FILTER
using IdnRuleUtil .EQUALS_FILTER, same error:
Line 88 - [LintBSHAmbiguousName(73)] null Exception: Could not find static value ‘EQUALS_FILTER’ from ‘IdnRuleUtil.EQUALS_FILTER’
88: String equals = IdnRuleUtil .EQUALS_FILTER
I uploaded a new version with upper case “EQUALS” string, but I am really making test/error with this. Attribute to be searched is “email”, which is searchable by default.
Any help will be appreciated.