X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Fauth%2FHttpSessionLoginModule.java;h=1bbe359b9f8b478a6d986e75f32d47717e42873b;hb=6f20d8f8fb510fd7fbecfafd0254126624a5e9e1;hp=cbd54063cbda19c4496a4930566000f3a735ef36;hpb=d3860c7d434bdb4091578d98bf917bc18d487e30;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms/src/org/argeo/cms/auth/HttpSessionLoginModule.java b/org.argeo.cms/src/org/argeo/cms/auth/HttpSessionLoginModule.java index cbd54063c..1bbe359b9 100644 --- a/org.argeo.cms/src/org/argeo/cms/auth/HttpSessionLoginModule.java +++ b/org.argeo.cms/src/org/argeo/cms/auth/HttpSessionLoginModule.java @@ -80,9 +80,8 @@ public class HttpSessionLoginModule implements LoginModule { httpSession = request.getSession(true); } String httpSessionId = httpSession.getId(); - // authorization = (Authorization) - // request.getSession().getAttribute(HttpContext.AUTHORIZATION); - // if (authorization == null) { + if (log.isTraceEnabled()) + log.trace("HTTP login: " + request.getPathInfo() + " #" + httpSessionId); Collection> sr; try { sr = bc.getServiceReferences(CmsSession.class, @@ -108,8 +107,12 @@ public class HttpSessionLoginModule implements LoginModule { extractHttpAuth(request); extractClientCertificate(request); if (authorization == null) { + if (log.isTraceEnabled()) + log.trace("HTTP login: " + false); return false; } else { + if (log.isTraceEnabled()) + log.trace("HTTP login: " + true); return true; } }