diff --git a/extensions/common/iam/oauth2/oauth2-core/README.md b/extensions/common/iam/oauth2/oauth2-core/README.md index e98bf54e209..19731d74173 100644 --- a/extensions/common/iam/oauth2/oauth2-core/README.md +++ b/extensions/common/iam/oauth2/oauth2-core/README.md @@ -1,5 +1,7 @@ # OAuth 2 Identity Service +**DEPRECATED**: this repo has been deprecated in version 0.10.0 and it will be deleted in the upcoming versions. + This extension provides an `IdentityService` implementation based on the OAuth2 protocol for authorization. ## Configuration diff --git a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceConfiguration.java b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceConfiguration.java index f28200348b5..29392178ac5 100644 --- a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceConfiguration.java +++ b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceConfiguration.java @@ -21,7 +21,10 @@ /** * Configuration values and dependencies for {@link Oauth2ServiceImpl}. + * + * @deprecated please switch to DCP. */ +@Deprecated(since = "0.10.0") @Settings public class Oauth2ServiceConfiguration { static final String ISSUED_AT_LEEWAY = "edc.oauth.validation.issued.at.leeway"; diff --git a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceDefaultServicesExtension.java b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceDefaultServicesExtension.java index 5b203fa1c7a..782f64ccc3b 100644 --- a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceDefaultServicesExtension.java +++ b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceDefaultServicesExtension.java @@ -22,7 +22,10 @@ /** * Provides default service implementations for fallback * Omitted {@link org.eclipse.edc.runtime.metamodel.annotation.Extension} since this module already contains {@link Oauth2ServiceExtension} + * + * @deprecated please switch to DCP. */ +@Deprecated(since = "0.10.0") public class Oauth2ServiceDefaultServicesExtension implements ServiceExtension { public static final String NAME = "OAuth2 Core Default Services"; diff --git a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java index 94aa811778a..b9193b24860 100644 --- a/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java +++ b/extensions/common/iam/oauth2/oauth2-core/src/main/java/org/eclipse/edc/iam/oauth2/Oauth2ServiceExtension.java @@ -51,9 +51,12 @@ /** * Provides OAuth2 client credentials flow support. + * + * @deprecated please switch to DCP. */ @Provides({ IdentityService.class }) @Extension(value = Oauth2ServiceExtension.NAME) +@Deprecated(since = "0.10.0") public class Oauth2ServiceExtension implements ServiceExtension { public static final String NAME = "OAuth2 Identity Service"; diff --git a/extensions/common/iam/oauth2/oauth2-service/README.md b/extensions/common/iam/oauth2/oauth2-service/README.md index 413d830858c..ac8e1434372 100644 --- a/extensions/common/iam/oauth2/oauth2-service/README.md +++ b/extensions/common/iam/oauth2/oauth2-service/README.md @@ -1,7 +1,9 @@ # OAuth 2 Service +**DEPRECATED**: this service has been deprecated in version 0.10.0 and it will be deleted in the upcoming versions. + This BOM provides a ready-to-use version of the [Oauth2 IdentityService](../oauth2-core) including the [Oauth2 Client](../oauth2-client) provided by the EDC. > **_NOTE:_** Unless you are sure of what you are doing, you do not want to implement your own Oauth2 Client in most cases. -> This BOM should thus be considered as the standard and recommended approach of embedding the Oauth2 Identity Service into your runtime. \ No newline at end of file +> This BOM should thus be considered as the standard and recommended approach of embedding the Oauth2 Identity Service into your runtime.