SAML AuthnQuery and AuthnStatement: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page SAML AuthnQuery and Authentication Assertion to SAML AuthnQuery and AuthnStatement without leaving a redirect)
Line 4: Line 4:


=Example=
=Example=
==AuthnQuery==


<pre>
<pre>
<samlp:AuthnQuery xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" 
                          xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
  xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation=
  "urn:oasis:names:tc:SAML:2.0:protocol” ノ >
<saml:Subject>
  <saml:SubjectConfirmation Method=
    "http://www.oasis-open.org/committees/security/docs/draft-sstc-core-25/password">
      <saml:SubjectConfirmationData>
        cGFzc3dvcmQ=
      <saml:SubjectConfirmationData/>
</saml:SubjectConfirmation>
</saml:Subject>
<samlp:RequestedAuthnContext Comparison="exact">
  <saml:AuthnContextClassRef>
    http://www.coresecuritypatterns.com
  </saml:AuthnContextClassRef>
</pre>
</pre>

Revision as of 18:39, 21 February 2017

Internal

Example

AuthnQuery

<samlp:AuthnQuery xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"   
                           xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 
   xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xsi:schemaLocation=
   "urn:oasis:names:tc:SAML:2.0:protocol” ノ >
<saml:Subject>
   <saml:SubjectConfirmation Method=
     "http://www.oasis-open.org/committees/security/docs/draft-sstc-core-25/password">
      <saml:SubjectConfirmationData> 
         cGFzc3dvcmQ=
      <saml:SubjectConfirmationData/>
		</saml:SubjectConfirmation>
</saml:Subject>
<samlp:RequestedAuthnContext Comparison="exact">
  <saml:AuthnContextClassRef>
     http://www.coresecuritypatterns.com
  </saml:AuthnContextClassRef>