项目中使用了通用权限管理系统,该系统集成了单点登录功能,下面我来介绍下该单点登录实现的一些细节。

首先我们来看看其登录接口,系统本身支持各种登录方式:

1、公司名、用户名、密码

2、唯一账号、密码

3、手机号码、密码

5、Email、密码

接口已实现的部分功能:

C/S客户端登录还可以检测MAC地址,

B/S的可以对IP进行检查;

可在用户登录地址发生变化后进行手机验证后才能继续登录;

每次登陆都会记录登录日志;

。。。

另外,根据需要,可在登录接口扩展其它功能,我在项目中就增加了登录提醒功能,每次登陆都会发送提醒信息到用户的手机、微信或邮箱中。

登录后,会对应该用户生成一个OpenId,该OpenId是一个GUID,看看代码部分截图:

具体生成OPenId的地方,生成OpenID使用了一个线程,这样可加快登录接口的速度。

实现部分的功能代码

         public void UpdateVisitDateTask(object param)
{
var tuple = param as Tuple<BaseUserLogOnEntity, bool, string>;
BaseUserLogOnEntity userLogOnEntity = tuple.Item1;
bool createOpenId = tuple.Item2;
string openId = tuple.Item3; // 2015-01-06 提高效率,写入缓存
if (BaseSystemInfo.UserCenterDbType == CurrentDbType.Oracle)
{
DotNet.Business.Utilities.SetUserOpenId(userLogOnEntity.Id, openId);
} string sqlQuery = string.Empty;
DateTime? openIdTimeout = DateTime.Now.AddHours(); IDbHelper dbHelper = DbHelperFactory.GetHelper(BaseSystemInfo.UserCenterDbType, BaseSystemInfo.UserCenterDbConnection);
// 是否更新访问日期信息
List<IDbDataParameter> dbParameters = new List<IDbDataParameter>(); // 若有一周没登录了,需要重新进行手机验证
bool mobileValiated = false;
if (userLogOnEntity.PreviousVisit.HasValue || userLogOnEntity.FirstVisit.HasValue)
{
TimeSpan ts = new System.TimeSpan();
if (userLogOnEntity.LastVisit.HasValue)
{
ts = DateTime.Now.Subtract((DateTime)userLogOnEntity.LastVisit);
mobileValiated = (ts.TotalDays > );
}
else if (userLogOnEntity.FirstVisit.HasValue)
{
ts = DateTime.Now.Subtract((DateTime)userLogOnEntity.FirstVisit);
mobileValiated = (ts.TotalDays > );
}
if (mobileValiated)
{
sqlQuery = " UPDATE " + BaseUserContactEntity.TableName
+ " SET " + BaseUserContactEntity.FieldMobileValiated + " = 0 "
+ " WHERE " + BaseUserContactEntity.FieldId + " = '" + userLogOnEntity.Id + "' AND " + BaseUserContactEntity.FieldMobileValiated + " = 1 ";
dbHelper.ExecuteNonQuery(sqlQuery);
}
} if (BaseSystemInfo.UpdateVisit)
{
// 第一次登录时间
if (userLogOnEntity.FirstVisit == null)
{
sqlQuery = " UPDATE " + BaseUserLogOnEntity.TableName
+ " SET " + BaseUserLogOnEntity.FieldPasswordErrorCount + " = 0 , "
+ " " + BaseUserLogOnEntity.FieldUserOnLine + " = 1 "
+ ", " + BaseUserLogOnEntity.FieldFirstVisit + " = " + dbHelper.GetDbNow()
+ ", " + BaseUserLogOnEntity.FieldIPAddress + " = '" + userLogOnEntity.IPAddress + "'"
+ ", " + BaseUserLogOnEntity.FieldIPAddressName + " = '" + userLogOnEntity.IPAddressName + "'"
+ ", " + BaseUserLogOnEntity.FieldMACAddress + " = '" + userLogOnEntity.MACAddress + "'"
+ ", " + BaseUserLogOnEntity.FieldSystemCode + " = " + dbHelper.GetParameter(BaseUserLogOnEntity.FieldSystemCode);
dbParameters.Add(dbHelper.MakeParameter(BaseUserLogOnEntity.FieldSystemCode, userLogOnEntity.SystemCode)); if (createOpenId)
{
sqlQuery += " , " + BaseUserLogOnEntity.FieldOpenId + " = '" + openId + "'";
sqlQuery += " , " + BaseUserLogOnEntity.FieldOpenIdTimeout + " = " + dbHelper.GetParameter(BaseUserLogOnEntity.FieldOpenIdTimeout);
dbParameters.Add(dbHelper.MakeParameter(BaseUserLogOnEntity.FieldOpenIdTimeout, openIdTimeout));
} sqlQuery = sqlQuery + " WHERE (" + BaseUserLogOnEntity.FieldId + " = '" + userLogOnEntity.Id + "') AND " + BaseUserLogOnEntity.FieldFirstVisit + " IS NULL";
dbHelper.ExecuteNonQuery(sqlQuery, dbParameters.ToArray());
}
else
{
// 最后一次登录时间
sqlQuery = " UPDATE " + BaseUserLogOnEntity.TableName
+ " SET " + BaseUserLogOnEntity.FieldPasswordErrorCount + " = 0 , "
+ BaseUserLogOnEntity.FieldPreviousVisit + " = " + BaseUserLogOnEntity.FieldLastVisit + " , "
+ BaseUserLogOnEntity.FieldUserOnLine + " = 1 , "
+ BaseUserLogOnEntity.FieldLastVisit + " = " + dbHelper.GetDbNow() + " , "
+ BaseUserLogOnEntity.FieldLogOnCount + " = " + BaseUserLogOnEntity.FieldLogOnCount + " + 1 "
+ ", " + BaseUserLogOnEntity.FieldSystemCode + " = " + dbHelper.GetParameter(BaseUserLogOnEntity.FieldSystemCode)
+ ", " + BaseUserLogOnEntity.FieldIPAddress + " = '" + userLogOnEntity.IPAddress + "'"
+ ", " + BaseUserLogOnEntity.FieldIPAddressName + " = '" + userLogOnEntity.IPAddressName + "'"
+ ", " + BaseUserLogOnEntity.FieldMACAddress + " = '" + userLogOnEntity.MACAddress + "'";
dbParameters.Add(dbHelper.MakeParameter(BaseUserLogOnEntity.FieldSystemCode, userLogOnEntity.SystemCode)); if (createOpenId)
{
sqlQuery += " , " + BaseUserLogOnEntity.FieldOpenId + " = '" + openId + "'";
sqlQuery += " , " + BaseUserLogOnEntity.FieldOpenIdTimeout + " = " + dbHelper.GetParameter(BaseUserLogOnEntity.FieldOpenIdTimeout);
dbParameters.Add(dbHelper.MakeParameter(BaseUserLogOnEntity.FieldOpenIdTimeout, openIdTimeout));
} sqlQuery += " WHERE (" + BaseUserLogOnEntity.FieldId + " = '" + userLogOnEntity.Id + "')";
dbHelper.ExecuteNonQuery(sqlQuery, dbParameters.ToArray());
}
}
else
{
// 实现单点登录功能,每次都更换Guid
if (createOpenId)
{
sqlQuery = " UPDATE " + BaseUserLogOnEntity.TableName
+ " SET " + BaseUserLogOnEntity.FieldPasswordErrorCount + " = 0 "
+ " , " + BaseUserLogOnEntity.FieldSystemCode + " = " + dbHelper.GetParameter(BaseUserLogOnEntity.FieldSystemCode)
+ " , " + BaseUserLogOnEntity.FieldOpenId + " = '" + openId + "'"
+ " , " + BaseUserLogOnEntity.FieldOpenIdTimeout + " = " + dbHelper.GetParameter(BaseUserLogOnEntity.FieldOpenIdTimeout)
+ " WHERE (" + BaseUserLogOnEntity.FieldId + " = " + userLogOnEntity.Id + ")";
// sqlQuery += " AND " + BaseUserEntity.FieldOpenId + " IS NULL ";
dbParameters.Add(dbHelper.MakeParameter(BaseUserLogOnEntity.FieldSystemCode, userLogOnEntity.SystemCode));
dbParameters.Add(dbHelper.MakeParameter(BaseUserLogOnEntity.FieldOpenIdTimeout, openIdTimeout)); dbHelper.ExecuteNonQuery(sqlQuery, dbParameters.ToArray());
}
}
}

以上是登录部分功能的实现,其它系统登录时,根据OpenId进行登录。那么这里的Openid怎么调用呢?

如果是C/s系统,Openid是可以直接获取到的。在访问子系统时带上该OpenId,子系统再通过OpenId登录接口实现登录。

如果是B/S系统,有另外的实现方法,可在系统功能中找到。

下图是其它系通过通过OpenId登录的功能截图

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA2YAAAHACAIAAABGbexzAAAgAElEQVR4nO3d388kx13v8fkHuDu+DRfn0jqgc5Qnu0B+mOwSy7ItG3ziRQuxgxKUtSJ5IzisheRIq0BsIcFjR1w5tuDCJ5AgRbnA8Q1cOFwimxNZkU68JhDxw06wBFk7hoOfmafPxbPbW0/Vt771re6qnu7q90uj1UxNdVV1T8/0Z6ueZ55NBwAAAKg2+x4AAAAA5o7ICAAAgIRbkXEDAACA1UtHRmPM/MpXvhJ76sUXXzQ2Yvf4X3+veJsAAABr9vLfvP7vEiIjAAAAbmgkMr7wwgsvvPDCyf16kfHq1atjCnHi5ODM6hDNcEgDLH38AIA5ayQyuipFxkp5cW2X+cnC2dXTxGeVIU32umyubtyb+Gy4lbhHtYYYt7azFwDWjMhoVSMyrvCKO/F8ntKRHhn1bYsTc2HsqVlNbK/wHAaAdWokMtZemCYvLpQlMg7bvCx7ZJxVXpxD7wCAaTQSGV2LiIzhMmhsFTUs7B+K5e7kmbIyG3YRNpj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3qWMk4AAFBEI5HRtYjIGKsmrlP3+ofuU14d71mv0HvKKxHbFOvb9xQAADSAyJi237wY3lcK3X/1QvG+EgoXPScKAABGaiQyVl2Y3u+qtDHJ2SOj26wxFJIXAQBYuUYio6tsZKyRF8X6+ubK1KB7xxgZkzOOXqE+/QkAAJpHZEyoFxk7c2Lz7tdbmE4OUq8JAABa1UhkrLQwXTUvuhsqcS32qycht7VYobi50lE4NvIiAAAr1EhkdC0rMhbZvJ7ZDgwAAExpVGQEAADAyiUiIwAAACAiMgIAACCByAgAAIAEIiMAAAAS/j8BHHHbJ1JbdQAAAABJRU5ErkJggg==" alt="" />

Utilities.LogOnByOpenId(openId, true)
是通用权限管理系统底层已经实现好的方法,子系统直接调用DLL即可。 以上是通用权限系统实现的单点登录功能介绍,主要是通过OpenId进行的,可根据具体业务场景进行扩展,
对于此种方法实现的单点登录功能,大家有什么建议,欢迎交流。

最简单好用的SSO - 能经得起几万并发用户的SSO 组件使用方法介绍的更多相关文章

  1. 一个简单的适用于Vue的下拉刷新,触底加载组件

    一个简单的适用于Vue的上拉刷新,触底加载组件,没有发布npm需要时直接粘贴定制修改即可 <template> <div class="list-warp-template ...

  2. SSO 基于Cookie+fliter实现单点登录(SSO):工作原理

    SSO的概念: 单点登录SSO(Single Sign-On)是身份管理中的一部分. SSO的一种较为通俗的定义是:SSO是指訪问同一server不同应用中的受保护资源的同一用户,仅仅须要登录一次,即 ...

  3. ASP.net中导出Excel的简单方法介绍

    下面介绍一种ASP.net中导出Excel的简单方法 先上代码:前台代码如下(这是自己项目里面写的一点代码先贴出来吧) <div id="export" runat=&quo ...

  4. 简单制作 OS X Yosemite 10.10 正式版U盘USB启动安装盘方法教程 (全新安装 Mac 系统)

    原文地址: http://www.iplaysoft.com/osx-yosemite.html 简单制作 Mac OS X Yosemite 正式版 USB 启动盘的方法教程: 其实制作 OS X ...

  5. 简单的利用JS来判断页面是在手机端还是在PC端打开的方法

    在移动设备应用越来越广泛的今天,许多网站都开始做移动端的界面展示,两者屏幕尺寸差异很大,所以展示的内容也有所差别.于是就遇到一个问题,如何判断你的页面是在移动端还是在PC端打开的,很简单的问题,那我们 ...

  6. 安卓开发学习笔记(五):史上最简单且华丽地实现Android Stutio当中Webview控件https/http协议的方法

    一.我们先在XML当中自定义一个webview(Second_layout.xml) 代码如下: <?xml version="1.0" encoding="utf ...

  7. (转)《SSO CAS单点系列》之 实现一个SSO认证服务器是这样的!

    上篇我们引入了SSO这个话题<15分钟了解SSO是个什么鬼!>.本篇我们一步步深入分析SSO实现机理,并亲自动手实现一个线上可用的SSO认证服务器!首先,我们来分析下单Web应用系统登录登 ...

  8. Python tkinter 实现简单登陆注册 基于B/S三层体系结构,实现用户身份验证

    Python tkinter 实现简单登陆注册 最终效果 开始界面 ​ 注册 登陆 ​ 源码 login.py # encoding=utf-8 from tkinter import * from ...

  9. iview简单使用+按需加载组件的方法(全局和局部)

    1,简单使用 vue项目中使用iview非常简单: 首先安装依赖: $ npm install iview --save 会安装最新版本的依赖,安装完成后package.json会出现如下图配置 表示 ...

随机推荐

  1. canvas绘制清晰的方法

    很早就开始使用canvas,包括自己绘制各种图形,以及作为画布提供给诸如echarts,当canvas绘制细线条,特别是关于文字绘制会出现很模糊或者锯齿的感觉. <canvas ref=&quo ...

  2. 一些常用的IOS开发网站

    开发教程: 即便过了入门阶段,还是要经常看看一些不错的实例教程.1.http://mobile.tutsplus.com/category/tutorials/iphone/ 比较新的一个网站,以前没 ...

  3. HDU 5778 abs (枚举)

    abs 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5778 Description Given a number x, ask positive ...

  4. HDU 5792 World is Exploding (树状数组)

    World is Exploding 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5792 Description Given a sequence ...

  5. 嵌入式LINUX入门到实践(一)

    MINI2440 IIC协议 IIC协议在工程中应用广泛,在我看来,此协议的优势就在于其硬件及其简单,结构清晰. 首先来解读一下S3C2440A这款芯片的IIC协议. 一.一个协议的解读从如上结构图中 ...

  6. GMT 绘制台站分布图

    set ps=test.psset J=M4i set R=73/135.5/10/54rem gmt gmtset  FONT_ANNOT_PRIMARY 8p FONT_TITLE 8p  gmt ...

  7. 《C语言编写 学生成绩管理系统》

    /* (程序头部凝视開始) * 程序的版权和版本号声明部分 * Copyright (c) 2011, 烟台大学计算机学院学生 * All rights reserved. * 文件名: 学生成绩管理 ...

  8. 终于用scons创建了一个MDK工程

    这几天我在学着怎么使用RT-Thread.起初只想用一下里面的RTGUI,却一直没成功,功力实在不行啊. RT-Thread用了scons来创建工程,似乎还能编译,还有很多可配置项,很是方便.于是我想 ...

  9. 【M3】绝对不要以多态方式处理数组

    1.考虑下面的情况,有个方法,如下: void Print(ostream& s, const Base array[], int size) { for(int i=0; i< siz ...

  10. Windows 7系统安装MySQL5.5.21图解

    Win7系统安装MySQL5.5.21图解 大家都知道MySQL是一款中.小型关系型数据库管理系统,非常具有有用性,对于我们学习非常多技术都有帮助,前几天我分别装了SQL Server 2008和Or ...