单点登录saml

上传者: weiyx_xin | 上传时间: 2022-07-24 23:58:21 | 文件大小: 230KB | 文件类型: ZIP
aml是一种xml格式的语言。 翻译过来大概叫 安全断言(标记)语言。 这里有两个点: 第一是“安全”, 第二是“断言(assertion)”。 用人话翻译saml就是 用安全的方式表达断言一种语言。 先看它的核心概念“断言”。 断言是什么? 就是做出判断的语言。比如一句话: 小明是超级管理员。 这就是一个断言。再来一个例子:小红没有权限读取根目录。这也是一个断言。 这种“做出判断的语句”我们在很多场合都需要用到。 比如你在网上尝试登陆一个服务的时候, 这个服务需要知道你是不是合法的用户。 这个时候如果你能提供一个“安全,可靠,可信任”的断言:“小明有权登陆XX服务”, 那么这个服务就知道你合法了, 于是就能为你提供服务了。 这个例子比较抽象,但基本上能表达断言在实际用例中的作用了。 实际上saml的大部分用例就在于证明你是谁,你拥有什么权限等等了。 saml中大部分主要内容也都是类似于:你是谁, 你有什么。。等等这些简单的语句。 详细内容后面会介绍。 接下来第二个概念就是“安全”了。 你能提供一个断言, 别人能不能假冒你提供一个断言从而骗取服务端的信任呢? 另外服务端为什么会信任你给的断言呢? 这就涉及到安全的问题了。为了防止断言被假冒,篡改。saml中加入了安全措施。 当然现今能抵御假冒,篡改,重放攻击的利器就是公钥-私钥系统了。 通过给断言加上签名和加密,再结合数字证书系统就确保了saml不受攻击。

文件下载

资源详情

[{"title":"( 68 个子文件 230KB ) 单点登录saml","children":[{"title":"OpenSAML-ref-project-demo-v3-master","children":[{"title":".project <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"certificates","children":[{"title":"idpssl.jks <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"idpssl.key <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"idpssl.pfx <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"idpssl.crt <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"shortcut","children":[{"title":"1499671904812.png <span style='color:#111;'> 65.95KB </span>","children":null,"spread":false},{"title":"1499672009116.png <span style='color:#111;'> 52.51KB </span>","children":null,"spread":false},{"title":"1499673088989.png <span style='color:#111;'> 27.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"main","children":[{"title":"webapp","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"register.jsp <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"login.jsp <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"SPKeystore.jks <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"logback.xml <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"no","children":[{"title":"steras","children":[{"title":"opensamlbook","children":[{"title":"idp","children":[{"title":"service","children":[{"title":"RegisterService.java <span style='color:#111;'> 89B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"RegisterServlet.java <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"LoginServlet.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"SingleSignOnServlet.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"dao","children":[{"title":"UserMapper.java <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"JdbcUtils.java <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"IDPCredentials.java <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"IDPConstants.java <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"ArtifactResolutionServlet.java <span style='color:#111;'> 11.36KB </span>","children":null,"spread":false},{"title":"entry","children":[{"title":"User.java <span style='color:#111;'> 610B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"OpenSAMLUtils.java <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"sp","children":[{"title":"SPCredentials.java <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"ConsumerServlet.java <span style='color:#111;'> 14.83KB </span>","children":null,"spread":false},{"title":"SPConstants.java <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"AccessFilter.java <span style='color:#111;'> 10.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"app","children":[{"title":"ApplicationServlet.java <span style='color:#111;'> 796B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"m2e-wtp","children":[{"title":"web-resources","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"no.steras.opensamlbook","children":[{"title":"webprofile-ref-project","children":[{"title":"pom.properties <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"no","children":[{"title":"steras","children":[{"title":"opensamlbook","children":[{"title":"idp","children":[{"title":"SingleSignOnServlet.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"service","children":[{"title":"RegisterService.class <span style='color:#111;'> 340B </span>","children":null,"spread":false}],"spread":false},{"title":"IDPCredentials.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"LoginServlet.class <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"RegisterServlet.class <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false}],"spread":false},{"title":"IDPConstants.class <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"dao","children":[{"title":"UserMapper.class <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"ArtifactResolutionServlet.class <span style='color:#111;'> 13.73KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"JdbcUtils.class <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"entry","children":[{"title":"User.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"OpenSAMLUtils.class <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false},{"title":"sp","children":[{"title":"ConsumerServlet.class <span style='color:#111;'> 14.24KB </span>","children":null,"spread":false},{"title":"ConsumerServlet$1.class <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"SPConstants.class <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"AccessFilter.class <span style='color:#111;'> 9.26KB </span>","children":null,"spread":false},{"title":"SPCredentials.class <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false}],"spread":false},{"title":"app","children":[{"title":"ApplicationServlet.class <span style='color:#111;'> 994B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"SPKeystore.jks <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"logback.xml <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.validation.prefs <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 707B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 572B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.06KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明