Spring Boot integrated keyload

Preface Reference in this article A Quick Guide to Using Keycloak with Spring Boot , sort out the problems encountered in the actual combat. Docker installation keyload Download mirroring quay Download Image docker pull quay.io/keycloak/keycloak If you fail, try again. Start keyclock docker run -p 6060:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PA ...

Posted by julien on Mon, 13 Apr 2020 09:42:58 -0700

Two way authentication tutorial of openssl implementation (server code + client code + certificate generation)

1, Background 1.1 problems A recent product testing report suggested using pki based authentication. Since the product has implemented https, it is considered that it means using two-way authentication to deal with man in the middle attack. In information security engineering, two-way authentication has been contacted, but there are two pro ...

Posted by yankeefan238 on Mon, 13 Apr 2020 05:09:17 -0700

Thinkphp5+PHPMailer for sending mail

PHP needs to start the following services to send mail: SMTP: Simple Mail Transfer Protocol for sending mail POP3: Simple mail access protocol, one-way, local mail operations will not be synchronized to the mail server to receive mail IMAP: is a more complex mail access protocol than POP3. It is bidirectional, and local operations on mailboxes ...

Posted by dustbuster on Fri, 03 Apr 2020 07:54:38 -0700

How to realize the communication between multiple tabs in the same browser (2) -- cookie+setInterval

Two, cookie (1) What is a cookie? HTTP cookies, often called cookies directly, were originally used by clients to store callback information. The standard requires the server to send a Set-CookieHTTP header to any HTTP request as a corresponding part, which contains the callback information. The browser stores such re ...

Posted by elenev on Mon, 30 Mar 2020 22:32:31 -0700

Cassandra best practice configuration

In this article, we mainly introduce the related configurations of Cassandra. I will introduce the related configurations of Cassandra according to the horizontal dimension of cluster and node. I may not list some configurations here. Please refer to the detailed introduction in cassandra.yaml. How to configure Cassandra needs to be in the C un ...

Posted by mysqlnewjack on Mon, 23 Mar 2020 09:13:20 -0700

Passive way of collecting nginx logs by graylog2

Graylog can collect nginx logs in two ways: one is through the Graylog Collector Sidecar (active mode), and the other is through modifying the nginx configuration file (passive mode). This time, let's change the nginx configuration file (passive mode). The advantage of passive mode is that nginx sends the defined log fields to the user-defined ...

Posted by TheDefender on Sun, 15 Mar 2020 20:52:31 -0700

Install SSL certificate on Apache server and configure http jump https tutorial

Specific reference: Alicloud tutorial This paper is a summary of pit falling 1. In the section of modifying httpd.conf configuration file, you need to make the following settings #Loadmodule SSL ﹣ module modules / module ﹣ ssl.so ᦇ delete the comment symbol of configuration statement at the beginnin ...

Posted by uknowho008 on Sat, 14 Mar 2020 02:45:29 -0700

Java mail 163 email 163 email 163 how to apply for authorization code

Java send mail 163 email to 163 email, enterprise email, QQ email, etc As mentioned in the last article java sends QQ mail , and Several ways to send mail ; in this article, we will talk about how to match all mail in the enhanced version. The following Demo is to send a plain text email, but part o ...

Posted by Tindo on Fri, 13 Mar 2020 08:07:11 -0700

Spring Boot tutorial: how to develop a starter

How to develop a custom starter One or more custom configured property configuration classes (optional) One / more autoconfig classes The auto configuration class is written to the SPI mechanism configuration file of Spring Boot: spring.factories Introduction to Java SPI mechanism The core of S ...

Posted by vimukthi on Wed, 11 Mar 2020 00:11:34 -0700

Spring Boot 2.x Actual Warfare--First Spring Boot Program

Spring Boot 2.x Actual Warfare--First Spring Boot Program The Spring Boot 2.X Actual Warfare series will be divided into the following modules. This section will build a RESTful API and customize the return data and HTTP return codes, as well as the data passed to the API interface. The next section will integrate Log4j2 with Slf4j for log prin ...

Posted by sdyates2001 on Tue, 10 Mar 2020 09:42:36 -0700