Allow me to contribute if I may. I did some experimenting (successful) with SSH that I am willing to share. It is not a library and probably not the best implementation, but includes code switch in and out of secure mode.
I am attaching the following Java class files:
BasicHandler.java -- interface for a basic handle in a MVC architecture.
SecureHandler.java -- extends the BasicHandler interface adding 2 get
methods.
LoginPageHandler.java -- a class that implements the SecureHandler
interface.
ControllerServlet.java -- the class that controls the mode switch.
Notes: These class files have not been cleaned up for this example. I
produced this code in the context of the Wake Tech J2EE Class Project by
reworking an example that I found somewhere on the web -- I could not locate
a reference copy on my machine, so can not refer you to my original source.
These class files are from my JISC (Java Island Specialty Coffees) class
hierarchy -- don't bother to try to find it on the web since it's not out
there.
I hope this helps.
Dennis Laws
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Ray Hooker
Sent: Thursday, July 31, 2003 12:33 PM
To: [EMAIL PROTECTED]
Subject: RE: [Juglist] Telnet Library
Any options for SSH libraries?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Erik Hatcher
Sent: Thursday, July 31, 2003 11:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [Juglist] Telnet Library
You're in luck.... Jakarta Commons Net:
http://jakarta.apache.org/commons/net/index.html
Its very robust and mature - it used to be called NetComponents.
Ant uses it for the <telnet> and <ftp> tasks.
Erik
On Tuesday, July 22, 2003, at 12:06 PM, Ray Hooker wrote:
>
> Does anyone have recommendations on a telnet library class? I have
> found the
> following: http://javassh.org/download/2.0/doc/Main.html
>
> There may be better choices. I would prefer something that is part of
> the
> official Sun Java SDK or one of the highly supported projects such as
> http://www.apache.org/. I did a search there but did not see any
> references
> to supported libraries.
>
> Ray
>
>
> _______________________________________________
> Juglist mailing list
> [EMAIL PROTECTED]
> http://trijug.org/mailman/listinfo/juglist_trijug.org
>
_______________________________________________
Juglist mailing list
[EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org
BasicHandler.java
Description: Binary data
SecureHandler.java
Description: Binary data
LoginPageHandler.java
Description: Binary data
ControllerServlet.java
Description: Binary data
