This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | export nativeexecution.support package | ||
---|---|---|---|
Product: | cnd | Reporter: | ivan <ivan> |
Component: | execution | Assignee: | ilia |
Status: | NEW --- | ||
Severity: | normal | CC: | common_debugger |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 187113 |
Description
ivan
2010-06-03 03:33:42 UTC
What are the other usecases if such class is available in public part of API? If it can be used only for creation of external ssh sessions in other module? => it's hidden leak of jsch api through public interface of module anyway. + ssh has restrictions about number of sessions and channels per session which is preferable to be handled in one place. I do not agree to expose Authentication. to #1: "it's hidden leak of jsch api" - no, it is not, as Authentication doesn't expose any jsch-specific stuff. This is all ssh-related things (not about specific implementation of the protocol). So, from the one hand it is only about providing info related to selected way of authentication (in case of ssh)... From the other hand, I would agree that we should try to find more generic way for this.. (In reply to comment #1) > What are the other usecases if such class is available in public part of API? Authentication is just another property of a host. Properties like ssh port, whether a password is remembered, pathmappings, toolchains etc. So I'm going to turn the question around. Why should _any_ property be hidden? Even passwords are available via PasswordManager. (In reply to comment #2) > From the other hand, I would agree that we should try to find more generic way > for this.. I don't know about generic, but it seems straightforward to me. You have a hosts database with hosts that have properties. This is all a logical design and each property has it's place. I've been able to put all these properties to good use so far. Authentiation seems to be an exception (?) If by "generic" you mean "hide the fact that ssh is used" I'd say that's not a good approach. ssh is complicated enough that hiding the fact that ssh is being used will just confuse users when things stop working. |