Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsd.download.* (1)jsd.ftp.* (110)jsd.gui.* (18)jsd.options.* (1)
jsd.telnet.* (3)jsd.updater.* (2)jsd.util.* (4)jsd.wizard.* (13)

jsd: Javadoc index of package jsd.


Package Samples:

jsd.download
jsd.ftp
jsd.ftp.gui
jsd.ftp.img
jsd.ftp.img.gif
jsd.ftp.io
jsd.ftp.jar
jsd.ftp.jar.view
jsd.ftp.server
jsd.ftp.server.ftp
jsd.ftp.server.ftp.gui
jsd.ftp.server.ftp.usermanager
jsd.ftp.server.gui
jsd.ftp.tpl
jsd.ftp.util
jsd.gui
jsd.options
jsd.telnet
jsd.updater
jsd.util

Classes:

Loader: Creates a set of certificates from a flat text file for testing. Each certificate appears on its own line. Blank lines are allowed, but comments are not. Name certs are specified as follows: ISSUER name -> SUBJECT [names...] For example, ALICE friends -> BOB BOB my-friends -> BOB sister BOB sister -> CAROL Note that we use uppercase for keys and lowercase for names for clarity, but this is not required. However, lines are case-sensitive, so "BOB" is different from "Bob" . Auth certs are specified as follows: ISSUER [!|+]tag -> SUBJECT [names...] where ! means ...
TelnetWrapper: The telnet wrapper is a sample class for how to use the telnet protocol handler of the JTA source package. To write a program using the wrapper you may use the following piece of code as an example: TelnetWrapper telnet = new TelnetWrapper(); try { telnet.connect(args[0], 23); telnet.login("user", "password"); telnet.setPrompt("user@host"); telnet.waitfor("Terminal type?"); telnet.send("dumb"); System.out.println(telnet.send("ls -l")); } catch(java.io.IOException e) { e.printStackTrace(); } Please keep in mind that the password is visible for anyone who can download the class file. So use this ...
DbUserManager: This is another database based user manager class. I have tested it using MySQL and Oracle database. The table structure is: CREATE TABLE FTP_USER ( LOGIN_ID VARCHAR(64) NOT NULL PRIMARY KEY, PASSWORD VARCHAR(64), HOME_DIR VARCHAR(128) NOT NULL, ENABLED VARCHAR(8) NOT NULL, WRITE_PERM VARCHAR(8) NOT NULL, IDLE_TIME INT NOT NULL, UPLOAD_RATE INT NOT NULL, DOWNLOAD_RATE INT NOT NULL )
FtpTree: This is FTP user interface tree structure. Currently it is very simple. It looks like: FTP | +-- User (User management) | +-- Ip (IP restrictions) | +-- Connection (Connection monitor) | +-- Spy (Spy user activities) | +-- Statistics (Global statistics) | +-- Upload (File upload statistics) | +-- Download (File download statistics) | +-- Delete (File deletion statistics) | +-- About (Ftp server summary)
Template: This class is used to load files into OutputStream after parsing the template file. It supports variables, for block, if-then-else block and iterator block. It has only one public method - loadFile(OutputStream, Map) . It also supports vector indexing. It stores the file data in a byte array. We may face some problems later due to character encoding. But for the time being it works fine. Template syntax.
CompatibleCertSelector: Selects all certificates whose subject is a name that starts with the specified issuer and string. That is, if the issuer is K and the string is S , this selects all certificates of the form (LHS -> "K S ...") , where LHS is the left-hand-side of the certificate and "K S ..." is a name.
FtpConnection: This class handles each ftp connection. Here all the ftp command methods take two arguments - a ftp request and a writer object. This is the main backbone of the ftp server. The ftp command method signature is: public void doXYZ(FtpRequest request, FtpWriter out) throws IOException . Here XYZ is the capitalized ftp command.
StreamConnector: Connect one java.io.InputStream with a java.io.OutputStream . Features: Buffered transfer or not (default unbuffered). Threaded transfer or not (default false). Set transfer rate limit (default no limit). Stop transfer at any time. Get current byte transferred. Transfer notification
Certificate: A Cert along with its validators (verification path, signature, and online test results). Whereas a Cert is simply an unauthenticated statement, a Certificate is self-validating and thus can be considered authentic if verify() succeeds. A Certificate is serialized as a SPKI/SDSI Sequence.
FtpStatus: Ftp status line parser class. This class loads FtpStatus.properties file from the classpath. It generates the descriptive ftp status for astatus code. The actual response depends on the status code, the ftp command and the passed argument list.
Threshold: A subject that can delegate authority to any K of N specified subjects. For example, if K is 2, N is 3, and the subjects are Alice, Bob, and Carol, any two of those subjects can pass on any authority granted to this subject (if delegation is permitted).
Proof: A statement (a Cert ) and a sequence of Certificates ( Certs + validators ) that proves that the statement holds. Proofs are self-validating and can be composed to create new proofs.
LdapUserManager: Ldap based user manager class. Tested using Netscape Directory Server 4.1. The LDAP requires the password to be nonempty for simple authentication. So instead of using empty string password (""), we will be using single space (" ").
Queue: Queue (first in first out) implementation. It supports two types of queues. Queue is empty throws NoSuchElementException. Queue is empty waits for the new element. Null values cannot be inserted.
TelnetProtocolHandler: This is a telnet protocol handler. The handler needs implementations for several methods to handle the telnet options and to be able to read and write the buffer. Maintainer: Marcus Meißner
FtpConfig: Ftp configuration class. It has all ftp server configuration parameters. This is not hot-editable. Parameters will be loaded once during server startup. We can add our own config parameters.
CertPathParameters: Parameters to the cert path builder and validator. Specifies the statement (a SPKI/SDSI cert) that needs to be proved or validated and the certificate store from which to fetch certificates.
ExprTag: Distinguishes tags defined by expressions from tags in general (the latter includes Tag.ALL_TAG and Tag.NULL_TAG). Only ExprTags can appear within other tags (like SetTags or SimpleTags).
Acl: An access control list (ACL) that restricts access to an object on the local system. The ACL contains a set of ACL entries that specify which principals may access the object and how.
AuthCert: A SPKI authorization certificate: conveys a permission (the Tag) from the issuer to the subject. If the propagate flag is set, the subject can further delegate the permission.
JarAllExtractor: This is JAR file extractor class. It extracts the JAR file in a separate thread. Where we are passing a MyJarObserver object to track the current status of this decompression.
JarExtractor: This is JAR file extractor class. It extracts the JAR file in a separate thread. Where we are passing a MyJarObserver object to track the current status of this decompression.
JarSelectiveExtractor: This is JAR file extractor class. It extracts the JAR file in a separate thread. Where we are passing a MyJarObserver object to track the current status of this decompression.
Prover: Given a statement (a Cert ) and a CertStore , attempts to construct a Proof that the statement holds using certificates from the store.

Home | Contact Us | Privacy Policy | Terms of Service