How can I get the current Sessions of JSF, Spring, Alfresco and JCR sessions.
I am working with JCR and Foundation API .. you can login with new credentails all the time but how can you get the current session.
This is how we can get session with new credentials
Session session = getJCRRepository().login(new SimpleCredentials(LOGIN, PASSWORD.toCharArray()));
but I want something like this
Session session = getCurrentSession (….)
I hope the question is clear