public class AuthRuleHandler extends Object implements org.noear.solon.core.handle.Filter
| 构造器和说明 |
|---|
AuthRuleHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRule(AuthRule rule) |
void |
doFilter(org.noear.solon.core.handle.Context ctx,
org.noear.solon.core.handle.FilterChain chain) |
protected void |
handle(org.noear.solon.core.handle.Context ctx) |
void |
setPathPrefix(String pathPrefix)
设置规则路径前缀(用于支持 AuthAdapterSupplier 的前缀特性)
|
public void setPathPrefix(String pathPrefix)
public void addRule(AuthRule rule)
public void doFilter(org.noear.solon.core.handle.Context ctx,
org.noear.solon.core.handle.FilterChain chain)
throws Throwable
doFilter 在接口中 org.noear.solon.core.handle.FilterThrowableCopyright © 2024. All rights reserved.