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, 15 Mar 2012 19:16:38 GMT

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

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

    Attachment: UseNativeUsers.java
                CreateNativeUsers.java

If you can see ways to improve the database-properties version of the NATIVE authentication
programs, that would be great.

In the meantime, I am trying to do something similar by using system properties and a separate
credentials DB, and I am totally perplexed. Probably this is yet another stupid user error
...

I created derby.properties with the following contents:

derby.authentication.provider=NATIVE:credsDB

I can run CreateNativeUsers just fine to create the credentials DB. But when I then try to
run UseNativeUsers, I get the following error:

 jdench 275 =>java -cp /export/home/chaase/javadbmore/codetrunk/trunk/jars/insane/derby.jar:.
UseNativeUsers
Trying to connect to jdbc:derby:nativeAuthDB;user=sysadm;password=i2have3power;create=true

---SQLException Caught---

SQLState:   XJ004
Severity: 40000
Message:  Database 'nativeAuthDB' not found.

I'm trying to create it, so this seems like a strange error.

I've attached the source files. Thanks for any help.
                
> 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, NativeAuthExampleClient1.java, NativeAuthExampleClient2.java,
NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java,
NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.java, NativeAuthExampleEmbedded.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