public static class AclSetuserArgs.Builder extends Object
AclSetuserArgs.| Modifier and Type | Method and Description |
|---|---|
static AclSetuserArgs |
addCategory(AclCategory category)
Creates new
AclSetuserArgs and adds all the commands in the specified category to the list of commands the
user is able to execute. |
static AclSetuserArgs |
addCommand(CommandType command)
Creates new
AclSetuserArgs and adds this command to the list of the commands the user can call. |
static AclSetuserArgs |
addCommand(CommandType command,
ProtocolKeyword subCommand)
Creates new
AclSetuserArgs and adds the specified command to the list of the commands the user can execute. |
static AclSetuserArgs |
addHashedPassword(String hashedPassword)
Creates new
AclSetuserArgs and adds the specified hashed password to the list of user passwords. |
static AclSetuserArgs |
addPassword(String password)
Creates new
AclSetuserArgs and adds the specified clear text password as an hashed password in the list of
the users passwords. |
static AclSetuserArgs |
allChannels()
Creates new
AclSetuserArgs and allows the user to access all the Pub/Sub channels. |
static AclSetuserArgs |
allCommands()
Creates new
AclSetuserArgs and adds all the commands there are in the server. |
static AclSetuserArgs |
allKeys()
Creates new
AclSetuserArgs and allows the user to access all the keys. |
static AclSetuserArgs |
channelPattern(String channelPattern)
Creates new
AclSetuserArgs and adds accessible channel pattern. |
static AclSetuserArgs |
keyPattern(String keyPattern)
Creates new
AclSetuserArgs and adds accessible key pattern. |
static AclSetuserArgs |
noCommands()
Creates new
AclSetuserArgs and removes all the commands the user can execute. |
static AclSetuserArgs |
nopass()
Creates new
AclSetuserArgs and sets the user as a "no password". |
static AclSetuserArgs |
off()
Creates new
AclSetuserArgs and set user inactive. |
static AclSetuserArgs |
on()
Creates new
AclSetuserArgs and set user active. |
static AclSetuserArgs |
removeCategory(AclCategory category)
Creates new
AclSetuserArgs and removes all the commands in the specified category to the list of commands the
user is able to execute. |
static AclSetuserArgs |
removeCommand(CommandType command)
Creates new
AclSetuserArgs and removes this command to the list of the commands the user can call. |
static AclSetuserArgs |
removeCommand(CommandType command,
ProtocolKeyword subCommand)
Creates new
AclSetuserArgs and removes the specified command to the list of the commands the user can
execute. |
static AclSetuserArgs |
removeHashedPassword(String hashedPassword)
Creates new
AclSetuserArgs and removes the specified hashed password to the list of user passwords. |
static AclSetuserArgs |
removePassword(String password)
Creates new
AclSetuserArgs and removes the specified clear text password as an hashed password in the list of
the users passwords. |
static AclSetuserArgs |
reset()
Creates new
AclSetuserArgs and removes any capability from the user. |
static AclSetuserArgs |
resetChannels()
Creates new
AclSetuserArgs and removes all channel patterns from the list of Pub/Sub channel patterns the
user can access. |
static AclSetuserArgs |
resetKeys()
Creates new
AclSetuserArgs and removes all the key patterns from the list of key patterns the user can
access. |
static AclSetuserArgs |
resetpass()
Creates new
AclSetuserArgs and sets the user as having no associated passwords. |
public static AclSetuserArgs on()
AclSetuserArgs and set user active.AclSetuserArgs and set user active.AclSetuserArgs.on()public static AclSetuserArgs off()
AclSetuserArgs and set user inactive.AclSetuserArgs and set user inactive.AclSetuserArgs.off()public static AclSetuserArgs keyPattern(String keyPattern)
AclSetuserArgs and adds accessible key pattern.keyPattern - accessible key patternAclSetuserArgs and adds accessible key pattern.AclSetuserArgs.keyPattern(String)public static AclSetuserArgs allKeys()
AclSetuserArgs and allows the user to access all the keys.AclSetuserArgs and allows the user to access all the keys.AclSetuserArgs.allKeys()public static AclSetuserArgs resetKeys()
AclSetuserArgs and removes all the key patterns from the list of key patterns the user can
access.AclSetuserArgs and removes all the key patterns from the list of key patterns the user can
access.AclSetuserArgs.resetKeys()public static AclSetuserArgs channelPattern(String channelPattern)
AclSetuserArgs and adds accessible channel pattern.channelPattern - accessible channel patternAclSetuserArgs and adds accessible channel pattern.AclSetuserArgs.channelPattern(String)public static AclSetuserArgs allChannels()
AclSetuserArgs and allows the user to access all the Pub/Sub channels.AclSetuserArgs and allows the user to access all the Pub/Sub channels.AclSetuserArgs.allChannels()public static AclSetuserArgs resetChannels()
AclSetuserArgs and removes all channel patterns from the list of Pub/Sub channel patterns the
user can access.AclSetuserArgs and removes all channel patterns from the list of Pub/Sub channel patterns the
user can access.AclSetuserArgs.resetChannels()public static AclSetuserArgs addCommand(CommandType command)
AclSetuserArgs and adds this command to the list of the commands the user can call.command - accessible commandAclSetuserArgs and adds this command to the list of the commands the user can call.AclSetuserArgs.addCommand(CommandType)public static AclSetuserArgs addCommand(CommandType command, ProtocolKeyword subCommand)
AclSetuserArgs and adds the specified command to the list of the commands the user can execute.command - accessible commandsubCommand - accessible subcommandAclSetuserArgs and adds the specified command to the list of the commands the user can execute.AclSetuserArgs.addCommand(CommandType, ProtocolKeyword)public static AclSetuserArgs allCommands()
AclSetuserArgs and adds all the commands there are in the server.AclSetuserArgs and adds all the commands there are in the server.AclSetuserArgs.allCommands()public static AclSetuserArgs removeCommand(CommandType command)
AclSetuserArgs and removes this command to the list of the commands the user can call.command - inaccessible commandAclSetuserArgs and removes this command to the list of the commands the user can call.AclSetuserArgs.removeCommand(CommandType)public static AclSetuserArgs removeCommand(CommandType command, ProtocolKeyword subCommand)
AclSetuserArgs and removes the specified command to the list of the commands the user can
execute.command - inaccessible commandsubCommand - inaccessible subcommandAclSetuserArgs and removes the specified command to the list of the commands the user can
execute.AclSetuserArgs.removeCommand(CommandType, ProtocolKeyword)public static AclSetuserArgs noCommands()
AclSetuserArgs and removes all the commands the user can execute.AclSetuserArgs and removes all the commands the user can execute.AclSetuserArgs.noCommands()public static AclSetuserArgs addCategory(AclCategory category)
AclSetuserArgs and adds all the commands in the specified category to the list of commands the
user is able to execute.category - specified categoryAclSetuserArgs and adds all the commands in the specified category to the list of commands the
user is able to execute.AclSetuserArgs.addCategory(AclCategory)public static AclSetuserArgs removeCategory(AclCategory category)
AclSetuserArgs and removes all the commands in the specified category to the list of commands the
user is able to execute.category - specified categoryAclSetuserArgs and removes all the commands in the specified category to the list of commands the
user is able to execute.AclSetuserArgs.removeCategory(AclCategory)public static AclSetuserArgs nopass()
AclSetuserArgs and sets the user as a "no password".AclSetuserArgs and sets the user as a "no password".AclSetuserArgs.nopass()public static AclSetuserArgs resetpass()
AclSetuserArgs and sets the user as having no associated passwords.AclSetuserArgs and sets the user as having no associated passwords.AclSetuserArgs.resetpass()public static AclSetuserArgs addPassword(String password)
AclSetuserArgs and adds the specified clear text password as an hashed password in the list of
the users passwords.password - clear text passwordAclSetuserArgs and adds the specified clear text password as an hashed password in the list of
the users passwords.AclSetuserArgs.addPassword(String)public static AclSetuserArgs addHashedPassword(String hashedPassword)
AclSetuserArgs and adds the specified hashed password to the list of user passwords.hashedPassword - hashed passwordAclSetuserArgs and adds the specified hashed password to the list of user passwords.AclSetuserArgs.addHashedPassword(String)public static AclSetuserArgs removePassword(String password)
AclSetuserArgs and removes the specified clear text password as an hashed password in the list of
the users passwords.password - clear text passwordAclSetuserArgs and removes the specified clear text password as an hashed password in the list of
the users passwords.AclSetuserArgs.removePassword(String)public static AclSetuserArgs removeHashedPassword(String hashedPassword)
AclSetuserArgs and removes the specified hashed password to the list of user passwords.hashedPassword - hashed passwordAclSetuserArgs and removes the specified hashed password to the list of user passwords.AclSetuserArgs.removeHashedPassword(String)public static AclSetuserArgs reset()
AclSetuserArgs and removes any capability from the user.AclSetuserArgs and removes any capability from the user.AclSetuserArgs.reset()Copyright © 2025 lettuce.io. All rights reserved.