public interface AccessControlLogBinaryCommands
Modifier and Type | Method and Description |
---|---|
java.util.List<byte[]> |
aclCat(byte[] category)
Show the available ACLs for a given category.
|
java.util.List<byte[]> |
aclCatBinary()
Show the available ACL categories.
|
long |
aclDelUser(byte[] name)
Delete the specified user, from the ACL.
|
long |
aclDelUser(byte[] name,
byte[]... names)
Delete the specified users, from the ACL.
|
byte[] |
aclDryRunBinary(byte[] username,
byte[] command,
byte[]... args) |
byte[] |
aclDryRunBinary(byte[] username,
CommandArguments commandArgs) |
byte[] |
aclGenPassBinary()
Generate a random password
|
byte[] |
aclGenPassBinary(int bits)
Generate a random password
|
AccessControlUser |
aclGetUser(byte[] name)
The command returns all the rules defined for an existing ACL user.
|
java.util.List<byte[]> |
aclListBinary()
Returns the currently active ACL rules on the Redis Server
|
java.lang.String |
aclLoad()
This function tells Redis to reload its external ACL rules,
when Redis is configured with an external ACL file
|
java.util.List<byte[]> |
aclLogBinary()
Shows the recent ACL security events.
|
java.util.List<byte[]> |
aclLogBinary(int limit)
Shows the recent limit ACL security events.
|
java.lang.String |
aclLogReset()
Reset the script event log
|
java.lang.String |
aclSave()
Save the currently defined in-memory ACL to disk.
|
java.lang.String |
aclSetUser(byte[] name)
Create an ACL for the specified user with the default rules.
|
java.lang.String |
aclSetUser(byte[] name,
byte[]... keys)
Create an ACL for the specified user, while specifying the rules.
|
java.util.List<byte[]> |
aclUsersBinary()
Shows a list of all usernames currently configured with access control
lists (ACL).
|
byte[] |
aclWhoAmIBinary()
Returns the username used to authenticate the current connection.
|
byte[] aclWhoAmIBinary()
byte[] aclGenPassBinary()
byte[] aclGenPassBinary(int bits)
bits
- the number of output bitsjava.util.List<byte[]> aclListBinary()
java.util.List<byte[]> aclUsersBinary()
AccessControlUser aclGetUser(byte[] name)
name
- usernamejava.lang.String aclSetUser(byte[] name)
name
- user who receives an acljava.lang.String aclSetUser(byte[] name, byte[]... keys)
name
- user who receives an aclkeys
- the acl rules for the specified userlong aclDelUser(byte[] name)
name
- The username to deletelong aclDelUser(byte[] name, byte[]... names)
name
- The username to deletenames
- Other usernames to deletejava.util.List<byte[]> aclCatBinary()
java.util.List<byte[]> aclCat(byte[] category)
category
- The category for which to list available ACLsjava.util.List<byte[]> aclLogBinary()
java.util.List<byte[]> aclLogBinary(int limit)
limit
- The number of results to returnjava.lang.String aclLogReset()
java.lang.String aclLoad()
java.lang.String aclSave()
byte[] aclDryRunBinary(byte[] username, byte[] command, byte[]... args)
byte[] aclDryRunBinary(byte[] username, CommandArguments commandArgs)
Copyright © 2023. All rights reserved.