摘要: 提出了利用Struts构架,设计和实现可重用的Web服务器认证算法,指出了纯Cookies认证算法的不足,论述了SSL安全协议和其在Web上的应用。利用J2EE的servlet重定向机制,实现HTTP和HTTPS无缝的混合使用。使用JSP的用户定制标签和servlet功能,设计了安全、可重用、易扩展的算法。并在Struts和Tomcat Web服务器环境下实现了算法。
关键词:
Web认证,
Struts,
Cookies,
JSP定制标签
Abstract: This paper designs and implements a reusable algorithm of Web certification based on Struts structure,points out the disadvantage of simple algorithm that is implemented only through cookies,introduces secure sockets layer(SSL) protocol and its application in the field of Web.It combines HTTP with HTTPS(HTTP over SSL) in a safe,flexible,and easily maintainable manner,using the J2EE(Java 2 Platform,Enterprise Edition) servlet redirect mechanism.It designs a reusable and flexible algorithm using JavaServer Pages(JSP) tag extensions and J2EE servlet.Finally it implements the algorithm using Struts under the environment of tomcat Web server.
中图分类号:
范爱平,金连甫. 基于Struts构架的Web认证[J]. , 2005, 31(19): 156-.
FAN Aiping,JIN Lianfu. Web Certification Based on Struts Structure[J]. , 2005, 31(19): 156-.