You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redis DB
hi,all:
Redis can support a separate authentication module?
An authentication module that facilitates developers to meet their business needs, such as Kerberos authentication
Viktor Söderqvist
unread,
Jan 9, 2022, 1:40:25 PM1/9/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
Sorry for double post.
Update: It is actually possible to rewrite the calls to AUTH to use your
custom auth command. You need to use command filters.
I don't know why the RegisterCommandFilter function is not visible in
the Modules API docs. At least it is in the Redis source code in
src/modules.c.
Viktor
On 2022-01-09 19:34, Viktor Söderqvist wrote:
> Hi!
>
> Check out the ACL section in the Modules API:
> https://redis.io/topics/modules-api-ref#modules-acl-api >
> Using this and the CreateCommand API, it's possible to create a module
> which provides a custom authentication command like MY-KERBEROS-AUTH and
> then your clients need to use this instead of AUTH.
>
> If you want to use MY-KERBEROS-AUTH instead of AUTH, you can create a
> command filter using RegisterCommandFilter (I don't know why it's not
> visible in the API docs, but
>
> It is currently not possible to replace the backend used by the AUTH
> command. If you want that, you need to create an issue on GitHub.
>
> Cheers,
> Viktor