public void login(HttpServletRequest request, HttpServletResponse response) {
try {
slingAuthenticator.login(request, response);
} catch (org.apache.sling.api.auth.NoAuthenticationHandlerException nahe) {
final NoAuthenticationHandlerException wrapped = new NoAuthenticationHandlerException();
wrapped.initCause(nahe);
throw wrapped;
}
}
public void logout(HttpServletRequest request, HttpServletResponse response) {