Skip to content

Commit 22aaf14

Browse files
committed
refactor(基础模块): 修复allowAnonymous失效
1 parent 4e9344b commit 22aaf14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hsweb-authorization/hsweb-authorization-basic/src/main/java/org/hswebframework/web/authorization/basic/define/DefaultBasicAuthorizeDefinition.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ public boolean isEmpty() {
4848
return false;
4949
}
5050

51+
@Override
52+
public boolean allowAnonymous() {
53+
return allowAnonymous;
54+
}
55+
5156
private static final Set<Class<? extends Annotation>> types = new HashSet<>(Arrays.asList(
5257
Authorize.class,
5358
DataAccess.class,

0 commit comments

Comments
 (0)