Stefan Guilhen b64102e76f Align isEnabled in MSAD mappers to how other properties are processed in UserAttributeLDAPStorageMapper (#148)
- user model is updated by onImport with the enabled/disabled status of the LDAP user
- a config option always.read.enabled.value.from.ldap was introduced, in synch to what we have in UserAttributeLDAPStorageMapper
- isEnabled checks the flag to decide if it should always retrieve the value from LDAP, or return the local value.
- setEnabled first updates the LDAP tx, and then calls the delegate to avoid issue #24201

Closes #26695
Closed #24201

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
(cherry picked from commit 2ca59d4141)
2024-04-03 11:53:13 +02:00
2024-03-22 15:14:46 +01:00
2023-09-18 12:39:16 +02:00
2024-02-07 13:47:57 -03:00
2023-09-12 08:56:15 +02:00
2023-09-12 08:56:15 +02:00
2024-03-20 17:16:16 +00:00

Keycloak

Keycloak is an Open Source Identity and Access Management solution for modern Applications and Services.

This repository contains the source code for the Keycloak Server, Java adapters and the JavaScript adapter.

Help and Documentation

Reporting Security Vulnerabilities

If you have found a security vulnerability, please look at the instructions on how to properly report it.

Reporting an issue

If you believe you have discovered a defect in Keycloak, please open an issue. Please remember to provide a good summary, description as well as steps to reproduce the issue.

Getting started

To run Keycloak, download the distribution from our website. Unzip and run:

bin/kc.[sh|bat] start-dev

Alternatively, you can use the Docker image by running:

docker run quay.io/keycloak/keycloak start-dev

For more details refer to the Keycloak Documentation.

Building from Source

To build from source, refer to the building and working with the code base guide.

Testing

To run tests, refer to the running tests guide.

Writing Tests

To write tests, refer to the writing tests guide.

Contributing

Before contributing to Keycloak, please read our contributing guidelines. Participation in the Keycloak project is governed by the CNCF Code of Conduct.

Other Keycloak Projects

License

Description
Open Source Identity and Access Management For Modern Applications and Services
Readme 806 MiB
Languages
Java 91.4%
TypeScript 7.4%
Fluent 0.5%
FreeMarker 0.2%
JavaScript 0.1%
Other 0.1%