db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5522) Document the NATIVE authentication scheme.
Date Tue, 20 Mar 2012 12:15:38 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233371#comment-13233371

Rick Hillegas commented on DERBY-5522:

Hi Kim,

Some more responses:

>So if you use ij with NATIVE authentication, you have to start it with JVM args or a derby.properties

Right. If you want Derby to mark the database as a credentials DB and put the  DBO's credentials
into SYS.SYSUSERS, then you need to specify derby.authentication.provider=NATIVE:myDB:LOCAL
(in command line properties or derby.properties) before you create the database. This is true
for any application, including ij. There's no special logic for ij.

>I was also going to mention that I am planning to add the material from the spec that
follows "Here's how Derby treats these new values for derby.authentication.provider:" to the
Developer's Guide topic cdevcsecurenativeauth (Using NATIVE authentication). I was going to
put it in the derby.authentication.provider reference topic, but I don't think it really fits
there -- it seems more conceptual.

This sounds good to me. If there's a pointer from the reference topic back to "Using NATIVE
authentication" then all bases are covered.

>I'm omitting the "Old databases" bullet because that seems more appropriate for the release
notes -- does that make sense? 

Agreed. Thanks!
> Document the NATIVE authentication scheme.
> ------------------------------------------
>                 Key: DERBY-5522
>                 URL: https://issues.apache.org/jira/browse/DERBY-5522
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions:
>            Reporter: Rick Hillegas
>            Assignee: Kim Haase
>         Attachments: CreateNativeUsers.java, CreateNativeUsers.java, DERBY-5522-devguide.diff,
DERBY-5522-devguide.stat, DERBY-5522-devguide.zip, NativeAuthExampleClient1.java, NativeAuthExampleClient2.java,
NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java,
NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java,
UseNativeUsers.java, UseNativeUsers.java
> We should document NATIVE authentication after we have implemented the changes described
on DERBY-866. The documentation changes are described by the functional spec UserManagement.html
attached to that issue.

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


View raw message