{'fraction_non_alphanumeric': 0.019230769230769232, 'fraction_numerical': 0.0, 'mean_word_length': 5.508333333333334, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Implementation of Permission Management Framework Based on Token through Shiro

Traditional permission management based on Session has many problems, such as high memory cost, unsuitable for mobile application, and not convenient for cross domain resource sharing. The permission management based on Token can solve the above problems better. Through the analysis of Token authentication process and the research of Apache Shiro architecture, a set of universal and easy access control model based on RBAC (Role-Based Access Control) is designed. JWT (JSON Web Token) is integrated and a security authentication framework based on Token is implemented. The practical application shows that the security authentication framework is flexible, which is easy to expand and transplant.