[Yanel-commits] rev 30823 -
public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet
michi at wyona.com
michi at wyona.com
Sun Jan 27 15:31:47 CET 2008
Author: michi
Date: 2008-01-27 15:31:46 +0100 (Sun, 27 Jan 2008)
New Revision: 30823
Modified:
public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java
Log:
misleading log statement fixed and comment added
Modified: public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java
===================================================================
--- public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java 2008-01-27 12:19:11 UTC (rev 30822)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java 2008-01-27 14:31:46 UTC (rev 30823)
@@ -179,8 +179,9 @@
if(doLogout(request, response) != null) return;
}
+ // Check authorization and if authorization failed, then try to authenticate
if(doAccessControl(request, response) != null) {
- log.warn("Access denied: " + request.getServletPath());
+ // Either redirect (after successful authentication) or access denied (and response will send the login screen)
return;
} else {
if (log.isDebugEnabled()) log.debug("Access granted: " + request.getServletPath());
More information about the Yanel-commits
mailing list