Documentation of 'org.hsqldb.rights.User' Java class
User
org.hsqldb.rights

Class User

  • All Implemented Interfaces:
    SchemaObject


    public class User
    extends Grantee
    A User Object extends Grantee with password for a particular database user.

    Since:
    1.8.0
    • Field Detail

      • isLocalOnly

        public boolean isLocalOnly
      • isExternalOnly

        public boolean isExternalOnly
    • Method Detail

      • getPasswordDigest

        public java.lang.String getPasswordDigest()
      • setPassword

        public void setPassword(java.lang.String password,
                                boolean isDigest)
      • checkPassword

        public void checkPassword(java.lang.String value)
        Checks if this object's password attibute equals specified argument, else throws.
      • setInitialSchema

        public void setInitialSchema(HsqlNameManager.HsqlName schema)
        This class does not have access to the SchemaManager, therefore caller should verify that the given schemaName exists.
        Parameters:
        schema - An existing schema. Null value allowed, which means use the DB default session schema.
      • getInitialSchemaSQL

        public java.lang.String getInitialSchemaSQL()
      • getLocalUserSQL

        public java.lang.String getLocalUserSQL()
        Returns the DDL string for local authentication.
      • getSetUserPasswordDigestSQL

        public static java.lang.String getSetUserPasswordDigestSQL(User user,
                                                                   java.lang.String password,
                                                                   boolean isDigest)
        Returns the SQL string for setting password digest.
      • getSetCurrentPasswordDigestSQL

        public static java.lang.String getSetCurrentPasswordDigestSQL(java.lang.String password,
                                                                      boolean isDigest)
        Returns the SQL string for setting password digest.
      • getConnectUserSQL

        public java.lang.String getConnectUserSQL()
        Retrieves the redo log character sequence for connecting this user
        Returns:
        the redo log character sequence for connecting this user

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.