User
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Routine | |
| private GranteeManager | |
| pack-priv Routine | pwCheckFunction
The function for password complexity. |
| private OrderedHashMap | userList
This object's set of User objects. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| public User | createUser(Session session, HsqlNameManager.
Creates a new User object under management of this object. |
| public void | |
| public boolean | |
| public User | |
| public List | |
| public List | |
| public User | Returns: theSYS_AUTHORIZATION_NAME
User objectReturns the specially constructed
|
| public User | |
| public OrderedHashMap | |
| public HsqlArrayList | Returns: a list ofUser objects visible to
the User object contained by the
session argument.The session)Session object used to determine
visibilityRetrieves the |
| public synchronized void | |
| public void | |
| public void | |
| public void |
| extAuthenticationFunction | back to summary |
|---|---|
| pack-priv Routine extAuthenticationFunction | |
| granteeManager | back to summary |
|---|---|
| private GranteeManager granteeManager | |
| pwCheckFunction | back to summary |
|---|---|
| pack-priv Routine pwCheckFunction The function for password complexity. | |
| userList | back to summary |
|---|---|
| private OrderedHashMap<String, User> userList This object's set of User objects. Note The special _SYSTEM role is not included in this list but the special PUBLIC User object is kept in the list because it's needed by MetaData routines via "listVisibleUsers(x, true)". | |
| UserManager | back to summary |
|---|---|
| public UserManager(Database database) Construction happens once for each Database instance. Creates special users PUBLIC_USER_NAME and SYSTEM_AUTHORIZATION_NAME. Sets up association with the GranteeManager for this database. | |
| checkComplexity | back to summary |
|---|---|
| public boolean checkComplexity(Session session, String password) | |
| createFirstUser | back to summary |
|---|---|
| public void createFirstUser(String username, String password) | |
| createUser | back to summary |
|---|---|
| public User createUser(Session session, HsqlNameManager. Creates a new User object under management of this object. A set of constraints regarding user creation is imposed:
| |
| dropUser | back to summary |
|---|---|
| public void dropUser(String name) Attempts to drop a User object with the specified name from this object's set. A successful drop action consists of:
| |
| exists | back to summary |
|---|---|
| public boolean exists(String name) | |
| get | back to summary |
|---|---|
| public User get(String name) Returns the User object identified by the name argument. | |
| getAuthenticationSQLArray | back to summary |
|---|---|
| public List | |
| getInitialSchemaSQLArray | back to summary |
|---|---|
| public List | |
| getSysUser | back to summary |
|---|---|
| public User getSysUser() Returns the specially constructed
| |
| getUser | back to summary |
|---|---|
| public User getUser(String name, String password) Returns the User object with the specified name and password from this object's set. | |
| getUsers | back to summary |
|---|---|
| public OrderedHashMap Retrieves this object's set of User objects as an associative list. | |
| listVisibleUsers | back to summary |
|---|---|
| public HsqlArrayList Retrieves the
If the
| |
| removeSchemaReference | back to summary |
|---|---|
| public synchronized void removeSchemaReference(HsqlNameManager. | |
| setExtAuthenticationFunction | back to summary |
|---|---|
| public void setExtAuthenticationFunction(Routine function) | |
| setPassword | back to summary |
|---|---|
| public void setPassword(Session session, User user, String password, boolean isDigest) | |
| setPasswordCheckFunction | back to summary |
|---|---|
| public void setPasswordCheckFunction(Routine function) | |