Skip to content

Saml2 metadata includes SingleLogoutService even if saml2 logout is disabled / not configured #10607

Closed
@dvanbler

Description

@dvanbler

Describe the bug
When accessing a saml2 relying party's metadata via the Saml2MetadataFilter endpoint, the downloaded metadata.xml file includes a SingeLogoutService element even though I have disabled or not configured saml2 logout.

To Reproduce

  • in a WebSecurityConfigurerAdapter, disable saml2 logout: http.saml2Logout().disable()
  • configure a saml2 relying party - do not specify any logout configuration for either the relying party or the asserting party.
  • configure the saml2 metadata filter
  • visit the saml2 metadata url and inspect the downloaded metadata.xml
  • notice that the metadata contains a SingleLogoutService element

Expected behavior
If saml2 logout is disabled, then relying party metadata should not advertise a single logout service.

Metadata

Metadata

Assignees

Labels

in: saml2An issue in SAML2 modulestype: breaks-passivityA change that breaks passivity with the previous releasetype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions