-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#265 LDAP groups and roles concepts are mixed #266
Conversation
A couple of things are not clear here:
|
@etj please, provide more info next time ( see our yesterday discussion on delegation) |
here more info https://github.com/geosolutions-it/MapStore2-C047/issues/28 Why is this PR not targeting the master branch?
|
Since this is super urgent I would recommend that you do as I told you on the chat @ale-cristofor, merge it a deploy it where you need it, then open an issue describing that we need to handle this properly:
|
the geostore jar file in this MapStore down stream project (located at |
@taba90 is already out for today @ale-cristofori. @taba90 let's have a look at this Tuesday morning, if needed we move the Vlaaderen call with Bert. |
* Merge pull request #266 from geosolutions-it/265_17x_ldap_roles * Tests for LDAP groups and roles concepts are mixed (#272) Co-authored-by: Nuno Oliveira <[email protected]>
* Merge pull request #266 from geosolutions-it/265_17x_ldap_roles * Tests for LDAP groups and roles concepts are mixed (#272) Co-authored-by: Nuno Oliveira <[email protected]>
Proposed changes:
After upgrading, if you don't change your xml configuration, you may get this error in the logfile:
AuthoritiesMapper is deprecated, please set roleMapper and groupMapper separately
This means you have, in the
geostoreLdapProvider
bean definition, the setter for the propertyauthoritiesMapper
(which is now deprecated).In order to maintain the old behaviour, the
authoritiesMapper
will set the new 2 properties,roleMapper
andgroupMapper
, that can now be separately defined.Once the fix is applied, you may want to:
In
geostoreLdapProvider
, change the entry:to
In the
rolesMapper
bean, add the property: