Problems and solutions of front and rear end separation of springboot+shiro

Problem description In the process of upgrading the project to separate the front end from the back end, some problems have been encountered in shiro's permission control. Here are the problems and solutions recorded; Cross domain problems after using springboot+shiro to separate the front and back ends After the front end and back end of th ...

Posted by SecureMind on Sat, 05 Mar 2022 05:49:33 +0100

Python Turtle drawing [difficulty 2 stars]: Rainbow (completed in five steps)

I like turtle drawing, because a little change in the code will always bring unexpected surprises. Some cases that make me excited are shared with you and cherished to myself. ——Crawler on Python Teaching Road   The rainbow is so beautiful and moving that it spans from one end of the earth to the other, like a ring woven by f ...

Posted by ridgerunner on Sat, 05 Mar 2022 05:46:54 +0100

Another method of JSON serialization

I said three methods of JSON serialization in Python yesterday. Finally, I mentioned a method that can not only be directly JSON, but also be serialized in list, map or other uncontrollable frameworks. This is the following: class Food(dict): def __init__(self, name, origin, calories, price): dict.__init__(self, name=name, origin=origin ...

Posted by scritpkid on Sat, 05 Mar 2022 05:46:10 +0100

MySql connection query - internal connection and external connection

introduction In actual business development, data interaction between multiple tables is often involved. At this time, single table query can no longer meet complex business requirements, so multi table connection query is needed; Connection query is mainly divided into the following three types: Inner connection Equivalent connectionNon ...

Posted by chipev on Sat, 05 Mar 2022 05:34:47 +0100

angular content projection

1, Ng content for content projection 1.1 ng-content The ng content element is a placeholder for inserting external or dynamic content. The parent component passes the external content to the child component. When Angular parses the template, it will insert the external content where ng content appears in the child component template. We can ...

Posted by zzlong on Sat, 05 Mar 2022 05:32:51 +0100

Big data Hadoop 3 1.3 detailed introduction notes of HDFS

On the right side of the page, there is a directory index, which can jump to the content you want to see according to the titleIf not on the right, look for the left Main article link https://blog.csdn.net/grd_java/article/details/115639179Chapter I: environmental construction https://blog.csdn.net/grd_java/article/details/115693312 If you hav ...

Posted by algarve4me on Sat, 05 Mar 2022 05:22:59 +0100

Creation and use of C + + multithreading (basic use)

Difference between thread and process: Simply put, a process is the running thread of an exe. The thread is the execution of a code fragment in the process and the smallest unit of thread memory allocation Parallel: There can be multiple threads in a process, and the operation between threads can be parallel How to synchronize or ...

Posted by deejay1111 on Sat, 05 Mar 2022 05:21:43 +0100

Java learning notes -- operators and control statements

1, Operator 1.1.1 overview of operators Operator refers to the operation of operands. 1.1.2 arithmetic operators public class Test02 { public static void main(String[] args) { //Arithmetic operator //Addition, subtraction, multiplication and division int a = 10; int b = 3; System.out.println(a + ...

Posted by DaveSamuel on Sat, 05 Mar 2022 05:19:07 +0100

Branch statement, loop

Branch statements and loops 1.bool type bool has only true and false; In C language, there are tens of millions of true (non-0) and only one false (0) 1.1 several bool types int a = 0;//false char ch = '0';//true char ch2 = '\0';//false null character char ch3 = 0;//false int *ptr = NULL;//false null macro is defined as 0 in C 1.2 re ...

Posted by jameslloyd on Sat, 05 Mar 2022 05:09:52 +0100

[JAVA deserialization beginner] DNSLOG deserialization chain analysis

1. Application of dnslog chain 2. Use idea and ysoserial for debugging 3. Analyze the payload of ysosecial Application of DNSLOG chain Dnslog chain can only be used to prove the entry of deserialization and judge whether the target can go out of the network. Dnslog is used to judge the existence of deserialization vulnerability and whether th ...

Posted by snoopgreen on Sat, 05 Mar 2022 05:07:00 +0100