No description
Find a file
Martin Idel 7e8018c7ca KEYCLOAK-11862 Add Sync mode option
- Store in config map in database and model
- Expose the field in the OIDC-IDP
- Write logic for import, force and legacy mode
- Show how mappers can be updated keeping correct legacy mode
- Show how mappers that work correctly don't have to be modified
- Log an error if sync mode is not supported

Fix updateBrokeredUser method for all mappers

- Allow updating of username (UsernameTemplateMapper)
- Delete UserAttributeStatementMapper: mapper isn't even registered
  Was actually rejected but never cleaned up: https://github.com/keycloak/keycloak/pull/4513
  The mapper won't work as specified and it's not easy to tests here
- Fixup json mapper
- Fix ExternalKeycloakRoleToRoleMapper:
  Bug: delete cannot work - just delete it. Don't fix it in legacy mode

Rework mapper tests

- Fix old tests for Identity Broker:
  Old tests did not work at all:
  They tested that if you take a realm and assign the role,
  this role is then assigned to the user in that realm,
  which has nothing to do with identity brokering
  Simplify logic in OidcClaimToRoleMapperTests
- Add SyncMode tests to most mappers
  Added tests for UsernameTemplateMapper
  Added tests to all RoleMappers
  Add test for json attribute mapper (Github as example)
- Extract common test setup(s)
- Extend admin console tests for sync mode

Signed-off-by: Martin Idel <external.Martin.Idel@bosch.io>
2020-04-24 15:54:32 +02:00
.travis Update triggers for Docker Hub 2018-08-20 20:38:57 +02:00
adapters [KEYCLOAK-13586] Fix typos related to QueryParamterTokenRequestAuthenticator 2020-04-21 21:14:03 +02:00
authz [KEYCLOAK-13927] Accept only ticketId instead of the PermissionTicketRepresentation for delete in PermissionResource 2020-04-23 15:59:43 -03:00
boms [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
common Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
core Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
dependencies Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
distribution [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
docs KEYCLOAK-12764 Fix shrinkwrap issue by updating arquillian bom version 2020-02-08 10:51:48 +01:00
examples Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
federation KEYCLOAK-12842 Not possible to update user with multivalued LDAP RDN 2020-04-21 11:35:41 +02:00
integration Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
misc Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
model Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
quarkus Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
saml-core [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
saml-core-api Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
server-spi KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
server-spi-private KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
services KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
testsuite KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
themes KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
util [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
wildfly Set version to 10.0.0-SNAPSHOT 2020-04-21 09:19:32 +02:00
.gitattributes KEYCLOAK-1385 Introduce end-of-line normalization 2015-07-17 13:46:51 +02:00
.gitignore KEYCLOAK-10739: Device Activity UI 2019-09-05 12:22:05 -03:00
.travis.yml KEYCLOAK-11293 Update theme build for keycloak-preview 2020-01-29 05:26:55 -03:00
ADOPTERS.md Add Associazione Rousseau to the adopters 2019-10-09 08:05:46 +02:00
CONTRIBUTING.md [KEYCLOAK-12341] Replace references to Keycloak dev mailing list in the repositories 2019-12-04 15:53:03 +01:00
get-version.sh Added get-version script 2019-03-05 08:42:14 +01:00
GOVERNANCE.md [KEYCLOAK-12341] Replace references to Keycloak dev mailing list in the repositories 2019-12-04 15:53:03 +01:00
LICENSE.txt Added text version of ASL2 license 2019-11-08 12:43:10 +01:00
MAINTAINERS.md Updated MAINTAINERS.md 2019-11-11 09:05:47 +01:00
maven-settings.xml [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
package-lock.json [KEYCLOAK-12439] Update to Angular 1.7.9 2020-01-30 14:25:29 +01:00
pom.xml [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
prod-arguments.json KEYCLOAK-11293 Update theme build for keycloak-preview 2020-01-29 05:26:55 -03:00
README.md Update README.md 2019-12-09 21:09:11 +01:00
release.sh Fixes for releasing 2019-03-06 11:38:09 +01:00
set-version.sh Bump versions 2017-11-09 15:37:21 +01:00
travis-run-tests.sh [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03: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've 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 in our Issue Tracker. 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/standalone.[sh|bat] 

Alternatively, you can use the Docker image by running:

docker run jboss/keycloak

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.

Other Keycloak Projects

License