db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Haase (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5763) Reference Guide should note the new casing rules for the USERNAME arguments to the NATIVE procedures
Date Wed, 16 May 2012 18:37:07 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kim Haase updated DERBY-5763:
-----------------------------

    Attachment: DERBY-5763.zip
                DERBY-5763.stat
                DERBY-5763.diff

I hope I've fixed all the relevant topics here. I'm attaching DERBY-5763.diff, DERBY-5763.stat,
and DERBY-5763.zip, with changes to the following topics:

M       src/ref/rrefnativecreateuserproc.dita
M       src/ref/rrefnativedropuserproc.dita
M       src/ref/rrefnativeresetpasswordproc.dita
M       src/devguide/cdevcsecure24458.dita
M       src/devguide/cdevcsecurenativeauth.dita

Please let me know what changes are needed.
                
> Reference Guide should note the new casing rules for the USERNAME arguments to the NATIVE
procedures
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5763
>                 URL: https://issues.apache.org/jira/browse/DERBY-5763
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.0.0
>            Reporter: Rick Hillegas
>            Assignee: Kim Haase
>         Attachments: DERBY-5763.diff, DERBY-5763.stat, DERBY-5763.zip
>
>
> The work on DERBY-5762 changed the behavior of the USERNAME arguments to the NATIVE procedures.
Now those arguments are case-sensitive only if you double-quote the username string. For example,
the following calls affect the same user, EDWARD:
>   call syscs_util.syscs_create_user( 'Edward', 'hisPassword' )
>   call syscs_util.syscs_create_user( 'EdWard', 'hisPassword' )
> ...while the following call affects a different user, EdWard:
>   call syscs_util.syscs_create_user( '"EdWard"', 'hisPassword' )
> The rule is this: without double quotes, the USERNAME argument is uppercased. To create
camel-case or lowercase users, you need to double-quote the USERNAME.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message