Hi,
I've requirement where I need to log-out user from jsp at certain condition. I tried this:
javax.jcr.Session userSession = resourceResolver.adaptTo(javax.jcr.Session.class);
System.out.println("User Id:"+userSession.getUserID());
userSession.logout();
I got the logged in user session, but logout() method didn't work for me. Please suggest me, Quick response would be appreciated..
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
system/sling/logout.html should solve your problem
Views
Replies
Total Likes
system/sling/logout.html should solve your problem
Views
Replies
Total Likes
Yes, Thanks Sam ..
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies