public interface AccessControlLogCommands
| Modifier and Type | Method and Description |
|---|---|
List<String> |
aclCat()
Show the available ACL categories.
|
List<String> |
aclCat(String category)
Show the available ACLs for a given category.
|
long |
aclDelUser(String name)
Delete the specified user, from the ACL.
|
long |
aclDelUser(String name,
String... names)
Delete the specified users, from the ACL.
|
String |
aclDryRun(String username,
CommandArguments commandArgs) |
String |
aclDryRun(String username,
String command,
String... args) |
String |
aclGenPass()
Generate a random password
|
String |
aclGenPass(int bits)
Generate a random password
|
AccessControlUser |
aclGetUser(String name)
The command returns all the rules defined for an existing ACL user.
|
List<String> |
aclList()
Returns the currently active ACL rules on the Redis Server
|
String |
aclLoad()
This function tells Redis to reload its external ACL rules,
when Redis is configured with an external ACL file
|
List<AccessControlLogEntry> |
aclLog()
Shows the recent ACL security events.
|
List<AccessControlLogEntry> |
aclLog(int limit)
Shows the recent limit ACL security events.
|
String |
aclLogReset()
Reset the script event log
|
String |
aclSave()
Save the currently defined in-memory ACL to disk.
|
String |
aclSetUser(String name)
Create an ACL for the specified user with the default rules.
|
String |
aclSetUser(String name,
String... keys)
Create an ACL for the specified user, while specifying the rules.
|
List<String> |
aclUsers()
Shows a list of all usernames currently configured with access control
lists (ACL).
|
String |
aclWhoAmI()
Returns the username used to authenticate the current connection.
|
String aclWhoAmI()
String aclGenPass()
String aclGenPass(int bits)
bits - the number of output bitsList<String> aclList()
List<String> aclUsers()
AccessControlUser aclGetUser(String name)
name - usernameString aclSetUser(String name)
name - user who receives an aclString aclSetUser(String name, String... keys)
name - user who receives an aclkeys - the acl rules for the specified userlong aclDelUser(String name)
name - The username to deletelong aclDelUser(String name, String... names)
name - The username to deletenames - Other usernames to deleteList<String> aclCat()
List<String> aclCat(String category)
category - The category for which to list available ACLsList<AccessControlLogEntry> aclLog()
List<AccessControlLogEntry> aclLog(int limit)
limit - The number of results to returnString aclLogReset()
String aclLoad()
String aclSave()
String aclDryRun(String username, CommandArguments commandArgs)
Copyright © 2022. All rights reserved.