Skip to content

Instantly share code, notes, and snippets.

@IgorKarymov
Created October 1, 2013 10:37
Show Gist options
  • Save IgorKarymov/6776658 to your computer and use it in GitHub Desktop.
Save IgorKarymov/6776658 to your computer and use it in GitHub Desktop.
centrify saml response
<saml2p:Response ID="_f7e95f5a-f1f9-41b1-bf91-bb6ce152129b" Version="2.0" IssueInstant="2013-09-27T13:44:30.617Z" Destination="https://login.myapp.com">
<Issuer>https://cloud.centrify.com/SAML/Generic SAML</Issuer>
<Signature>
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#_f7e95f5a-f1f9-41b1-bf91-bb6ce152129b">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>E9aOiMKoLWYe1HL8Gnc08Th7XpA=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>axutyTRqIYBrHE/ALEzx6UFjGNc8OFNmefy/bqdXnDfFSRJmGrOFndvprjH2hZGaHjmG/0bvAujzH+fzgXKvECHsGMQyOEgx7RjxOcpJIdefdxvCmhsiRZ6m01cqTIZkYR5LIw0gWBy8NF/dY1Ykj1yT2k60MLTy/9AxGq6gKIo=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIICeTCCAeKgAwIBAgIQFBOPHc/9gbhyCi+Mfd40HjANBgkqhkiG9w0BAQUFADAqMSgwJgYDVQQDDB9VWjQ1MyAoQ2VudHJpZnkgQ2xvdWQgU2VydmljZXMpMB4XDTEzMDkyMzEyMzc1NloXDTM5MDEwMTAwMDAwMFowQjFAMD4GA1UEAww3Q2VudHJpZnkgQ3VzdG9tZXIgVVo0NTMgQXBwbGljYXRpb24gU2lnbmluZyBDZXJ0aWZpY2F0ZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApnax1sqUhN+TsE+TZeFp1XKJv+W1c5Tfb7vWlb5h9pZla3mRaTzJ07RKdTEbe4/gM6WlpCBfHPIlu8MvM85JM1Dz3gAjUuyhJ9X0wQ6TgKwZkZzGy5tTDiem4OGhXO+ELwPm5B9r8Vxxmev0bLvCbdBcdVVFp9giyzru1N0QHE8CAwEAAaOBhzCBhDAVBgorBgEEAYKmcAEDBAcMBVVaNDUzMB8GA1UdIwQYMBaAFP7Xxlqo5ggi8ZH6c9Wq8qadhpD9MB0GA1UdDgQWBBRBTgd0/kQnNUpTZRpt0f6H9gTmoDAOBgNVHQ8BAf8EBAMCBaAwGwYKKwYBBAGCpnABBAQNDAtBcHBsaWNhdGlvbjANBgkqhkiG9w0BAQUFAAOBgQAOh+Lf73ysNDGEpQzDiMo6PrsZmqsXOUMKLhfjxaI2ngmIcX077b21NOGaycQLmFYliJAzfYPAimO8I4KHyByKADlwrRpyv/bAf46HdBraW5nWEaR8akWPxMXdInNh1dxCFWYgHsL4DMKoCGVjvfuK7MCJoFLDdwAwLAMl9eEAhQ==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<saml2p:Status>
<saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</saml2p:Status>
<Assertion Version="2.0" ID="_55bc0359-7df5-4fe2-9ecb-62e8a46bcdee" IssueInstant="2013-09-27T13:44:30.617Z">
<Issuer>https://cloud.centrify.com/SAML/Generic SAML</Issuer>
<Subject>
<NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">ikarymov@testdomain.local</NameID>
<SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<SubjectConfirmationData NotOnOrAfter="2013-09-27T14:44:30.617Z" Recipient="https://login.myapp.com"/>
</SubjectConfirmation>
</Subject>
<Conditions NotBefore="2013-09-27T13:41:30.617Z" NotOnOrAfter="2013-09-27T14:44:30.617Z">
<AudienceRestriction>
<Audience>https://login.myapp.com</Audience>
</AudienceRestriction>
</Conditions>
<AuthnStatement AuthnInstant="2013-09-27T13:44:30.617Z">
<AuthnContext>
<AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</AuthnContextClassRef>
</AuthnContext>
</AuthnStatement>
</Assertion>
</saml2p:Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment