SAML AuthnQuery and AuthnStatement: Difference between revisions

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

Revision as of 18:42, 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>

  </samlp:RequestedAuthnContext>

</samlp:AuthnQuery>