Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
轻量级单点登录系统最佳实践
neoit
follow
0
5-6-2009 1:20 PM
151 views
tags:
.net
,
sso
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
In 1909 NONE of these things had been invented
Heterochromia in Animals
12 Coolest Nutcrackers
How can a country be this beautiful???
Elfs
What's Wrong With This Snowflake?
Traveling by Reindeer
Christmas Morning 1864
New map of gravity variations across the Earth.
Merry Christmas
visit the
Top Clips page
View the Top Clips from
May 6, 2009
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/f09f86d0-e0df-462d-9232-b0c021e05ec5/C0BD7379-4054-46E5-B2E4-73E39335F6EA/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449074.html" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449074.html" style="font-size: 11px;">www.cnblogs.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449074.html"><H2> <A href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449074.html" id="AjaxHolder_ctl01_TitleUrl">轻量级单点登录系统最佳实践</A> </H2></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449074.html"><P><SPAN>要实现企业应用集成,就不能不解决单点登录问题。单点登录(</SPAN>SSO<SPAN>,</SPAN>Single Sign On<SPAN>)</SPAN> <SPAN>也可称统一认证服务,就是用户只登录一次就可以访问多个应用系统而不需要重新登录。怎么解决单点登录问题,用任何一个搜索引擎,都可以找到各种解决方法,可谓是八仙过海、各显神通。本文的目的不是提供一个功能齐全、安全可靠的解决方法,而是提供一个只使用原始</SPAN>Web<SPAN>技术、与软件平台无关、与用户验证形式无关、只有用户验证功能、可以在安全性不过强求的情况下使用的方法——轻量级单点登录系统。虽然本文是使用</SPAN>.NET<SPAN>框架、</SPAN>C#<SPAN>实现的,但完全可以按照同样方法使用其它平台、其它语言来实现;虽然本文是使用用户名和密码写在代码中这种最烂的用户验证形式,但完全可以使用数据库、</SPAN>Active Directory<SPAN>等形式来验证用户。</SPAN> </p> <P><SPAN>很多单点登录解决方法,不论是技术、还是思想,都非常复杂,不管是商业的、有代码的,方方面面都考虑到了。想必很多程序员和我一样,学习</SPAN>Web<SPAN>程序开发的第一步,就是解决用户登录问题,在互联网不发达的情况下,都颇费周折,实现单点登录也和这差不多,不过绕了个圈子罢了。复杂的单点登录方法,往往都附加了很多与单点登录无关的职责,刨去这些无关的职责,就只是在一个地方进行用户登录的很小的应用系统。</SPAN> </p> <P><SPAN>轻量级单点登录系统的特性:</SPAN></p> <P><SPAN>l </SPAN><SPAN>轻量级;</SPAN></p> <P><SPAN>l </SPAN><SPAN>基于</SPAN>Web-SSO<SPAN>方案;</SPAN></p> <P><SPAN>l </SPAN><SPAN>只是通过代码来说明方法,与开发平台、语言无关,与用户验证形式无关;</SPAN></p> <P><SPAN>l </SPAN><SPAN>不使用客户端</SPAN>Cookies<SPAN>,支持跨域认证;</SPAN></p> <P><SPAN>l </SPAN><SPAN>有基本的安全性;</SPAN></p> <P> </p> <P><SPAN>文章目录</SPAN></p> <P><SPAN>第1章 <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/03/1448339.html">前言</A></SPAN></p> <P><SPAN>第2章 <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449011.html">单点登录简介</A></SPAN></p> <P><SPAN>第3章 <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449012.html">WEB-SSO通常实现方式</A></SPAN></p> <P><SPAN>第4章 <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449013.html">轻量级单点登陆系统简介</A></SPAN></p> <P><SPAN>第5章 轻量级单点登陆系统实现</SPAN></p> <P><SPAN> 5.1. <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449022.html">公共组件SSOLAB.SSOSERVER.COMPONENTS</A></SPAN></p> <P><SPAN> 5.2. <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449027.html">单点登录系统SSOLAB.SSOSERVER.WEBAPP</A></SPAN></p> <P><SPAN> 5.3. <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449031.html">企业门户系统系统演示SSOLAB.PORTAL.WEBAPP</A></SPAN></p> <P><SPAN> 5.4. <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449032.html">人力资源管理系统演示SSOLAB. APP1. WEBAPP</A></SPAN></p> <P><SPAN> 5.5.<A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449060.html">财务管理系统演示SSOLAB. APP2. WEBAPP</A></SPAN></p> <P><SPAN> 5.6. <A target="_blank" href="http://www.cnblogs.com/guushuuse/archive/2009/05/04/1449063.html">网上办公系统演示APP3 (JAVA)</A></SPAN></p> <P><SPAN>第6章 后记 </SPAN></p> <P><SPAN><A target="_blank" href="http://files.cnblogs.com/guushuuse/AB_SSOLab_1.zip"><SPAN>代码下载</SPAN></A></SPAN></P></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/C0BD7379-4054-46E5-B2E4-73E39335F6EA/blog/" title="blog or email this clip"><img src="http://content7.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK