org.firebirdsql.management
Class FBUser
java.lang.Object
org.firebirdsql.management.FBUser
- User
public class FBUser
extends java.lang.Object
A user in the Firebird Security Database.
FBUser() - Create an instance of this class.
|
boolean | equals(Object obj)
|
String | getFirstName()
|
int | getGroupId()
|
String | getLastName()
|
String | getMiddleName()
|
String | getPassword() - Returns the password as set by setPassword.
|
int | getUserId()
|
String | getUserName()
|
int | hashCode()
|
void | setFirstName(String firstName) - Optional first name of the person using this user name.
|
void | setGroupId(int groupId) - Optional group ID number, defined in /etc/group, to assign to the user in
security database; reserved for future implementation
|
void | setLastName(String lastName) - Optional last name of the person using this user name.
|
void | setMiddleName(String middleName) - Optional middle name of the person using this user name.
|
void | setPassword(String password) - Password for the specified user.
|
void | setUserId(int userId) - Optional user ID number, defined in /etc/passwd, to assign to the user in
security database; reserved for future implementation
|
void | setUserName(String userName) - User name to create in security database.
|
String | toString()
|
FBUser
public FBUser()
Create an instance of this class.
equals
public boolean equals(Object obj)
getFirstName
public String getFirstName()
- getFirstName in interface User
- first name of the person using this user name.
getLastName
public String getLastName()
- getLastName in interface User
- last name of the person using this user name.
getMiddleName
public String getMiddleName()
- getMiddleName in interface User
- middle name of the person using this user name.
getPassword
public String getPassword()
Returns the password as set by setPassword. This will return null in most
cases and is only provided for add and update user functionality.
- getPassword in interface User
- the password for the specified user.
getUserName
public String getUserName()
- getUserName in interface User
- the username in the security database.
hashCode
public int hashCode()
setFirstName
public void setFirstName(String firstName)
Optional first name of the person using this user name.
- setFirstName in interface User
setGroupId
public void setGroupId(int groupId)
Optional group ID number, defined in /etc/group, to assign to the user in
security database; reserved for future implementation
- setGroupId in interface User
setLastName
public void setLastName(String lastName)
Optional last name of the person using this user name.
- setLastName in interface User
setMiddleName
public void setMiddleName(String middleName)
Optional middle name of the person using this user name.
- setMiddleName in interface User
setPassword
public void setPassword(String password)
Password for the specified user. Maximum length is 31 characters. Only
first 8 characters are significant.
- setPassword in interface User
setUserId
public void setUserId(int userId)
Optional user ID number, defined in /etc/passwd, to assign to the user in
security database; reserved for future implementation
- setUserId in interface User
setUserName
public void setUserName(String userName)
User name to create in security database. Maximum length is 31
characters. Manditory for all operations. Must be unique.
- setUserName in interface User
toString
public String toString()
Copyright B) 2001 David Jencks and other authors. All rights reserved.