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 "Bernt M. Johnsen" <Be...@Sun.COM> on 2007/05/21 13:21:11 UTC

Should the property be named derby.connection.sslMode or derby.drda.sslMode?

When I implemented SSL I named the property for setting the ssl mode
of the server
  derby.drda.sslMode
to be conform with naming in the other server-related properties
  derby.drda.startNetworkServer
  derby.drda.logConnections
  derby.drda.traceAll
  derby.drda.trace
  derby.drda.traceDirectory
  derby.drda.minThreads
  derby.drda.maxThreads
  derby.drda.timeSlice
  derby.drda.securityMechanism
  derby.drda.portNumber
  derby.drda.host
  derby.drda.keepAlive
  derby.drda.streamOutBufferSize

while working with the documentation of SSL I noticed the property
  derby.connection.requireAuthentication
which is the only derby.connection.* property

It is obvious that "drda" is not a very good name here (unless the
property is drda-related, which none of the above are, except
derby.drda.securityMechanism which relates directly to a DRDA
mechanism) since it is just an implementation detail that we use DRDA.

So to my questions:
1) Should I name the property "derby.connection.sslMode"?
2) Should we have a policy for moving away from "derby.drda.*" for
server-related properties which are not related to DRDA?

If the answer to 1) is "no", I find it natural that
derby.connection.requireAuthentication was renamed to
derby.drda.requireAuthentication.

-- 
Bernt Marius Johnsen, Database Technology Group, 
Staff Engineer, Technical Lead Derby/Java DB
Sun Microsystems, Trondheim, Norway

Re: Should the property be named derby.connection.sslMode or derby.drda.sslMode?

Posted by "Bernt M. Johnsen" <Be...@Sun.COM>.
>>>>>>>>>>>> Daniel John Debrunner wrote (2007-05-21 07:13:08):
> Bernt M. Johnsen wrote:
> 
> >So to my questions:
> >1) Should I name the property "derby.connection.sslMode"?
> >2) Should we have a policy for moving away from "derby.drda.*" for
> >server-related properties which are not related to DRDA?
> >
> >If the answer to 1) is "no", I find it natural that
> >derby.connection.requireAuthentication was renamed to
> >derby.drda.requireAuthentication.
> 
> -1 to the latter, derby.connection.requireAuthentication is not related 
> to the network server ("drda"), it's a function of the embedded
> engine.

Yes of course, I was in "client/server" mode....

I will stick to derby.drda.sslMode since it seems that "drda" is
synonumous with "network server" in this respect. 
-- 
Bernt Marius Johnsen, Database Technology Group, 
Staff Engineer, Technical Lead Derby/Java DB
Sun Microsystems, Trondheim, Norway

Re: Should the property be named derby.connection.sslMode or derby.drda.sslMode?

Posted by Daniel John Debrunner <dj...@apache.org>.
Bernt M. Johnsen wrote:

> So to my questions:
> 1) Should I name the property "derby.connection.sslMode"?
> 2) Should we have a policy for moving away from "derby.drda.*" for
> server-related properties which are not related to DRDA?
> 
> If the answer to 1) is "no", I find it natural that
> derby.connection.requireAuthentication was renamed to
> derby.drda.requireAuthentication.

-1 to the latter, derby.connection.requireAuthentication is not related 
to the network server ("drda"), it's a function of the embedded engine.

Dan.