java.lang.Object
org.firebirdsql.management.FBUser
- All Implemented Interfaces:
User
Deprecated.
Use the SQL user management statements instead, we currently do not plan to remove this API
A user in the Firebird Security Database.
- Author:
- Steven Jardine, Roman Rokytskyy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.Returns the password as set by setPassword.intDeprecated.Deprecated.inthashCode()Deprecated.voidsetFirstName(String firstName) Deprecated.Optional first name of the person using this user name.voidsetGroupId(int groupId) Deprecated.Optional group ID number, defined in /etc/group, to assign to the user in security database; reserved for future implementationvoidsetLastName(String lastName) Deprecated.Optional last name of the person using this user name.voidsetMiddleName(String middleName) Deprecated.Optional middle name of the person using this user name.voidsetPassword(String password) Deprecated.Password for the specified user.voidsetUserId(int userId) Deprecated.Optional user ID number, defined in /etc/passwd, to assign to the user in security database; reserved for future implementationvoidsetUserName(String userName) Deprecated.User name to create in security database.toString()Deprecated.
-
Constructor Details
-
FBUser
public FBUser()Deprecated.Create an instance of this class.
-
-
Method Details
-
getUserName
Deprecated.- Specified by:
getUserNamein interfaceUser- Returns:
- the username in the security database.
-
setUserName
Deprecated.Description copied from interface:UserUser name to create in security database. Maximum length is 31 characters. Mandatory for all operations. Must be unique.- Specified by:
setUserNamein interfaceUser- Parameters:
userName- User name
-
getPassword
Deprecated.Description copied from interface:UserReturns the password as set by setPassword. This will return null in most cases and is only provided for add and update user functionality.- Specified by:
getPasswordin interfaceUser- Returns:
- the password for the specified user.
-
setPassword
Deprecated.Description copied from interface:UserPassword for the specified user. Maximum length is 31 characters. Only first 8 characters are significant.- Specified by:
setPasswordin interfaceUser- Parameters:
password- Password
-
getFirstName
Deprecated.- Specified by:
getFirstNamein interfaceUser- Returns:
- first name of the person using this user name.
-
setFirstName
Deprecated.Description copied from interface:UserOptional first name of the person using this user name.- Specified by:
setFirstNamein interfaceUser- Parameters:
firstName- First name
-
getMiddleName
Deprecated.- Specified by:
getMiddleNamein interfaceUser- Returns:
- middle name of the person using this user name.
-
setMiddleName
Deprecated.Description copied from interface:UserOptional middle name of the person using this user name.- Specified by:
setMiddleNamein interfaceUser- Parameters:
middleName- Middle name
-
getLastName
Deprecated.- Specified by:
getLastNamein interfaceUser- Returns:
- last name of the person using this user name.
-
setLastName
Deprecated.Description copied from interface:UserOptional last name of the person using this user name.- Specified by:
setLastNamein interfaceUser- Parameters:
lastName- Last name
-
getUserId
public int getUserId()Deprecated. -
setUserId
public void setUserId(int userId) Deprecated.Description copied from interface:UserOptional user ID number, defined in /etc/passwd, to assign to the user in security database; reserved for future implementation -
getGroupId
public int getGroupId()Deprecated.- Specified by:
getGroupIdin interfaceUser- Returns:
- group id number.
-
setGroupId
public void setGroupId(int groupId) Deprecated.Description copied from interface:UserOptional group ID number, defined in /etc/group, to assign to the user in security database; reserved for future implementation- Specified by:
setGroupIdin interfaceUser- Parameters:
groupId- Id of the group
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-