Hi there,
I noticed that I can’t add default permissions to a topic starting with $
(more precisely, $EDC
). No error is raised when adding the permission, but later when a client tries to publish on that topic, it gets disconnected. If I replace the dollar with an underscore, everything works fine. I know the $
has a special meaning, but I can’t find anything in the documentation regarding authentication that may explain this behaviour.
Here a very simplified snippet of my code (in my own implementation of the SimpleAuthenticator
interface):
public void onConnect(@NotNull final SimpleAuthInput input, @NotNull final SimpleAuthOutput output) {
var permissions = output.getDefaultPermissions();
permissions.add(topicPermission().topicFilter("$EDC/blabla").build());
output.authenticateSuccessfully();
}
Any help or explanation on this? Thanks a lot in advance.