db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "UserIdentifiers" by DanDebrunner
Date Thu, 25 Oct 2007 17:55:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:
http://wiki.apache.org/db-derby/UserIdentifiers

------------------------------------------------------------------------------
  ||<|2(> SQL identifiers ||<|2(> User identifier is a SQL identifier, section
5.4 SQL 2003. A regular identifier is upper-cased to its normal form, e.g. eve, eVe and EVE
all represent the user EVE. A delimited identifier (with double quotes) does not have any
case conversion to its normal form, e.g. "eVe" represents the user eVe. Note that the delimited
identifier "EVE" represents the user EVE which is the same user as the regular identifiers
eve, EVE and EvE etc. The normal user name represents how a user name is stored/processed
by the SQL engine in a SQL context, e.g. the system tables representing granted permissions.
Note that derby.* properties are not in the SQL context. || grantee in GRANT statement ||
  || grantee in REVOKE statement ||
  || || || ||
- || CURRENT USER expression ||  Returns the normal user name for the current user. E.g. returns
eVe for the user eVe and EVE for the user EVE. || VALUES CURRENT USER ||
+ ||<|3(> CURRENT USER expression ||<|3(>  Returns the normal user name for the
current user. E.g. returns eVe for the user eVe and EVE for the user EVE. || VALUES CURRENT
USER ||
+ || VALUES SESSION_USER ||
+ || VALUES {fn user()} ||
  || || || ||
- ||<|2(>  SQL Routine ||<|2(>  A system SQL routine requires the caller pass
in the normal user name, this is to align with the value being passed in from CURRENT USER
or a value obtained from a system table representing a user. || SYSCS_UTIL.SYSCS_SET_USER_ACCESS
[http://issues.apache.org/jira/browse/DERBY-3095 DERBY-3095] ||
+ ||<|2(>  SQL Routine ||<|2(>  A system SQL routine taking a USERNAME parameter
requires the caller pass in the normal user name, this is to align with the value being passed
in from CURRENT USER or a value obtained from a system table representing a user. || SYSCS_UTIL.SYSCS_SET_USER_ACCESS
[http://issues.apache.org/jira/browse/DERBY-3095 DERBY-3095] ||
  || SYSCS_UTIL.SYSCS_GET_USER_ACCESS [http://issues.apache.org/jira/browse/DERBY-3095 DERBY-3095]
||
  || || || ||
  ||<|3(> JDBC Connection request ||<|3(> Follows the rules of SQL identifiers
including support for delimited identifiers. || User named passed into method call, e.g. DataSource.setUser,
DriverManager.getConnection ||
  || User set as user property in DriverManager connection request ||
  || User name on JDBC URL ||
  || || || ||
- || JDBC DatabaseMetaData || ??? || ||
+ || JDBC !DatabaseMetaData || ??? || ||
  || derby.* properties || ??? || ||
+ || || || ||
+ ||<|2(> Derby BUILTIN authentication ||<|2(> Follows the rules of SQL identifiers
including support for delimited identifiers. || System property derby.user.''username''=''password''
||
+ || CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.user.username', 'password') ||
  || || || ||
  ||<|2(> Connection authorization ||<|2(> User names set in Java or database
properties. Documented as following the rules of SQL identifiers including support for delimited
identifiers. Thus derby.database.fullAccessUsers=eVe and derby.database.fullAccessUsers=EVE
have identical meaning. || derby.database.fullAccessUsers ||
  || derby.database.readOnlyAccessUsers ||

Mime
View raw message