Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services

Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services This project is a hands-on project I made, using the SpringCloudAlibaba microservice architecture. When I was working on the authentication module, I remembered the Sa-Token project I had seen online before. It was called the Light of Domestic Authentication, so I checked their documentation […]

Basic Spring annotation method to build architecture and query data

1. Annotation (1) Traditional annotation Annotation Description @Component Used on classes to instantiate Beans @Controller Used on web layer classes to instantiate Beans @Service Used on the service layer class to instantiate Bean @Repository Used on dao layer classes to instantiate beans @Autowired Used on fields for type dependency injection @Qualifer Used in conjunction with […]

[Analysis of Spring’s underlying core architecture concepts]

Article directory 1. BeanDefinition 2. BeanDefinitionReader 2.1. AnnotatedBeanDefinitionReader 2.2.XmlBeanDefinitionReader 5. ClassPathBeanDefinitionScanner 6. BeanFactory 7. ApplicationContext 7.1. AnnotationConfigApplicationContext 7.2. ClassPathXmlApplicationContext 8. Type conversion 8.1.PropertyEditor 8.2.ConversionService 8.3. TypeConverter 9. FactoryBean 10. ExcludeFilter and IncludeFilter 11. MetadataReader, ClassMetadata, AnnotationMetadata Prepare the test object User in advance: public class User {<!– –> public User(int flag, String uuid){<!– –> System.out.println(flag […]

[OpenCV image implementation: White balance algorithm using OpenCV image processing techniques]

Article directory summary Load sample image Statistical data analysis White Patch Algorithm summary Summary White balance technology plays a vital role in photography and image processing. Under different lighting conditions, the camera may not accurately capture the true color of an object, resulting in images that appear dull, unnatural in tone, or washed out. In […]

[MT8766][Android12] Add application installation whitelist or blacklist

Article directory Basic information of development platform Problem Description Solution Basic information on development platform Chip: MT8766 Version: Android 12 kernel: msm-4.19 Problem description During project development, some customers often require the system to perform signature verification when installing applications; that is, the system does not allow any application installation by default. When the application […]

[MySQL5.7 Kirin system, offline installation under ARM architecture, building master-slave cluster]

MySQL5.7 Master-Slave Cluster Deployment Manual 1. Check the local operating system #Be sure to check the operating system of the machine, whether it is amd (x86) or arm (aarch) architecture uname -a cat /etc/os-release Note: MsSQL8.0 has only supported arm architecture since then. We can go to a third party to download the compiled installation […]

Android 11 adds all privileged permissions whitelist

Environment Android 11 SDK Requirements After modifying some built-in system APPs and adding some permissions, it may cause the problem of restarting after burning the firmware. When running logcat, an error similar to the following will be printed: 023-11-08 11:36:23.854 4173-4173/system_process E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions […]