keycloak-scim/testsuite/integration-arquillian/tests/base/src/test/resources
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
..
adapter-test [KEYCLOAK-13187] - Concurrency issue when refreshing tokens and updating security context state 2020-04-16 12:25:42 +02:00
admin-test KEYCLOAK-4628 Single-use cache + its functionality incorporated into reset password token. Utilize single-use cache for relevant actions in execute-actions token 2017-05-11 22:16:26 +02:00
authorization-test [KEYCLOAK-13175] - Setting the enforcement mode when fetching lazily fetching resources 2020-03-05 13:31:21 +01:00
cli KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
client-auth-test KEYCLOAK-9572 Support for multiple CRLs with X509 authentication 2019-03-20 15:00:44 +01:00
client-descriptions KEYCLOAK-2850 migrate RealmTest from old testsuite to new 2016-04-20 08:22:32 +02:00
clientreg-test KEYCLOAK-3071 Add SOAP and PAOS endpoints to valid redirect URIs on SP import 2016-11-09 14:13:53 +01:00
dockerClientTest KEYCLOAK-7101 Fix DockerClientTest 2018-04-27 15:02:10 +02:00
export KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
import KEYCLOAK-7014 - Correctly handle null-values in UserAttributes 2020-01-10 12:44:52 +01:00
kerberos [KEYCLOAK-6285] - HTTP Challenge Authentication Flow 2018-09-10 19:02:49 +02:00
keys KEYCLOAK-2850 migrate RealmTest from old testsuite to new 2016-04-20 08:22:32 +02:00
keystore KEYCLOAK-9846 Verifying signatures on CRL during X509 authentication 2019-07-08 20:20:38 +02:00
ldap KEYCLOAK-11745 Multi-factor authentication (#6459) 2019-11-14 14:45:05 +01:00
META-INF [KEYCLOAK-12909] - Keycloak uses embedded cache manager instead of container-managed one 2020-02-06 13:14:36 +01:00
migration-test KEYCLOAK-10029 Offline token migration fix. Always test offline-token migration when run MigrationTest 2020-03-10 20:38:16 +01:00
model KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
openshift/client-storage KEYCLOAK-7677 KEYCLOAK-7723 fix version collision of httpclient 2019-01-10 17:45:41 -02:00
org/keycloak/testsuite KEYCLOAK-11862 Add Sync mode option 2020-04-24 15:54:32 +02:00
password-blacklists KEYCLOAK-5244 Add BlacklistPasswordPolicyProvider (#4370) 2017-10-17 20:41:44 +02:00
scripts [KEYCLOAK-10868] - Deploy JavaScript code directly to Keycloak server 2019-10-22 10:34:24 +02:00
sssd KEYCLOAK-4569 SSSDTest rewrited to be usable in different enviroments 2017-03-13 08:05:30 +01:00
storage-test UserStorageTest migrated to Arquillian testsuite 2017-02-22 13:54:11 +01:00
theme/environment-agnostic/login KEYCLOAK-6698 - Add substitution of system properties and environment variables in theme.properties file 2019-10-01 16:34:54 +02:00
vault KEYCLOAK-11245 Adapt LDAPConnectionTestManager to use newly introduced LDAPContextManager 2019-09-10 22:51:19 +02:00
webauthn KEYCLOAK-12174 WebAuthn: create authenticator, requiredAction and policy for passwordless (#6649) 2020-01-29 09:33:45 +01:00
wildfly-integration [KEYCLOAK-5015] - HAL integration tests 2017-08-22 18:01:19 -03:00
arquillian.xml [KEYCLOAK-11345] - Test basic features of Keycloak.X with current tetsuite 2020-03-10 15:59:35 +01:00
c3p0.properties KEYCLOAK-8494 Use c3p0 connection pool in testsuite 2018-10-08 14:24:56 +02:00
jboss-deployment-structure.xml KEYCLOAK-11597 Remote testing changes + possibility to exclude tests for specific auth server 2020-01-06 14:29:36 +01:00
keycloak-add-user.json KEYCLOAK-11745 Multi-factor authentication (#6459) 2019-11-14 14:45:05 +01:00
log4j.properties KEYCLOAK-5480 Cross-DC setup: Remote cache stores are connecting to Infinispan servers in both datacenters 2017-09-18 18:04:04 +02:00
run-on-server-jboss-deployment-structure.xml KEYCLOAK-3159 Migrate federation package from old testsuite 2019-03-04 13:37:12 +01:00
test-constants.properties Add support for testing default theme name in prop file 2016-02-26 13:59:28 +01:00
testcomposite.json KEYCLOAK-8349 KEYCLOAK-8659 Use TLS for all tests in the suite 2019-02-08 08:57:48 -02:00
testrealm-duplicate-emails.json KEYCLOAK-8349 KEYCLOAK-8659 Use TLS for all tests in the suite 2019-02-08 08:57:48 -02:00
testrealm.json [KEYCLOAK-10696] - fixed missing client role attributes after import 2020-02-17 10:01:19 +01:00