在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jeexjj_sso开源软件地址:https://gitee.com/zhanghejie/jeexjj_sso开源软件介绍:JEEXJJ_SSO单点登陆系统简介
技术栈
实现原理1.名词解释
运行步骤
服务端配置介绍(jeexjj_sso_server.properties)sso.path.authentication=/sso/authentication #单点登陆验证url,一般默认就行sso.path.signin=/sso/signin #单点登陆url,一般默认就行sso.path.signout=/sso/signout #单点退出url,一般默认sso.path.validateTicket=/sso/validateTicket #ticket验证url,一般默认sso.url.index=/sso/index.jsp #sso.url.login=http://localhost:8884/sso_server #服务端访问url,根据情况修改sso.cookie.maxage=-1 #cookie相关,一般默认sso.cookie.name=XJJTCsso.cookie.path=/sso.server.error=ssoerror #登陆失败返回参数#unit minutesso.grantingticket.invalidate=300 #GT缓存时间(分钟)#sso project appsso.login.type=project #登陆方式#mcmcache config memcache.is.use=false #是否使用memcache做为缓存memcache.servers=192.168.54.223\:11211memcache.ticket.expiry=24memcache.user.expiry=120#sso notification type http|rabbitmq #通知方式(http或rabbitmq)sso.notification.type=http#rabbitmq config test #rabbit服务相关rabbitmq.server=192.168.54.204rabbitmq.port=5672rabbitmq.username=adminrabbitmq.password=adminrabbitmq.exchange=sso_topic#### 客户端配置介绍(jeexjj_sso_client.properties)sso.client.sessionHandle=com.xjj.sso.client.session.SessionHandleImpl #接口实现,客户端实现,sso.client.projectCode=zhj #项目编码,登陆服务端后台添加sso.server.url=http://localhost:8884/jeexjj_sso #单点登陆服务地址#sso clientsso.client.receipt=sso.client.receiptsso.client.ssoLogonUrl=/jsp/ssoLogon #单点登陆验证地址,可以修改,对应登陆页面的提交地址。sso.client.loginUrl=/sso/login.jsp #该系统的登陆地址sso.client.login.isredirect=true sso.client.nofilter=/*/bb/*,/*login* #sso排除拦截地址列表,用逗号隔开。#sso server url configsso.server.authentication=/sso/authenticationsso.server.validateTicket=/sso/validateTicketsso.server.ssoLogoutUrl=/sso/signoutsso.server.signin=/sso/signinsso.server.error=ssoerror#sso notification type http|rabbitmqsso.notification.type=http#rabbitmq configrabbitmq.server=192.168.54.204rabbitmq.port=5672rabbitmq.username=adminrabbitmq.password=adminrabbitmq.exchange=sso_topic 运行效果截图JEEXJJ开源项目
|
请发表评论