diff --git a/libs/server/Auth/GarnetACLAuthenticator.cs b/libs/server/Auth/GarnetACLAuthenticator.cs
index 05fa6ee01c..2dbe3e98f2 100644
--- a/libs/server/Auth/GarnetACLAuthenticator.cs
+++ b/libs/server/Auth/GarnetACLAuthenticator.cs
@@ -44,7 +44,7 @@ public GarnetACLAuthenticator(AccessControlList accessControlList, ILogger logge
///
/// Check if the user is authorized to execute commands.
///
- public bool IsAuthenticated => _user != null;
+ public virtual bool IsAuthenticated => _user != null;
///
/// ACL authenticator is can use ACL.
diff --git a/libs/server/Auth/GarnetAclWithAadAuthenticator.cs b/libs/server/Auth/GarnetAclWithAadAuthenticator.cs
index 0e26f0d7b8..7e82e132a5 100644
--- a/libs/server/Auth/GarnetAclWithAadAuthenticator.cs
+++ b/libs/server/Auth/GarnetAclWithAadAuthenticator.cs
@@ -38,5 +38,13 @@ protected override bool AuthenticateInternal(User user, ReadOnlySpan usern
}
return false;
}
+
+ public override bool IsAuthenticated
+ {
+ get
+ {
+ return this._garnetAuthenticator.IsAuthenticated && base.IsAuthenticated;
+ }
+ }
}
}
\ No newline at end of file