浏览代码

Update to refer to new static location of ACEGI_SECURITY_LAST_EXCEPTION_KEY.

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

+ 2 - 2
samples/contacts/etc/filter/acegilogin.jsp

@@ -1,5 +1,5 @@
 <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %>
-<%@ page import="net.sf.acegisecurity.ui.webapp.AuthenticationProcessingFilter" %>
+<%@ page import="net.sf.acegisecurity.ui.AbstractProcessingFilter" %>
 <%@ page import="net.sf.acegisecurity.AuthenticationException" %>
 <%-- This page will be copied into WAR's root directory if NOT using container adapter --%>
 
@@ -24,7 +24,7 @@
     <c:if test="${not empty param.login_error}">
       <font color="red">
         Your login attempt was not successful, try again.<BR><BR>
-        Reason: <%= ((AuthenticationException) session.getAttribute(AuthenticationProcessingFilter.ACEGI_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>
+        Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.ACEGI_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>
       </font>
     </c:if>