Solved
session logout
Hi,
There are two methods to get the session:
session= this.repository.loginAdministrative(null); session = resourceResolver.adaptTo(Session.class);
With the first approach i need an explicit session.logout() and with the second the logout is managed automatically by sling, right?
Thanks