From 94b0e22fb9217097f1c313ab24f36dc195bec8e7 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Fri, 12 Jan 2024 22:00:27 +0100 Subject: [PATCH] Add `@Deprecated` annotation to deprecated profiles (#26174) Signed-off-by: Jon Koops --- common/src/main/java/org/keycloak/common/Profile.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/main/java/org/keycloak/common/Profile.java b/common/src/main/java/org/keycloak/common/Profile.java index 9d937e2a89..2e70768ae6 100755 --- a/common/src/main/java/org/keycloak/common/Profile.java +++ b/common/src/main/java/org/keycloak/common/Profile.java @@ -48,6 +48,8 @@ public class Profile { AUTHORIZATION("Authorization Service", Type.DEFAULT), ACCOUNT_API("Account Management REST API", Type.DEFAULT), + + @Deprecated ACCOUNT2("Account Management Console 2", Type.DEPRECATED, Feature.ACCOUNT_API), ACCOUNT3("Account Management Console 3", Type.DEFAULT, Feature.ACCOUNT_API), @@ -92,6 +94,7 @@ public class Profile { DPOP("OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer", Type.PREVIEW), + @Deprecated LINKEDIN_OAUTH("LinkedIn Social Identity Provider based on OAuth", Type.DEPRECATED), DEVICE_FLOW("OAuth 2.0 Device Authorization Grant", Type.DEFAULT),