Apache Shiro security framework

1, What is Shiro security framework shrio is a powerful and flexible open source security framework, which mainly deals with authentication, authorization, session management and encryption. Authentication: sometimes referred to as "login", i.e. authentication of the user. Authori ...

Posted by Kev on Mon, 24 Feb 2020 20:55:28 -0800

Auto configuration data source of Springboot2.x

DataSourceAutoConfiguration @Configuration(proxyBeanMethods = false) @ConditionalOnClass({ DataSource.class, EmbeddedDatabaseType.class }) @EnableConfigurationProperties(DataSourceProperties.class) @Import({ DataSourcePoolMetadataProvidersConfiguration.class, DataSourceInitializationConfiguration.clas ...

Posted by jrobles on Sun, 23 Feb 2020 03:04:52 -0800

ElasticSearch uses RestHighLevelClient to search and query

There are four types of client connection methods in the Elasticsearch Java API: TransportClient, RestClient, Jest, and spring [data] Elasticsearch. Among them, TransportClient and RestClient are the native api of Elasticsearch. TransportClient will be deleted in version 8.0, instead of HighLevelRestCli ...

Posted by JOWP on Sat, 22 Feb 2020 19:20:16 -0800

How to call Ali SMS in springcloud project

Catalog premise Build SMS micro service 1. Introduce pom dependency 2. Preparation of yml documents 3. Create a new guide class 4. Create a new read configuration class 5. Create a new tool class (integrated Alibaba cloud code) 6. Create a new message listening class test   premise   ...

Posted by gibs on Fri, 21 Feb 2020 07:31:55 -0800

Realization of mail transmission in physical isolation environment based on james

background In order to protect the network security of high security level, the State Security Bureau issued the physical isolation requirements for the classified network on December 27, 1999, and promulgated and implemented the regulations on the confidentiality management of the international networking of computer information system on Jan ...

Posted by sith717 on Fri, 21 Feb 2020 04:40:10 -0800

Run alicloud server again. Start from scratch. log change server

For the first time /usr/local stay Official website Download the latest version http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.31/bin/apache-tomcat-9.0.31.tar.gz [root@*** local]# pwd /usr/local [root@*** local]# wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.30/bin/apache-tomcat- ...

Posted by JacobYaYa on Thu, 20 Feb 2020 03:22:16 -0800

Flink notes: Flink data saving redis (custom Redis Sink)

This paper mainly introduces the process that Flink reads Kafka data and sinks (Sink) data to Redis in real time. Through the following link: Flink official documents , we know that the fault tolerance mechanism for saving data to Redis is at least once. So we use idempotent operation and the principle ...

Posted by quak on Wed, 19 Feb 2020 20:38:23 -0800

[Enjoy Netflix]4, Apache Commons Configuration 2.x File Locator and FileHandler

Writing code is a personal accomplishment, not a requirement of the boss, not to show your colleagues ->Return to Column Directory <- Code download address: https://github.com/f641385712/netflix-learning Catalog Preface text FileBased File Location FileLocator FileLocatorUtils (Important) Th ...

Posted by tech603 on Tue, 18 Feb 2020 18:15:44 -0800

fastDFS is built by Docker

fastDFS is built by Docker Step 1: build a docker on the ECS https://blog.csdn.net/wjyyhhxit/article/details/83582588 It's almost the same with this blog. This blog uses Centos 7 Step 2: use Docker to pull the required image docker pull morunchang/fastdfs Because I use other methods to insta ...

Posted by Rabea on Tue, 18 Feb 2020 02:24:48 -0800

Ansible? Quick start

Ansible Article directory Ansible 1 Introduction to ansible 2 environment construction 3 Ansible installation 4 Ansible Inventory file 4.1 password based connection 4.2 connection based on secret key 4.3 use of host group 4.4 temporarily designated inventory 4.5 Inventory built in parameters 5 An ...

Posted by fredriksk on Mon, 17 Feb 2020 21:53:56 -0800