Skip to Content.
Sympa Menu

mace-opensaml-users - How to set the status in a SAMLResponse?

Subject: OpenSAML user discussion

List archive

How to set the status in a SAMLResponse?


Chronological Thread 
  • From: Brückler Peter <>
  • To: "''" <>
  • Cc:
  • Subject: How to set the status in a SAMLResponse?
  • Date: Mon, 21 Feb 2005 14:41:45 +0100

Hey Scott,

 

            Maybe it's a newbie question, but how to set the <Status> and it's <StatusCode> tag in the SAMLResponse.

If you don't set anything, the value "samlp:Success" will be used automatically, which is fine for the successful scenario, but how to set other values?

Which are available and how to set them?

 

Here my SAMLRequest with the related SAMLResponse:

 

SamlRequest:

<Request xmlns="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" IssueInstant="2005-02-21T13:21:24.028Z" MajorVersion="1" MinorVersion="1" RequestID="ae78b6ae4956c30063c2a7f8e8dad705"><AssertionArtifact>id0bemkAANlvOgNipMoDXGEXvklk0fmg6gGlFx53kyvi27/8iJCNNmf6bQ9Gex0</AssertionArtifact></Request>

 

SamlResponse:

<Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" InResponseTo="ae78b6ae4956c30063c2a7f8e8dad705" IssueInstant="2005-02-21T13:21:24.038Z" MajorVersion="1" MinorVersion="1" ResponseID="cdbd30ba2fc9204094394bb3aab40566"><Status><StatusCode Value="samlp:Success"></StatusCode></Status><Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="id0bemkijki82a" IssueInstant="2005-02-21T13:21:23.748Z" Issuer="My AG" MajorVersion="1" MinorVersion="1"><Conditions NotBefore="2005-02-21T13:21:23.147Z" NotOnOrAfter="2005-02-21T14:21:23.147Z"></Conditions><AuthenticationStatement AuthenticationInstant="2005-02-21T13:26:23.147Z" AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password"><Subject><NameIdentifier>subject-123</NameIdentifier></Subject></AuthenticationStatement></Assertion></Response>

 

Thanks for helping,

Peter

 




Archive powered by MHonArc 2.6.16.

Top of Page