Create the SecurityManager instance based on the configuration (using Shiro’s Factory concept that represents the Factory Method design pattern).
根据配置创建SecurityManager实例(使用Shiro的工厂概念,它表述了 工厂方法设计模式);
When an API method is invoked, where instance-based authorization applies.
当调用应用基于实例授权的 API 方法时。
The class must implement an equals method based on these properties so the application server can ensure that it doesn't create more than one equivalent instance.
这个类必须根据这些属性实现一个equals方法,这样应用服务器就可以保证它不会创建一个以上同样的实例。
应用推荐