-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulestype: breaks-passivityA change that breaks passivity with the previous releaseA change that breaks passivity with the previous releasetype: bugA general bugA general bug
Milestone
Description
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 modulesAn issue in SAML2 modulestype: breaks-passivityA change that breaks passivity with the previous releaseA change that breaks passivity with the previous releasetype: bugA general bugA general bug