DEB-1358 keycloak: Keycloak upgrade to 22.0.1
DEB-1358 fuge: fe-common upgrade to 5.0.0
commit 0d944a38 Author: Tom Adam tom.adam@deichman.no Date: Wed Aug 16 15:13:43 2023 +0200
DEB-1358 tjenestekatalog: fe-common update
-
added .npmrc as part of build to make local npm repo build possible.
DEB-1358 fe-common: upgraded adapter from 21.1.1 to 22.0.1
Also published.
DEB-1358 Proxy: keycloak-connect at exact 22.0.1
DEB-1358 euler: keycloak-adapter to v. 22.0.1
DEB-1358 keycloak: Keycloak upgrade to 22.0.1
Seemed to be so, that in some cases call to the validate function in CiceroUserStorageProvider caused locking exception on the database level. I suspected a timing related issue, since it was very hard to reproduce on a consistent way. However, in prod, due to the larger number of users tons of locking exceptions has happened. The problem was, that call to CiceroUserStorageProvider::validate was setting attributes on the local keycloak DB user entity.
To avoid the problem, a user adapter was created: CiceroUserAdapter. This stores all attributes derived from Cicero LMS in object attributes, thus no JDBC locking issue can happen.
Changed the classes accordingly.
Also updated dependencies as required by 22.0.1 upgrade, and as suggested in Keycloak release notes.
Commons lang was not packaged with Keycloak nay longer, added as dependency, also being copied to dist at build time.