SAML-Toolkits / java-saml

Java SAML toolkit
MIT License
634 stars 398 forks source link

Support more complex response statuses in LogoutResponse generation #351

Closed mauromol closed 3 years ago

mauromol commented 3 years ago

An overload of build() has been added to supply a SamlResponseStatus, so that it's possible to specify a more complex response status in the generated LogoutResponse. A typical example is the case of a partial logout, which needs a top-level urn:oasis:names:tc:SAML:2.0:status:Responder status code and a second-level urn:oasis:names:tc:SAML:2.0:status:PartialLogout one. Also, a status message can also be added now.

Closes #342.