我创建Java EE应用程序使用此教程:http://prideafrica.blogspot.com/2007/04/simple-authentication-servlet-filter.html认证Servlet过滤器
,但我不知道需要什么样的库。这些行给我的“找不到符号”的错误:
User user = UserFacade.findByUsername(username);
UserToken tok = Authentication.authenticateUser(user, username, password);
ServletContext context = filterConfig.getServletContext();
和另一个问题。我需要添加到本教程中的这些文件中?
谢谢。对不起英语不好。
如果教程不好,建议请其他教程。 – tbsasa 2011-02-10 03:48:47