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.Set;
|
||||
|
||||
/**
|
||||
* Identity context builder for Grpc.
|
||||
*
|
||||
* @author Nacos
|
||||
*/
|
||||
public class GrpcIdentityContextBuilder implements IdentityContextBuilder<Request> {
|
||||
|
||||
AuthConfigs authConfigs;
|
||||
@ -53,4 +58,4 @@ public class GrpcIdentityContextBuilder implements IdentityContextBuilder<Reques
|
||||
}
|
||||
return identityContext;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,6 +25,11 @@ import java.util.Enumeration;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* Identity context builder for HTTP.
|
||||
*
|
||||
* @author Nacos
|
||||
*/
|
||||
public class HttpIdentityContextBuilder implements IdentityContextBuilder<HttpServletRequest> {
|
||||
|
||||
private AuthConfigs authConfigs;
|
||||
@ -71,4 +76,4 @@ public class HttpIdentityContextBuilder implements IdentityContextBuilder<HttpSe
|
||||
}
|
||||
return identityContext;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,6 +23,8 @@ import java.util.List;
|
||||
/**
|
||||
* Page.
|
||||
* copy from config module for resolving circular dependency.
|
||||
*
|
||||
* @author boyan
|
||||
*/
|
||||
public class Page<E> implements Serializable {
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user