Skip to content

New IDP sso/slo binding params which deprecate :embed_sign#610

Merged
pitbulk merged 5 commits intoSAML-Toolkits:masterfrom
johnnyshields:new-idp-binding-params
Aug 16, 2021
Merged

New IDP sso/slo binding params which deprecate :embed_sign#610
pitbulk merged 5 commits intoSAML-Toolkits:masterfrom
johnnyshields:new-idp-binding-params

Conversation

@johnnyshields
Copy link
Copy Markdown
Collaborator

@johnnyshields johnnyshields commented Aug 14, 2021

Fixes #606

Adds settings.idp_sso_service_binding and settings.idp_slo_service_binding, and deprecates settings.security[:embed_sign]. If specified, new binding parameters will be used in place of :embed_sign to determine how to handle SAML message signing (HTTP-POST embeds signature and HTTP-Redirect does not.)

In addition:

  • The IDPMetadataParser parse, parse_to_hash and parse_to_array methods now retrieve
    idp_sso_service_binding and idp_slo_service_binding.
  • For convenience you may now use the Symbol aliases :post and :redirect for any settings.*_binding parameter.
  • Many of the getters/setters in the Settings class had needlessly verbose code. I've cleaned them up.

…_binding`, and

+deprecates `settings.security[:embed_sign]`. If specified, new binding parameters will be used in place of `:embed_sign` to determine how to handle SAML message signing (`HTTP-POST` embeds signature and `HTTP-Redirect` does not.)

In addition, the `IDPMetadataParser` `parse`, `parse_to_hash` and `parse_to_array` methods now retrieve
`idp_sso_service_binding` and `idp_slo_service_binding`.

Lastly, for convenience you may now use the Symbol aliases `:post` and `:redirect` for any `settings.*_binding` parameter.
@johnnyshields johnnyshields changed the title New IDP binding params New IDP binding params which deprecate :embed_sign Aug 14, 2021
@johnnyshields johnnyshields changed the title New IDP binding params which deprecate :embed_sign New IDP sso/slo binding params which deprecate :embed_sign Aug 14, 2021
@johnnyshields
Copy link
Copy Markdown
Collaborator Author

@pitbulk ready for your review

@johnnyshields
Copy link
Copy Markdown
Collaborator Author

Conflicts resolved

@pitbulk pitbulk merged commit f1b6c98 into SAML-Toolkits:master Aug 16, 2021
@johnnyshields
Copy link
Copy Markdown
Collaborator Author

@pitbulk really appreciate the prompt response! Thank you!

@pitbulk
Copy link
Copy Markdown
Collaborator

pitbulk commented Aug 16, 2021

Thank you for your recent contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

:embed_sign vs. IdP SingleSignOnService Binding (HTTP Method)

2 participants