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