saml: allow to keep existing roles on login (#3440)

This commit is contained in:
Kevin Papst
2022-07-26 23:18:04 +02:00
committed by GitHub
parent ed7f89cfe1
commit 95ab9bda2d
6 changed files with 23 additions and 1 deletions

View File

@@ -86,6 +86,11 @@ class SystemConfiguration implements SystemBundleConfiguration
return (array) $this->find('saml.roles.mapping');
}
public function isSamlRolesResetOnLogin(): bool
{
return (bool) $this->find('saml.roles.resetOnLogin');
}
public function getSamlConnection(): array
{
return (array) $this->find('saml.connection');