Skip to content

Commit

Permalink
Add @Deprecated annotation to deprecated profiles (keycloak#26174)
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops authored Jan 12, 2024
1 parent 5d3df39 commit 94b0e22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/src/main/java/org/keycloak/common/Profile.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public enum Feature {
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),

Expand Down Expand Up @@ -92,6 +94,7 @@ public enum Feature {

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),
Expand Down

0 comments on commit 94b0e22

Please sign in to comment.