JackrabbitSession session = (JackrabbitSession) repository.loginAdministrative(null);
I am using this method in my bundle and it works.
Why it is working if it is depcreated?
Any issue in using it ?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
No issue other than a future version may drop it, However for now - it works.
Views
Replies
Total Likes
No issue other than a future version may drop it, However for now - it works.
Views
Replies
Total Likes
Two things here:
1. Try to avoid admin sessions if you can
2. Since 6.0 there is a preferred way to get this, see this article for more details:
Views
Replies
Total Likes
To learn how to use a system user and sling mapping, see http://scottsdigitalcommunity.blogspot.ca/2014/12/querying-adobe-experience-manager-6.html?m=0. This links to article and video. In AEM 6.x, this is best practice: http://scottsdigitalcommunity.blogspot.ca/2014/12/querying-adobe-experience-manager-6.html?m=0
Views
Replies
Total Likes
Views
Like
Replies