zoukankan      html  css  js  c++  java
  • shiro源码学习(准备中)

    一。shiro框架中的常用接口:

      1.Subject:当前操作主体,表示当前操作用户

          默认实现:WebDelegatingSubject

      2.SecurityManager:安全管理器,Shiro最核心组件。由它来管理所有shiro内部组建

          默认实现:DefaultWebSecurityManager

      3.Realm:用户自定义部分。

          默认实现:由用户自己定义

      4.Authenticator:认证器

          默认实现:ModularRealmAuthenticator

      5.Authorizer:授权器

          默认实现:ModularRealmAuthorizer

      6.SessionManager:session管理器。

          默认实现:DefaultWebSessionManager

      7.CacheManager:缓存管理器

          默认实现:shiro默认不开启缓存,如果需要缓存,自己实现CacheManager

      8.CredentialsMatcher:密码匹配器   

          默认实现:SimpleCredentialsMatcher

  • 相关阅读:
    blocking to nonblocking of Python
    hug -- Embrace the APIs of the future
    supplychain on blockchain
    xstate -- JavaScript state machines and statecharts
    计算PI -- 采用刘徽的割圆术方法
    Gunicorn
    AIOHTTP
    APScheduler
    prefect
    FastAPI
  • 原文地址:https://www.cnblogs.com/step-and-step/p/13300526.html
Copyright © 2011-2022 走看看