Method for cross-system forcing user offline based on shiro and redis
A forced offline and cross-system technology, applied in the field of system security, can solve problems such as insufficient efficiency, increased difficulty in development and maintenance, and high difficulty in implementation, achieving the effects of fast processing speed, wide application range, and simple operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0039] In order to better illustrate the technical solution of the present invention, the basic principle of using shiro and redis for authority management is firstly introduced.
[0040] The Redis database is an in-memory database. Because it uses memory instead of hard disks to store data, it has a high access speed and is suitable for use as a data repository that requires frequent access and fast query speed.
[0041] It adopts the key-value method for data storage, and the saved data is passed to the key and value. The saved data can be set with an automatic expiration time. When this time is reached, the data will be automatically deleted. If it is not expired, reset the expiration time. , the old expiration time will be overwritten, and the updated data will be passed to the key and the new value; if the data is queried through the key, the value of the value will be returned; and when the deleted data is passed to the key, the specified data can also be deleted.
[004...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


