I am using AccountManager API to create users. It works just fine when I dont use profile image in registration form and user gets registered but when I use profile image, I get following error:
Solved! Go to Solution.
Views
Replies
Total Likes
The best practice to working with users in AEM is to use APIs located in the
org.apache.jackrabbit.api.security.user Java package. For example - to create a user use UserManager.
Views
Replies
Total Likes
The best practice to working with users in AEM is to use APIs located in the
org.apache.jackrabbit.api.security.user Java package. For example - to create a user use UserManager.
Views
Replies
Total Likes
But AccountManager has utilities to manage everything automatically. By simply passing a map, it creates user with profile properties. In UserManager it just creates a user but account information still needs to be persisted manually.
https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/security/AccountManager.html
It seems to be better than UserManger when it comes to persisting profile info along with registration.
Views
Replies
Total Likes