diff --git a/auth/src/main/java/com/alibaba/nacos/auth/context/GrpcIdentityContextBuilder.java b/auth/src/main/java/com/alibaba/nacos/auth/context/GrpcIdentityContextBuilder.java index 56c16bddd..ecc5897cc 100644 --- a/auth/src/main/java/com/alibaba/nacos/auth/context/GrpcIdentityContextBuilder.java +++ b/auth/src/main/java/com/alibaba/nacos/auth/context/GrpcIdentityContextBuilder.java @@ -24,6 +24,11 @@ import java.util.HashSet; import java.util.Map; import java.util.Set; +/** + * Identity context builder for Grpc. + * + * @author Nacos + */ public class GrpcIdentityContextBuilder implements IdentityContextBuilder { AuthConfigs authConfigs; @@ -53,4 +58,4 @@ public class GrpcIdentityContextBuilder implements IdentityContextBuilder { private AuthConfigs authConfigs; @@ -71,4 +76,4 @@ public class HttpIdentityContextBuilder implements IdentityContextBuilder implements Serializable { diff --git a/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/embedded/AuthEmbeddedStoragePersistServiceImpl.java b/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/embedded/AuthEmbeddedStoragePersistServiceImpl.java index 5b76ea926..18acb15e7 100644 --- a/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/embedded/AuthEmbeddedStoragePersistServiceImpl.java +++ b/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/embedded/AuthEmbeddedStoragePersistServiceImpl.java @@ -10,6 +10,11 @@ import org.springframework.stereotype.Component; import javax.annotation.PostConstruct; +/** + * Auth persist service for embedded storage. + * + * @author Nacos + */ @Conditional(value = ConditionOnEmbeddedStorage.class) @Component public class AuthEmbeddedStoragePersistServiceImpl { diff --git a/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/externel/AuthExternalStoragePersistServiceImpl.java b/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/externel/AuthExternalStoragePersistServiceImpl.java index 2432db937..f681867eb 100644 --- a/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/externel/AuthExternalStoragePersistServiceImpl.java +++ b/auth/src/main/java/com/alibaba/nacos/auth/persist/repository/externel/AuthExternalStoragePersistServiceImpl.java @@ -26,6 +26,11 @@ import org.springframework.stereotype.Component; import javax.annotation.PostConstruct; +/** + * Auth persist service for external storage. + * + * @author Nacos + */ @SuppressWarnings(value = {"PMD.MethodReturnWrapperTypeRule", "checkstyle:linelength"}) @Conditional(value = ConditionOnExternalStorage.class) @Component