DS-1191 provide a warning in the logs if resumeLogin fails because of ip mismatch

This commit is contained in:
Sam Ottenhoff
2012-06-08 15:53:10 -04:00
parent a9f3f7384a
commit 79a3499913

View File

@@ -279,7 +279,9 @@ public class AuthenticationUtil
}
else
{
// Possible hack attempt.
// Possible hack attempt or maybe your setup is not providing a consistent end-user IP address.
log.info(LogManager.getHeader(context, "ip_mismatch", "id=" + id + ", request ip=" +
request.getRemoteAddr() + ", session ip=" + address));
}
} // if id
} // if session