SpringBoot2 integrates Shiro framework for user rights management
Source code for this article: GitHub. Click here || GitEE. Click here
1. Introduction to Shiro
1. Basic concepts
Apache Shiro is a powerful and easy-to-use Java security framework for authentication, authorization, password, and session management.Shiro is cleverly designed as a security framework.Shiro's application does not depend on any con ...
Posted by mysqlnewjack on Tue, 03 Sep 2019 17:40:53 -0700
82 days break through 1000star, the project team sorted out eight aspects of open source software must pay attention to
Recently, we have opened source SIA-TASK on GitHub, and have harvested 1000 + star s in 82 days. Since this is the first open source project of SIA team, the related work of open source, the team did not have much experience before, so we have sorted out the various records of this open source project, hoping to provide reference for future op ...
Posted by Jeroen_nld on Mon, 02 Sep 2019 20:51:44 -0700
Introduction and Application of Shiro - --------------------------- Security Framework
Introduction to Shiro
Shiro is an open source project under Apache. It is a relatively simple and easy-to-use security framework. It provides authentication, authorization, encryption, session management and other functions.
Shiro's Three Core Components
Subject: Understandable as the current user principal, all Subjects are bound to a Security ...
Posted by printf on Sun, 01 Sep 2019 20:27:25 -0700
[Java Toolbox] Picture-Base64 Interchange
Preface
Recently I was really annoyed by the ability to upload pictures.In web projects, we often have business scenarios for uploading pictures, the most typical of which is uploading avatars.In order to solve the problem on the avatar, the following can be implemented:
Use multipart/form-data to upload user information and avatars, that is, ...
Posted by coreyk67 on Sun, 01 Sep 2019 09:22:15 -0700
Talk about Netty Server for dubbo
order
This article mainly studies Netty Server of dubbo.
AbstractServer
dubbo-2.7.3/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java
public abstract class AbstractServer extends AbstractEndpoint implements Server {
protected static final String SERVER_THREAD_POOL_NAME = "DubboServerHan ...
Posted by Barb54 on Fri, 30 Aug 2019 21:15:35 -0700
Real-time calculation of total order amount (Flume+kafka+storm+mysql) under multi-level distribution
1.flume configuration
Create a file that flume listens to instead of a kafka producer to transfer content to consumers. The configuration is as follows
###############to sinnsource,channel give a name###############a
kafka_agent.sources = kafka_source
kafka_agent.sinks = kafka_sink
kafka_agent.channels = kafka_channel
##############To ...
Posted by swissmant on Fri, 30 Aug 2019 02:52:43 -0700
How to use Skywalking Agent?
How to use Skywalking Agent?
If you don't know what Skywalking agent is, Please click here to see Probe perhaps Here's a quick look at agent Since most of my services are JAVA services, here are three ways to choose from using agent in Java
Three ways:
Using the Officially Provided Basic Mirror
Building agent packages into existing base images ...
Posted by tpstudent on Thu, 29 Aug 2019 21:19:07 -0700
Concurrent optimization of nginx single machine for 1w
Concurrent optimization of nginx single machine for 1wCatalogab toolIntegral Optimizing ThoughtSpecific optimization ideasWrite scripts to optimize concurrent configurationPerformance statistics toolstipssummary
ab toolab -c 10000 -n 200000 http://localhost/index.html
[root@study02 ~]# ab -c 10000 -n 100000 http://192.168.0.217/index.htmlThis i ...
Posted by rachae1 on Sat, 24 Aug 2019 02:40:41 -0700
Several Implementations of Uploading Files to go-fastdfs by Obtaining File Input Stream in Spring MVC/SpringBook Controller
This is a reprinted article, the reason for reprinting is that the original author missed an import of hutool, resulting in a waste of 5 hours, and the original author's article can not comment, hereby reprint + explanation.
It's this line of code that pitted me for five hours:import cn.hutool.core.io.resource.InputStreamResource;
Recently, man ...
Posted by Loafin on Thu, 22 Aug 2019 08:09:54 -0700
[Spring Boot] Project monitoring management using Spring Boot Admin
Project monitoring management using Spring Boot Admin
1. What is Spring Boot Admin
Spring Boot Admin (SBA) is a community open source project for managing and monitoring Spring Boot applications.Applications register to Spring Boot management clients through http, or through Spring Cloud's service discovery mechanism, then visually manage data ...
Posted by j0sh on Wed, 21 Aug 2019 10:44:11 -0700