public class AuthRuleHandler extends Object implements org.noear.solon.core.handle.Filter
| Constructor and Description |
|---|
AuthRuleHandler() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface org.noear.solon.core.handle.FilterThrowableCopyright © 2025. All rights reserved.