public interface AccessControlLogCommands
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
aclCat()
Show the available ACL categories.
|
java.util.List<java.lang.String> |
aclCat(java.lang.String category)
Show the available ACLs for a given category.
|
long |
aclDelUser(java.lang.String name)
Delete the specified user, from the ACL.
|
long |
aclDelUser(java.lang.String name,
java.lang.String... names)
Delete the specified users, from the ACL.
|
java.lang.String |
aclDryRun(java.lang.String username,
CommandArguments commandArgs) |
java.lang.String |
aclDryRun(java.lang.String username,
java.lang.String command,
java.lang.String... args) |
java.lang.String |
aclGenPass()
Generate a random password
|
java.lang.String |
aclGenPass(int bits)
Generate a random password
|
AccessControlUser |
aclGetUser(java.lang.String name)
The command returns all the rules defined for an existing ACL user.
|
java.util.List<java.lang.String> |
aclList()
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<AccessControlLogEntry> |
aclLog()
Shows the recent ACL security events.
|
java.util.List<AccessControlLogEntry> |
aclLog(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(java.lang.String name)
Create an ACL for the specified user with the default rules.
|
java.lang.String |
aclSetUser(java.lang.String name,
java.lang.String... keys)
Create an ACL for the specified user, while specifying the rules.
|
java.util.List<java.lang.String> |
aclUsers()
Shows a list of all usernames currently configured with access control
lists (ACL).
|
java.lang.String |
aclWhoAmI()
Returns the username used to authenticate the current connection.
|
java.lang.String aclWhoAmI()
java.lang.String aclGenPass()
java.lang.String aclGenPass(int bits)
bits
- the number of output bitsjava.util.List<java.lang.String> aclList()
java.util.List<java.lang.String> aclUsers()
AccessControlUser aclGetUser(java.lang.String name)
name
- usernamejava.lang.String aclSetUser(java.lang.String name)
name
- user who receives an acljava.lang.String aclSetUser(java.lang.String name, java.lang.String... keys)
name
- user who receives an aclkeys
- the acl rules for the specified userlong aclDelUser(java.lang.String name)
name
- The username to deletelong aclDelUser(java.lang.String name, java.lang.String... names)
name
- The username to deletenames
- Other usernames to deletejava.util.List<java.lang.String> aclCat()
java.util.List<java.lang.String> aclCat(java.lang.String category)
category
- The category for which to list available ACLsjava.util.List<AccessControlLogEntry> aclLog()
java.util.List<AccessControlLogEntry> aclLog(int limit)
limit
- The number of results to returnjava.lang.String aclLogReset()
java.lang.String aclLoad()
java.lang.String aclSave()
java.lang.String aclDryRun(java.lang.String username, java.lang.String command, java.lang.String... args)
java.lang.String aclDryRun(java.lang.String username, CommandArguments commandArgs)
Copyright © 2023. All rights reserved.