A Code Example For SAML

原创 2004年07月28日 16:35:00

A Code Example

Because the SAML standard is designed only for the exchange of secure sign-on information between a user, or "relying party," and multiple issuing parties, it allows issuing parties to use their own chosen methods of authentication for example, PKI, hash, or password.

Here, a sample SAML-compliant request is sent from a relying party requesting password authentication by the issuing party.

<samlp: Request ...>

  <samlp: AttributeQuery>
 
    <saml: Subject>
      <saml: NameIdentifier
        SecurityDomain="sun. com"
        Name="rimap"/>
    </ saml: Subject>
   
    <saml: AttributeDesignator
      AttributeName="Employee_ ID"
      AttributeNamespace="sun. com">
    </ saml: AttributeDesignator>
  </ samlp: AttributeQuery>
</ samlp: Request>

 


In response, the issuing authority asserts that the subject (S) was authenticated by means (M) at time (T).

<samlp: Response
  MajorVersion="1" MinorVersion="0"
  RequestID="128.14.234.20.90123456"
  InResponseTo="123.45.678.90.12345678"
  StatusCode="/features/2002/05/Success">
 
  <saml: Assertion
    MajorVersion="1" MinorVersion="0"
    AssertionID="123.45.678.90.12345678"
    Issuer="Sun Microsystems, Inc."
    IssueInstant="2002- 01- 14T10: 00: 23Z">
   
    <saml: Conditions
      NotBefore="2002- 01- 14T10: 00: 30Z"
      NotAfter="2002- 01- 14T10: 15: 00Z" />
     
    <saml: AuthenticationStatement
    AuthenticationMethod="Password"
    AuthenticationInstant="2001- 01- 14T10: 00: 20Z">
   
      <saml: Subject>
        <saml: NameIdentifier
          SecurityDomain="sun. com"
          Name="rimap" />
      </ saml: Subject>
    </ saml: AuthenticationStatement>
  </ saml: Assertion>
</ samlp: Response>

 

CSA课程:A段架构师的职责

传授CSA等级的架构设计思想、方法与技术。让想深度领会架构设计幕后的思想者,和盼望早日成为CSA者,都能孰悉A段架构师的角色。
  • 2015年09月22日 14:37

saml example

OpenSAML Examples Will Provost August 14, 2009 In this article I present a few simple examp...
  • ku1989
  • ku1989
  • 2012-11-23 01:01:19
  • 1119

C Socket Programming for Linux

C Socket Programming for Linux with a Server and Client Example Code Typically two processe...
  • user_920
  • user_920
  • 2012-06-17 17:25:17
  • 1051

C# source code

  • 2011年08月03日 07:58
  • 2.93MB
  • 下载

PythonMachineLearning-Chap4.CodeExample

Python Machine Learning Essentials - Code ExamplesChapter 4
  • bojackhosreman
  • bojackhosreman
  • 2017-03-24 17:25:52
  • 506

saml

越来越多的系统通过Web服务、门户和集成化应用程序彼此链接,对于保证欲共享的信息安全交换的标准的需求也随之日益显著起来。SAML(安全性断言标记语言,Security Assertion Markup...
  • zhengchao1991
  • zhengchao1991
  • 2016-03-11 11:23:32
  • 1396

浅析Web单点登录和SAML技术

SAML(安全断言标记语言)已经被结构化信息标准促进组织(OASIS)批准为Web 单点登录的执行标准。SAML连同Web单点登录共同构成了现代网络环境中的必备条件。  美国在线和eBay是两个知名网...
  • sijianjiang
  • sijianjiang
  • 2010-09-26 13:34:00
  • 4585

Obtain a SAML Token ----获取SAML令牌

原文: Every time a client wants to establish a vCloud Suite session, except when the client wants...
  • zhouzhiwengang
  • zhouzhiwengang
  • 2015-03-17 16:49:45
  • 749

opencv-鼠标作为油漆刷

参考: 1、http://docs.opencv.org/3.3.0/  官方文档api 2、http://docs.opencv.org/3.3.0/d6/d00/tutorial_py_root....
  • wc781708249
  • wc781708249
  • 2017-10-20 15:21:43
  • 97

SSO实现之SAML-1.SAML初识

SSO实现之SAML-1.SAML初识   1.   SSO        实现SSO有很多种方式: 1、  Cookie 2、  CAS 3、  OpenId 4、  ...
  • liyx0822
  • liyx0822
  • 2015-06-18 10:28:56
  • 1286
收藏助手
不良信息举报
您举报文章:A Code Example For SAML
举报原因:
原因补充:

(最多只允许输入30个字)