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"  

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