Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hi,
As .loginAdministrative(null) is deprecated in CQ 5.5 and in AEM 6.2 loginService(String,String) method is used.
As in 5.5 there is no need to create service user and .loginAdministrative(null) was used,
And in AEM 6.2 ,
For creating group and users , it is necessary that only service user can do following operation i.e creating group and users in crx repository?
Thanks
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hi,
Yes you can create users and groups pragramatically but you cannot create system user pragramatically.
See this thread: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage... - Create system user via AEM GUI - http://www.aemcq5tutorials.com/tutorials/create-system-user-in-aem/
And yes you are right, for creating users and groups, service user is required since, loginAdministrative(null) is deprecated.
See this below thread for how to create users and groups programitically using service user::
Hope this helps!!
~ Ratna.
Zugriffe
Antworten
Likes gesamt
Hi Umesh,
You can create groups and users using useradmin console. System user not at all required to create groups and users in repository.
//Why system user was introduced in AEM 6.x versions:
Use of admin session and admin resource resolver through ResourceresolverFactory is now deprecated, that’s why from AEM 6.1 Adobe forces developers to create system users and map them to Service User Mapper in Felix Console.
For more information on this system user topic see the below link:
//http://www.aemcq5tutorials.com/tutorials/create-system-user-in-aem/
Hope this helps!!
~Ratna.
Zugriffe
Antworten
Likes gesamt
Thanks , I agree with your point.
But,
I have to create a users and groups programatically that is in osgi-bundle , I think for it service user are required, doesn't it?
Also, Can i create system user programatically?
Thanks
Zugriffe
Antworten
Likes gesamt
Hi,
Yes you can create users and groups pragramatically but you cannot create system user pragramatically.
See this thread: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage... - Create system user via AEM GUI - http://www.aemcq5tutorials.com/tutorials/create-system-user-in-aem/
And yes you are right, for creating users and groups, service user is required since, loginAdministrative(null) is deprecated.
See this below thread for how to create users and groups programitically using service user::
Hope this helps!!
~ Ratna.
Zugriffe
Antworten
Likes gesamt
Thanks..
In AEM 6.2, I am able to use loginAdministrative(null) method but not in AEM 6.3.
we can still use this method in 6.2 but not in 6.3? is this correct?
Zugriffe
Antworten
Likes gesamt
Hi,
Yes, you can still use loginAdministrative(null) method in AEM 6.2 even it is deprecated.
I am not sure about AEM6.3 because, it is yet to release in April, 2017.
~ Ratna.
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten