[
https://issues.apache.org/jira/browse/DERBY-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043000#comment-13043000
]
Tiago R. Espinha commented on DERBY-4795:
-----------------------------------------
I think this behavior is logical. Usually in usage descriptions, square
brackets mean an optional argument and the diamond symbols mean something that
is mandatory. Looking at the -ssl switch, the mode is mandatory.
suites.All has passed and no one has objected to this change, so I committed
this patch with revision 1130743.
@ Siddharth, I'm going to resolve this issue. When this changes get captured by
the daily regression runs, and provided that everything goes well, please go
ahead and close it.
> Starting network server with -ssl turns SSL off
> -----------------------------------------------
>
> Key: DERBY-4795
> URL: https://issues.apache.org/jira/browse/DERBY-4795
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.6.1.0
> Reporter: Knut Anders Hatlen
> Assignee: Siddharth Srivastava
> Labels: derby_triage10_8
> Attachments: d4795.diff
>
>
> If you start the network server with the -ssl option and no <sslmode>
> argument, the server will be started in plain text mode.
> For example:
> java -jar derbynet.jar start -ssl
> If -ssl is specified without <sslmode>, I would have expected that SSL was
> enabled (not sure which SSL mode, basic or peerAuthentication, is more
> appropriate) or that the command failed because of the missing argument.
> Treating "-ssl" as an alias for "-ssl off" sounds unintuitive to me.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira