SAML AuthnQuery and AuthnStatement

From NovaOrdis Knowledge Base
Revision as of 18:39, 21 February 2017 by Ovidiu (talk | contribs) (→‎Example)
Jump to navigation Jump to search

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>