JDBC Realm of Apache shiro's built-in Realm
Realm Profile:
Again, data domains, Shiro, and connectors for secure data are like jdbc connecting to databases; getting information about authentication and authorization through realm
realm effect:
Shiro retrieves security data from Realm
The default home realm:
idae looks at realm inheritance relationships with default implementations a ...
Posted by Gappa on Sun, 13 Oct 2019 11:11:33 -0700
Pod containers share Volume
Project background
In the following example, Pod contains two containers: tomcat and busybox. Volume "app-logs" is set at the Pod level for tomcat to write log files to and busybox to read log files.
# cat pod-volume-applogs.yaml
apiVersion: v1
kind: Pod
metadata:
name: volume-pod
spec:
containers:
- name: tomcat
image: tom ...
Posted by kshyju on Sun, 13 Oct 2019 10:33:33 -0700
Hive Homework - Return the name of the student with the highest score for each course
Assignment: Return the name of the student who scored the highest mark for each course.
t_score_data.txt
zhangsan math:90,english:60
lisi chinese:80,math:66,english:77
wangwu chinese:66,math:55,english:80
Return the names of the students for each course and for the highest score
chinese ...
Posted by nephish on Sun, 13 Oct 2019 10:23:26 -0700
[JavaWeb] JSTL tag library
JSTL tag library
JSTL Standard Label Library;
JSTL is used to simplify JSP development and improve code readability and maintainability.
JSTL is defined by SUN(Oracle) and implemented by Apache Tomcat team.
Reference to JSTL Core Library
Core is the most important tag library of JSTL, which provides the basic functions of JSTL.
<%@ taglib ...
Posted by farel on Sat, 12 Oct 2019 12:10:36 -0700
Maven's Core Concept
Maven's Core Concept
1. coordinates
Maven coordinates consist of main components (GAV) to determine the location of a jar package groupId: Defines the current Maven organization name artifactId: Define the actual project name Version: Defines the current version of the current project
2. Finding coordinates
Visit http://www.mvnrepository.co ...
Posted by Killswitch on Sat, 12 Oct 2019 10:36:01 -0700
Centos configuration Nginx+tomcat
1. installation
1.1 Install gcc gcc-c++ (If new environment is not installed, please install first)
$ yum install -y gcc gcc-c++
1.2 Installation of the PCR E Library
$ cd /usr/local/
$ wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.33/pcre-8.33.tar.gz
$ tar -zxvf pcre-8.36.tar.gz
$ cd ...
Posted by reub77 on Fri, 11 Oct 2019 12:05:42 -0700
Storm series: Create Maven project packages and submit wordcount to Storm cluster
Links to the original text: http://www.cnblogs.com/NewIdea/p/deploy-wordcount-topology.html
In the last blog, we passed Storm.Net.Adapter Create a Storm Topology - word count written in Csharp. This article describes how to write Java-s ...
Posted by phynias on Fri, 11 Oct 2019 10:46:43 -0700
Tomcat Source Analysis I: Compiling Tomcat Source Code
Tomcat Source Analysis I: Compiling Tomcat Source Code
1 Content Introduction
In the previous "Servlet and Tomcat Running Example" article, we will show you how to deploy Servlet application in Tomcat. This article will start Tomcat source code analysis journey on the basis of the above, I will analyze the starting process and operati ...
Posted by [JayZ] on Fri, 11 Oct 2019 01:01:54 -0700
Shiro Integrated SSM Based on URL Privilege Management
After learning shiro, we can say that we try to add Shiro to ssm and do a set of URL-based rights management.
Other preparatory work is not much to say, direct operation, see the effect and then understand.
Table structure
As follows, the database name can be changed by itself, but it should be consistent with the name of the database you cr ...
Posted by luiddog on Thu, 10 Oct 2019 05:32:51 -0700
Powerful! Nginx configuration on-line one-click generation of "artifacts"
Nginx, as a lightweight HTTP server, has obvious advantages over Apache. It occupies less resources in performance and can support more concurrent connections to improve access efficiency. It is a very excellent proxy server and load balancing server in function. It is easy to install and configure in installation.
Many articles on Nginx deplo ...
Posted by EternalSorrow on Thu, 10 Oct 2019 02:16:19 -0700