You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
confirms that 3 IDPs were loaded but they're all the very same instance.
Checking the plugin's initializer SpringSecuritySamlGrailsPlugin.groovy#L146, I see there are beans and nested beans' definitions (each with constructor args), but as far as I know beans are singletons by default, so this might be the culprit?
The text was updated successfully, but these errors were encountered:
Having to support multiple IDPs, I pulled the project to make some configuration tests.
I made adjustments to
application.yml
configuration, e.g.and verified that all metadata, taken singularly, are loaded as expected.
When trying to add all of them at the same time though, e.g.
and with logging enabled on
logback.groovy
logger 'org.grails.plugin.springsecurity.saml', DEBUG, ['STDOUT'], true
On application startup I can see on stdout
but instead, loading https://localhost:8080/metadata/index shows only the idpName of the last provider in the configuration.
Printing a few data on
MetadataController.index()
:confirms that 3 IDPs were loaded but they're all the very same instance.
Checking the plugin's initializer SpringSecuritySamlGrailsPlugin.groovy#L146, I see there are beans and nested beans' definitions (each with constructor args), but as far as I know beans are singletons by default, so this might be the culprit?
The text was updated successfully, but these errors were encountered: