Skip to content

Adding a deprecation info API check for saml nameid_format setting#77276

Merged
masseyke merged 2 commits intoelastic:7.xfrom
masseyke:feature/deprecation-info-saml-name-id-format
Sep 15, 2021
Merged

Adding a deprecation info API check for saml nameid_format setting#77276
masseyke merged 2 commits intoelastic:7.xfrom
masseyke:feature/deprecation-info-saml-name-id-format

Conversation

@masseyke
Copy link
Copy Markdown
Member

@masseyke masseyke commented Sep 3, 2021

In 8.0 the behavior of an unset saml nameid_format setting. This commit adds a check to the deprecation
info API that warns users of this change, if they are using saml without nameid_format being set.
Relates #42404 #44090

@masseyke masseyke requested a review from jbaiera September 3, 2021 21:13
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Sep 3, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

if (detailsList.isEmpty()) {
return null;
} else {
String message = "if nameid_format is not explicitly set, the previous default of " +
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we either need some more text here or a section in the breaking release notes and link from here ( I think the latter gives us more flexibility ). I can open a PR for the docs and reference the logs here once we have a link

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jkakavas -- just confirming that this is still on your to-do list, and you're not waiting on anything from me.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the ping, you are right, this slipped my mind. I'll work on something today or tomorrow and get @lockewritesdocs to review.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is it: #77785

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'll go ahead and merge this, and update its URL along with several others in an upcoming PR.

@masseyke
Copy link
Copy Markdown
Member Author

masseyke commented Sep 7, 2021

@elasticmachine update branch

1 similar comment
@masseyke
Copy link
Copy Markdown
Member Author

masseyke commented Sep 7, 2021

@elasticmachine update branch

Copy link
Copy Markdown
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending results of the discussion about the docs

@masseyke masseyke merged commit 429920d into elastic:7.x Sep 15, 2021
@masseyke masseyke deleted the feature/deprecation-info-saml-name-id-format branch September 15, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>deprecation Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants