You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Anders Morken (JIRA)" <de...@db.apache.org> on 2006/04/23 01:32:06 UTC

[jira] Commented: (DERBY-963) Allow user friendly string values for security mechanism in client connection url.

    [ http://issues.apache.org/jira/browse/DERBY-963?page=comments#action_12375834 ] 

Anders Morken commented on DERBY-963:
-------------------------------------

This can be fixed in o.a.derby.jdbc.ClientBaseDataSource#getSecurityMechanism(Properties properties), right? I'll give it a try. =)

> Allow user friendly string values for security mechanism in client connection url.
> ----------------------------------------------------------------------------------
>
>          Key: DERBY-963
>          URL: http://issues.apache.org/jira/browse/DERBY-963
>      Project: Derby
>         Type: Improvement

>   Components: Newcomer, Network Client
>     Versions: 10.2.0.0, 10.0.2.2, 10.1.3.0, 10.1.2.3, 10.1.1.0, 10.1.1.1, 10.1.1.2, 10.1.2.0, 10.1.2.2, 10.0.2.1, 10.0.2.0, 10.1.2.1
>     Reporter: Sunitha Kambhampati
>     Assignee: Anders Morken
>     Priority: Minor

>
> Overview:
> DRDA spec specifies the following secmec (securitymechanism) values.
> USRIDONL = 4
> USRIDPWD = 3
> EUSRIDPWD = 9
> Currently in the client url, one would have to pass in the integer value for securityMechanism. e.g.
> ij>connect 'testdb;securityMechanism=9;user=sa;password=p1';
> when using the datasource, the setSecurityMechanism(int) on the ClientDataSource can be used.
> Constants are
> ClientDataSource.CLEAR_TEXT_PASSWORD_SECURITY (0x03)
> ClientDataSource.USER_ONLY_SECURITY (0x04)
> ClientDataSource.ENCRYPTED_USER_AND_PASSWORD_SECURITY (0x09)
> Add support in client to recognize the user friendly names for the securityMechanism attribute. The values that should be accepted are CLEAR_TEXT_PASSWORD_SECURITY, USER_ONLY_SECURITY, ENCRYPTED_USER_AND_PASSWORD_SECURITY.
> --------
> To ensure that the old applications that were written to pass in an integer value for securityMechanism do not break with the new client , the client should probably support both the integer values as well as the string values.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira