@atripathi7 As per error message “java.lang.IllegalStateException: Authentication Failed” is a generic error and may not be directly caused by adding extended12 to the Identity object. If the issue started immediately after modifying the Identity HBM file, You can check the mapping. Make sure extended12 is added correctly in both the Identity object definition and the corresponding HBM mapping.
Could you please share the steps you followed to extend the Identity object? It will help us better understand your implementation and identify what might be causing the issue.
Are you able to login to IIQ Console? This issue arises if the hbm file entries are not made properly, recheck the hbm file to ensure the added entry is as per format.
IdentityIQ already provides 20 extended attributes (extended1–extended20) out‑of‑the‑box.
You do not need to modify the HBM file to use extended12.
When you edit the HBM file, you break the Hibernate mapping for the Identity object.
During login, IIQ cannot load the Identity record, so authentication fails with java.lang.IllegalStateException: Authentication Failed.
First remove the entry from HBM file
Restart the server and try to login to verify that you can able to login.
The correct approach is to use these extended attributes by adding a additional mapping through Identity Mapping in the UI.
This automatically updates the Identity mapping internally and avoids any HBM changes. After this change , there is an entry added to the ObjectDefinition:Identity object.
I was able to fix this, the issue was that HBM file had the new attribute added but the entry was yet to be made in the database for the new extended attribute that we enabled from the HBM file.
I ran the following command to generate the database schema:
iiq extendedSchema
Once the database script generated I ran the query to update the database schema for identity attribute, and then tried login to iiq console again and it worked.
I was doing it wrong as I was thinking I need to login to the console first to launch the above command.
Thanks to everyone for their time and efforts in helping resolving this.
@MadduriAnil I guess You are wrong here as I can see in the attached link that by default SailPoint gives 10 extended attributes for identity and you can use more by uncommenting them from HBM file and making an entry in Sailpoint database but the maximum allowed is 20 extended attribute you can’t have 21 extended attributes.
If you want more attributes then you need to create named attributes. I am also sharing a community answer for your reference for the same topic. Also sharing a post for different types of attributes for the objects and their usage.