摘要: 1、shiro是什么 是一种功能强大(易于使用)的Java安全框架。 2、shiro可以做什么 Shiro提供了应用程序安全性API来执行以下方面(我喜欢将它们称为应用程序安全性的4个基石): Authentication(身份验证) 身份验证-证明用户身份,通常称为用户“登录”。 Authoriz 阅读全文
posted @ 2021-09-22 11:27 鱼自知 阅读(15) 评论(0) 推荐(0)
摘要: JDK动态代理 1 public interface DynamicInterface { 2 //定义一个接口 3 void eat(); 4 } 1 public class DynamicTarget implements DynamicInterface { 2 @Override //委托 阅读全文
posted @ 2021-09-22 11:25 鱼自知 阅读(31) 评论(0) 推荐(0)