| 程序包 | 说明 |
|---|---|
| org.noear.solon.auth | |
| org.noear.solon.auth.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
AuthRule |
AuthRule.exclude(String path) |
AuthRule |
AuthRule.failure(AuthFailureHandler handler) |
AuthRule |
AuthRule.include(String path) |
AuthRule |
AuthRule.verifyIp() |
AuthRule |
AuthRule.verifyLogined() |
AuthRule |
AuthRule.verifyPath() |
AuthRule |
AuthRule.verifyPermissions(String... permissions) |
AuthRule |
AuthRule.verifyPermissionsAnd(String... permissions) |
AuthRule |
AuthRule.verifyRoles(String... roles) |
AuthRule |
AuthRule.verifyRolesAnd(String... roles) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<AuthRule> |
AuthRuleHandler.rules() |
| 限定符和类型 | 方法和说明 |
|---|---|
AuthAdapter |
AuthAdapter.addRule(Consumer<AuthRule> builder)
添加一个授权规则
|
AuthAdapter |
AuthAdapter.addRules(Collection<AuthRule> rules)
添加一批授权规则
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AuthRuleImpl
授权规则默认实现
|
| 限定符和类型 | 方法和说明 |
|---|---|
AuthRule |
AuthRuleImpl.exclude(String pattern) |
AuthRule |
AuthRuleImpl.failure(AuthFailureHandler handler) |
AuthRule |
AuthRuleImpl.include(String pattern) |
AuthRule |
AuthRuleImpl.verifyIp() |
AuthRule |
AuthRuleImpl.verifyLogined() |
AuthRule |
AuthRuleImpl.verifyPath() |
AuthRule |
AuthRuleImpl.verifyPermissions(String... permissions) |
AuthRule |
AuthRuleImpl.verifyPermissionsAnd(String... permissions) |
AuthRule |
AuthRuleImpl.verifyRoles(String... roles) |
AuthRule |
AuthRuleImpl.verifyRolesAnd(String... roles) |
Copyright © 2021. All rights reserved.