-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement
Description
Add localEntityIdTemplate in saml2 autoconfiguration.
Current configuration
saml2:
relyingparty:
registration:
mysso:
signing:
credentials:
- certificate-location: classpath:my-public.cer
private-key-location: classpath:my-private.cer
identityprovider:
entity-id: entity-idp
sso-url: https://mysso/public/saml2sso
verification:
credentials:
- certificate-location: classpath:saml-signing-cert.pemExpected configuration
saml2:
relyingparty:
registration:
mysso:
signing:
credentials:
- certificate-location: classpath:my-public.cer
private-key-location: classpath:my-private.cer
identityprovider:
entity-id: entity-idp
sso-url: https://mysso/public/saml2sso
verification:
credentials:
- certificate-location: classpath:saml-signing-cert.pem
spprovider:
local-entity-id: mylocalentityidThe 2 last lines allows to configure the local-entity-id.
Proposal
Add an internal class Spprovider in : org.springframework.boot.autoconfigure.security.saml2.Saml2RelyingPartyProperties
Use builder in : org.springframework.boot.autoconfigure.security.saml2.Saml2RelyingPartyRegistrationConfiguration
If needed, I can provide PR
Thx!
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement