db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Haase (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5522) Document the NATIVE authentication scheme.
Date Thu, 22 Mar 2012 20:38:22 GMT

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

Kim Haase updated DERBY-5522:
-----------------------------

    Attachment: NativeAuthenticationExample.java

It does, much better! Thanks! I could not have figured out how to start and stop the Network
Server programmatically -- this is useful to provide.

I would like to make a couple of small improvements -- one is to tell people how to compile,
since they now need to specify a classpath for that -- 

javac -cp ${DERBY_LIB}/derbynet.jar NativeAuthenticationExample.java

Also, I would like to insert the following in the execute() method, between the calls to verifyWriterPrivileges()
and dropTable( dboConn ), since there is currently no output to indicate that the user is
now the DBO again:

            println( "Using database owner connection again" );

I'm attaching a version with those changes and a couple more formatting consistency fixes
for the new code.
                
> 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: 10.9.0.0
>            Reporter: Rick Hillegas
>            Assignee: Kim Haase
>         Attachments: CreateNativeUsers.java, CreateNativeUsers.java, DERBY-5522-devguide.diff,
DERBY-5522-devguide.stat, DERBY-5522-devguide.zip, DERBY-5522-ref.diff, DERBY-5522-ref.stat,
DERBY-5522-ref.zip, NativeAuthExampleClient1.java, NativeAuthExampleClient2.java, NativeAuthExampleEmbedded.java,
NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java,
NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java, NativeAuthenticationExample.java,
NativeAuthenticationExample.java, NativeAuthenticationExample.java, NativeAuthenticationExample.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

        

Mime
View raw message