Uses of Class
com.aoindustries.aoserv.client.mysql.User.Name
Package
Description
-
Uses of User.Name in com.aoindustries.aoserv.client
Modifier and TypeMethodDescriptionprotected static User.Name
AoservObject.getMysqlUserName
(MysqlUserName mysqlUserId) null-safe MySQL user name conversion.Modifier and TypeMethodDescriptionint
SimpleAoservClient.addMysqlDbUser
(Database.Name name, Server.Name mysqlServer, String aoServer, User.Name username, boolean canSelect, boolean canInsert, boolean canUpdate, boolean canDelete, boolean canCreate, boolean canDrop, boolean canReference, boolean canIndex, boolean canAlter, boolean canCreateTempTable, boolean canLockTables, boolean canCreateView, boolean canShowView, boolean canCreateRoutine, boolean canAlterRoutine, boolean canExecute, boolean canEvent, boolean canTrigger) Grants aUserServer
permission to access aDatabase
.int
SimpleAoservClient.addMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer, String host) void
SimpleAoservClient.addMysqlUser
(User.Name username) Adds aUser
to the system.int
SimpleAoservClient.areMysqlUserPasswordsSet
(User.Name username) Determines if aUser
currently has passwords set.static List
<PasswordChecker.Result> SimpleAoservClient.checkMysqlPassword
(User.Name username, String password) Checks the strength of a password that will be used for aUserServer
.int
SimpleAoservClient.disableMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer, String disableReason) Disables aUserServer
.int
SimpleAoservClient.disableMysqlUser
(User.Name username, String disableReason) Disables aUser
.void
SimpleAoservClient.enableMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer) Enables aUserServer
.void
SimpleAoservClient.enableMysqlUser
(User.Name username) Enables aUser
.boolean
SimpleAoservClient.isMysqlServerUserPasswordSet
(User.Name username, Server.Name mysqlServer, String aoServer) Determines if aUserServer
currently has a password set.void
SimpleAoservClient.removeMysqlDbUser
(Database.Name name, Server.Name mysqlServer, String aoServer, User.Name username) Removes aDatabaseUser
from the system.void
SimpleAoservClient.removeMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer) Removes aUserServer
from a the system..void
SimpleAoservClient.removeMysqlUser
(User.Name username) Removes aUser
from a the system.void
SimpleAoservClient.setMysqlServerUserPassword
(User.Name username, Server.Name mysqlServer, String aoServer, String password) Sets the password for aUserServer
.void
SimpleAoservClient.setMysqlUserPassword
(User.Name username, String password) Sets the password for aUser
by settings the password for all of itsUserServer
s. -
Uses of User.Name in com.aoindustries.aoserv.client.aosh
Modifier and TypeMethodDescriptionstatic User.Name
Aosh.parseMysqlUserName
(String s, String field) -
Uses of User.Name in com.aoindustries.aoserv.client.mysql
Modifier and TypeFieldDescriptionstatic final User.Name
User.MYSQL_SESSION
The username of the MySQLmysql.session
user added in MySQL 5.7.static final User.Name
User.MYSQL_SYS
The username of the MySQLmysql.sys
user added in MySQL 5.7.static final User.Name
User.MYSQLMON
The default username for MySQL monitoring.protected User.Name
CachedObjectUserNameKey.pkey
static final User.Name
User.ROOT
The username of the MySQL super user.Modifier and TypeMethodDescriptionCachedObjectUserNameKey.getKey()
UserServer.getMysqlUser_username()
User.getUsername_id()
User.Name.intern()
static User.Name
Modifier and TypeMethodDescriptionvoid
UserTable.addMysqlUser
(User.Name username) static List
<PasswordChecker.Result> User.checkPassword
(User.Name username, String password) abstract V
Server.getMysqlServerUser
(User.Name username) static boolean
Special MySQL users may not be added or removed.