浏览代码

Modified to report success for HTTP filter-based authentication, not only container adapters.

Ben Alex 21 年之前
父节点
当前提交
c92798536a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      samples/contacts/war/secure/debug.jsp

+ 1 - 2
samples/contacts/war/secure/debug.jsp

@@ -27,8 +27,7 @@ if (context != null) { %>
 			if (auth instanceof AuthByAdapter) { %>
 			if (auth instanceof AuthByAdapter) { %>
 				<BR><B>SUCCESS! Your container adapter appears to be properly configured!</B><BR><BR>
 				<BR><B>SUCCESS! Your container adapter appears to be properly configured!</B><BR><BR>
 <%			} else { %>
 <%			} else { %>
-				<BR><I>WARNING: Authentication object does not implement AuthByAdapter</I><BR>
-				This may point to an error with your adapter configuration, although can be ignored if intentional.<BR><BR>
+				<BR><B>SUCCESS! Your web filter appears to be properly configured!</B><BR>
 <%			}
 <%			}
 			
 			
 		} else { %>
 		} else { %>