Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is an example in OS X.

Method 1 (Invoke an executable) - Registration Dialog - OS X exampleImage RemovedImage Added

The contents of retrieve_username.sh (hard-coded for illustration purposes). This file echoes "root" which is passed to Aqua Data Studio and then Aqua Data Studio passes "root" for the "Login Name" credential.

method 1 file contentsImage RemovedImage Added

Below is an example in Windows showing the Login Name referring to retrieve_username.bat and a command prompt showing the contents of the retrieve_username.bat file.

Method 1 (Invoke an executable) - Registration Dialog - Windows ExampleImage RemovedImage Added

Method 2 (Instantiate the Java classname specified)

...

With this approach, Aqua Data Studio will attempt to instantiate the classname specified. If instantiated successfully, Aqua Data Studio will then invoke the class's getUserName() / getPassword() method. The value returned from this method will be used for username/password.

method 2 registration dialogImage RemovedImage Added

Contents of Java class CredentialPrototype: (hard-coded the username for illustration purposes)

method 2 java contentsImage RemovedImage Added

Method 3 (Retrieve password or username from Secure Storage)

...

As an example, let us add a password in Secure Storage and make its property hidden. Next, in the Server Registration window, specify ~`credsecure::password`~ in the Password field, to retrieve the credentials from Secure Storage. Once you try to connect to the Database Server, Aqua Data Studio will decrypt the value for the password field specified in Secure Storage, use it as the password and connect to the Database Server.

method 3 secure storage optionImage RemovedImage Added

In your register server dialog, for a corresponding entry for your database Username, you specify the value in the format:

...