Thanks for responding.
I have the below api that gets me the idStore,
JpsContextFactory ctxf = JpsContextFactory.getContextFactory();
JpsContext ctx = ctxf.getContext();
IdentityStoreService storeService = ctx.getServiceInstance(IdentityStoreService.class);
IdentityStore idStore = storeService.getIdmStore();
idStore.getUserPropertyNames() // this also gives me the default attributes.
can you please let me know how to proceed or the api I need to use .
According to the doco - IdentityStore (Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services) - this is meant to provide all the user properties supported by the repository.
List of user properties. The property name would be a UserProfile property (ex. UserProfile.NAME, UserProfile.USER_NAME etc.) if the corresponding mapping is available in the provider. If no mapping is available then the property name would be same as the native name in the underlying repository.
You may want to check if your identity providers are correctly set up. There are some considerations around the provider flags and how the OPSS API constructs the IdentityStore. See this article for guidance - Oracle Fusion Middleware Security: Couple of things you need to know about the User/Role API