From 05dcc188bb358e8f3133d9546ce6a5a23dad622c Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Wed, 22 Jun 2022 18:33:28 +0200 Subject: [PATCH] Move over caching related interfaces to the legacy module Closes #12531 --- .../main/java/org/keycloak/models/cache/CachedUserModel.java | 2 +- .../src/main/java/org/keycloak/models/cache/OnUserCache.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {server-spi => model/legacy}/src/main/java/org/keycloak/models/cache/CachedUserModel.java (97%) rename {server-spi => model/legacy}/src/main/java/org/keycloak/models/cache/OnUserCache.java (94%) diff --git a/server-spi/src/main/java/org/keycloak/models/cache/CachedUserModel.java b/model/legacy/src/main/java/org/keycloak/models/cache/CachedUserModel.java similarity index 97% rename from server-spi/src/main/java/org/keycloak/models/cache/CachedUserModel.java rename to model/legacy/src/main/java/org/keycloak/models/cache/CachedUserModel.java index 268c816297..eb62343d82 100644 --- a/server-spi/src/main/java/org/keycloak/models/cache/CachedUserModel.java +++ b/model/legacy/src/main/java/org/keycloak/models/cache/CachedUserModel.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Red Hat, Inc. and/or its affiliates + * Copyright 2022 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/server-spi/src/main/java/org/keycloak/models/cache/OnUserCache.java b/model/legacy/src/main/java/org/keycloak/models/cache/OnUserCache.java similarity index 94% rename from server-spi/src/main/java/org/keycloak/models/cache/OnUserCache.java rename to model/legacy/src/main/java/org/keycloak/models/cache/OnUserCache.java index 319b5c55db..013c3c1f75 100644 --- a/server-spi/src/main/java/org/keycloak/models/cache/OnUserCache.java +++ b/model/legacy/src/main/java/org/keycloak/models/cache/OnUserCache.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Red Hat, Inc. and/or its affiliates + * Copyright 2022 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License");