mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-01 18:35:37 +08:00
fix(基础模块): 修复allowAnonymous失效
This commit is contained in:
@@ -50,6 +50,11 @@ public class DefaultBasicAuthorizeDefinition implements AopAuthorizeDefinition {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean allowAnonymous() {
|
||||
return allowAnonymous;
|
||||
}
|
||||
|
||||
private static final Set<Class<? extends Annotation>> types = new HashSet<>(Arrays.asList(
|
||||
Authorize.class,
|
||||
DataAccess.class,
|
||||
|
||||
Reference in New Issue
Block a user