For PMD.
This commit is contained in:
parent
77afc50350
commit
986b125a81
@ -24,6 +24,11 @@ import java.util.HashSet;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Identity context builder for Grpc.
|
||||||
|
*
|
||||||
|
* @author Nacos
|
||||||
|
*/
|
||||||
public class GrpcIdentityContextBuilder implements IdentityContextBuilder<Request> {
|
public class GrpcIdentityContextBuilder implements IdentityContextBuilder<Request> {
|
||||||
|
|
||||||
AuthConfigs authConfigs;
|
AuthConfigs authConfigs;
|
||||||
|
@ -25,6 +25,11 @@ import java.util.Enumeration;
|
|||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Identity context builder for HTTP.
|
||||||
|
*
|
||||||
|
* @author Nacos
|
||||||
|
*/
|
||||||
public class HttpIdentityContextBuilder implements IdentityContextBuilder<HttpServletRequest> {
|
public class HttpIdentityContextBuilder implements IdentityContextBuilder<HttpServletRequest> {
|
||||||
|
|
||||||
private AuthConfigs authConfigs;
|
private AuthConfigs authConfigs;
|
||||||
|
@ -23,6 +23,8 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* Page.
|
* Page.
|
||||||
* copy from config module for resolving circular dependency.
|
* copy from config module for resolving circular dependency.
|
||||||
|
*
|
||||||
|
* @author boyan
|
||||||
*/
|
*/
|
||||||
public class Page<E> implements Serializable {
|
public class Page<E> implements Serializable {
|
||||||
|
|
||||||
|
@ -10,6 +10,11 @@ import org.springframework.stereotype.Component;
|
|||||||
|
|
||||||
import javax.annotation.PostConstruct;
|
import javax.annotation.PostConstruct;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Auth persist service for embedded storage.
|
||||||
|
*
|
||||||
|
* @author Nacos
|
||||||
|
*/
|
||||||
@Conditional(value = ConditionOnEmbeddedStorage.class)
|
@Conditional(value = ConditionOnEmbeddedStorage.class)
|
||||||
@Component
|
@Component
|
||||||
public class AuthEmbeddedStoragePersistServiceImpl {
|
public class AuthEmbeddedStoragePersistServiceImpl {
|
||||||
|
@ -26,6 +26,11 @@ import org.springframework.stereotype.Component;
|
|||||||
|
|
||||||
import javax.annotation.PostConstruct;
|
import javax.annotation.PostConstruct;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Auth persist service for external storage.
|
||||||
|
*
|
||||||
|
* @author Nacos
|
||||||
|
*/
|
||||||
@SuppressWarnings(value = {"PMD.MethodReturnWrapperTypeRule", "checkstyle:linelength"})
|
@SuppressWarnings(value = {"PMD.MethodReturnWrapperTypeRule", "checkstyle:linelength"})
|
||||||
@Conditional(value = ConditionOnExternalStorage.class)
|
@Conditional(value = ConditionOnExternalStorage.class)
|
||||||
@Component
|
@Component
|
||||||
|
Loading…
Reference in New Issue
Block a user