X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Fauth%2FHttpSessionLoginModule.java;h=91a01574e18f499b6da627619576f88bf3a1d0ea;hb=8adb5a5d78531081ae721008b673ad61d93ac913;hp=f42e79c98980d185e469329aedc8810b6775aa3d;hpb=1d8a16106116f22b91ecfe71fb05b45d050834b9;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 f42e79c98..91a01574e 100644 --- a/org.argeo.cms/src/org/argeo/cms/auth/HttpSessionLoginModule.java +++ b/org.argeo.cms/src/org/argeo/cms/auth/HttpSessionLoginModule.java @@ -83,6 +83,11 @@ public class HttpSessionLoginModule implements LoginModule { } else { authorization = (Authorization) request.getAttribute(HttpContext.AUTHORIZATION); if (authorization == null) {// search by session ID + // TODO implement ident +// IdentClient identClient = new IdentClient(request.getRemoteAddr(), "changeit"); +// String identUsername = identClient.getUsername(request.getLocalPort(), request.getRemotePort()); +// log.debug("Ident username: " + identUsername); + HttpSession httpSession = request.getSession(false); if (httpSession == null) { // TODO make sure this is always safe