Bernd Bohmann
Bernd Bohmann
instead of filtering the list. Avoid problems with DEFAULT_MAX_RESULTS = 100 and custom policies fixes #1095, fixes #1090, fixes #1111 **PR Readiness Checklist**: Complete these before marking the PR as...
### Current Behavior `2024-07-23T07:39:16.190Z ERROR 317 --- [ main] o.s.boot.SpringApplication : Application run failed java.lang.NullPointerException: Cannot invoke "java.util.Map.isEmpty()" because the return value of "org.keycloak.representations.idm.authorization.ResourceRepresentation.getAttributes()" is null at de.adorsys.keycloak.config.service.ClientAuthorizationImportService.updateAuthorizationResource(ClientAuthorizationImportService.java:301) at de.adorsys.keycloak.config.service.ClientAuthorizationImportService.createOrUpdateAuthorizationResource(ClientAuthorizationImportService.java:267)...
### Current Behavior When importing client with custom policy the import stops with a NPE ` java.lang.NullPointerException: RESTEASY004645: templateValues entry was null org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget.resolveTemplates(ClientWebTarget.java:170) org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget.resolveTemplates(ClientWebTarget.java:26) org.jboss.resteasy.client.jaxrs.internal.proxy.SubResourceInvoker.invoke(SubResourceInvoker.java:59) org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:102) jdk.proxy2/jdk.proxy2.$Proxy104.policy(Unknown Source) de.adorsys.keycloak.config.repository.ClientRepository.updateAuthorizationPolicy(ClientRepository.java:246) de.adorsys.keycloak.config.service.ClientAuthorizationImportService.updateAuthorizationPolicy(ClientAuthorizationImportService.java:489)...
### Description Most of the aerogear/keycloak-metrics-spi metrics are provided by keycloak metrics now. (https://www.keycloak.org/server/configuration-metrics) The metrics of keycloak events like logins and client_logins ... are missing. A simple event-listener to...
…cloak mircometer event listener inspired by https://github.com/aerogear/keycloak-metrics-spi https://github.com/please-openit/keycloak-native-metrics https://github.com/thomasdarimont/keycloak-project-example/tree/main/keycloak/extensions/src/main/java/com/github/thomasdarimont/keycloak/custom/metrics Preview of the docs: https://github.com/bohmber/keycloak/blob/issue-33043/docs/guides/server/event-metrics.adoc fixes: #33043
### Before reporting an issue - [x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if...