[prev in list] [next in list] [prev in thread] [next in thread]
List: mina-commits
Subject: [1/2] mina-sshd git commit: Fix javadocs errors reported on JDK 8 which cause build to fail
From: gnodet () apache ! org
Date: 2014-11-17 20:12:47
Message-ID: bfafb0c9d4004ef4896558a82df65a92 () git ! apache ! org
[Download RAW message or body]
Repository: mina-sshd
Updated Branches:
refs/heads/master 4ad43dd16 -> 4b7a87f1a
Fix javadocs errors reported on JDK 8 which cause build to fail
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/b0cce8c0
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/b0cce8c0
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/b0cce8c0
Branch: refs/heads/master
Commit: b0cce8c01cb5a69774ef57d5cd06bbbe85563a57
Parents: 4ad43dd
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Tue Oct 21 15:28:37 2014 +0200
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Tue Oct 21 15:28:37 2014 +0200
----------------------------------------------------------------------
.../java/org/apache/sshd/ClientSession.java | 12 +--
.../main/java/org/apache/sshd/SshClient.java | 16 +--
.../java/org/apache/sshd/common/Closeable.java | 6 +-
.../java/org/apache/sshd/common/Session.java | 4 +-
.../org/apache/sshd/common/TcpipForwarder.java | 4 +-
.../keyprovider/ResourceKeyPairProvider.java | 9 +-
.../sshd/common/session/ConnectionService.java | 2 +-
.../sshd/common/util/DirectoryScanner.java | 100 +++++++++----------
.../apache/sshd/common/util/SelectorUtils.java | 20 ++--
.../sshd/server/ServerFactoryManager.java | 2 +-
.../java/org/apache/sshd/server/UserAuth.java | 4 +-
.../sshd/server/auth/gss/UserAuthGSS.java | 8 +-
.../apache/sshd/server/shell/InvertedShell.java | 4 +-
13 files changed, 93 insertions(+), 98 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/ClientSession.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/ClientSession.java \
b/sshd-core/src/main/java/org/apache/sshd/ClientSession.java index e9f0ed8..cbcc507 \
100644
--- a/sshd-core/src/main/java/org/apache/sshd/ClientSession.java
+++ b/sshd-core/src/main/java/org/apache/sshd/ClientSession.java
@@ -77,8 +77,8 @@ public interface ClientSession extends Session {
*
* @return the authentication future
* @throws IOException
- * @see {@link #addPasswordIdentity(String)}
- * @see {@link #addPublicKeyIdentity(java.security.KeyPair)}
+ * @see #addPasswordIdentity(String)
+ * @see #addPublicKeyIdentity(java.security.KeyPair)
*/
AuthFuture auth() throws IOException;
@@ -86,7 +86,7 @@ public interface ClientSession extends Session {
* Authenticate the session with the given username using an ssh agent.
*
* @deprecated Use {@link #auth()} instead
- * @see {@link #auth()}
+ * @see #auth()
*/
@Deprecated
AuthFuture authAgent(String username) throws IOException;
@@ -95,7 +95,7 @@ public interface ClientSession extends Session {
* Authenticate the session with the given username and password.
*
* @deprecated Use {@link #auth()} instead
- * @see {@link #auth()}
+ * @see #auth()
*/
@Deprecated
AuthFuture authPassword(String username, String password) throws IOException;
@@ -104,7 +104,7 @@ public interface ClientSession extends Session {
* Authenticate the session with the given username and password.
*
* @deprecated Use {@link #auth()} instead
- * @see {@link #auth()}
+ * @see #auth()
*/
@Deprecated
AuthFuture authInteractive(String username, String password) throws IOException;
@@ -113,7 +113,7 @@ public interface ClientSession extends Session {
* Authenticate the session with the given username and public key.
*
* @deprecated Use {@link #auth()} instead
- * @see {@link #auth()}
+ * @see #auth()
*/
@Deprecated
AuthFuture authPublicKey(String username, KeyPair key) throws IOException;
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/SshClient.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/SshClient.java \
b/sshd-core/src/main/java/org/apache/sshd/SshClient.java index 0949574..b9fe07d \
100644
--- a/sshd-core/src/main/java/org/apache/sshd/SshClient.java
+++ b/sshd-core/src/main/java/org/apache/sshd/SshClient.java
@@ -93,20 +93,10 @@ import org.bouncycastle.openssl.PasswordFinder;
* SshClient client = SshClient.setUpDefaultClient();
* client.start();
* try {
- * ClientSession session = client.connect(host, port).await().getSession();
+ * ClientSession session = client.connect(login, host, \
port).await().getSession(); + * session.addPasswordIdentity(password);
+ * session.auth().verify();
*
- * int ret = ClientSession.WAIT_AUTH;
- * while ((ret & ClientSession.WAIT_AUTH) != 0) {
- * System.out.print("Password:");
- * BufferedReader r = new BufferedReader(new \
InputStreamReader(System.in));
- * String password = r.readLine();
- * session.authPassword(login, password);
- * ret = session.waitFor(ClientSession.WAIT_AUTH | ClientSession.CLOSED | \
ClientSession.AUTHED, 0);
- * }
- * if ((ret & ClientSession.CLOSED) != 0) {
- * System.err.println("error");
- * System.exit(-1);
- * }
* ClientChannel channel = session.createChannel("shell");
* channel.setIn(new NoCloseInputStream(System.in));
* channel.setOut(new NoCloseOutputStream(System.out));
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/Closeable.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/Closeable.java \
b/sshd-core/src/main/java/org/apache/sshd/common/Closeable.java index \
ab98bdf..fa9a21d 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/Closeable.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/Closeable.java
@@ -42,7 +42,9 @@ public interface Closeable {
CloseFuture close(boolean immediately);
/**
- * Returns <code>true<</code> if this object has been closed.
+ * Returns <code>true</code> if this object has been closed.
+ *
+ * @return <code>true</code> if closing
*/
boolean isClosed();
@@ -51,6 +53,8 @@ public interface Closeable {
* has been called.
* Note that this method will return <code>true</code> even if
* this {@link #isClosed()} returns <code>true</code>.
+ *
+ * @return <code>true</code> if closing
*/
boolean isClosing();
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/Session.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/Session.java \
b/sshd-core/src/main/java/org/apache/sshd/common/Session.java index 47ad180..166ac41 \
100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/Session.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/Session.java
@@ -177,7 +177,8 @@ public interface Session extends Closeable {
* and the consumer. To further restrict access the setting or getting it from
* the Session you can add static get and set methods, e.g:
*
- * private static final AttributeKey<MyValue> MY_KEY = new \
AttributeKey<MyValue>(); + * <pre>
+ * private static final AttributeKey<MyValue> MY_KEY = new \
AttributeKey<MyValue>();
*
* public static MyValue getMyValue(Session s) {
* return s.getAttribute(MY_KEY);
@@ -186,6 +187,7 @@ public interface Session extends Closeable {
* private void setMyValue(Session s, MyValue value) {
* s.setAttribute(MY_KEY, value);
* }
+ * </pre>
*
* @param <T> type of value stored in the attribute.
*
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/TcpipForwarder.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/TcpipForwarder.java \
b/sshd-core/src/main/java/org/apache/sshd/common/TcpipForwarder.java index \
9388b71..aedbf54 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/TcpipForwarder.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/TcpipForwarder.java
@@ -68,14 +68,14 @@ public interface TcpipForwarder extends Closeable {
* Called when the other side requested a remote port forward.
* @param local
* @return the list of bound local addresses
- * @throws Exception
+ * @throws IOException
*/
SshdSocketAddress localPortForwardingRequested(SshdSocketAddress local) throws \
IOException;
/**
* Called when the other side cancelled a remote port forward.
* @param local
- * @throws Exception
+ * @throws IOException
*/
void localPortForwardingCancelled(SshdSocketAddress local) throws IOException;
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/keyprovider/ResourceKeyPairProvider.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/keyprovider/ResourceKeyPairProvider.java \
b/sshd-core/src/main/java/org/apache/sshd/common/keyprovider/ResourceKeyPairProvider.java
index 0cd5d6c..229b70d 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/keyprovider/ResourceKeyPairProvider.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/keyprovider/ResourceKeyPairProvider.java
@@ -40,11 +40,10 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
- * (from org.apache.sshd.common.keyprovider.FileKeyPairProvider)
- * This host key provider loads private keys from the specified resources.
- * <p/>
- * Note that this class has a direct dependency on BouncyCastle and won't work
- * unless it has been correctly registered as a security provider.
+ * <p>This host key provider loads private keys from the specified resources.</p>
+ *
+ * <p>Note that this class has a direct dependency on BouncyCastle and won't work
+ * unless it has been correctly registered as a security provider.</p>
*
* @author <a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a>
*/
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/session/ConnectionService.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/session/ConnectionService.java \
b/sshd-core/src/main/java/org/apache/sshd/common/session/ConnectionService.java index \
45c6266..244b522 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/session/ConnectionService.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/session/ConnectionService.java
@@ -38,7 +38,7 @@ public interface ConnectionService extends Service {
*
* @param channel the channel to register
* @return the id of this channel
- * @throws Exception
+ * @throws IOException
*/
int registerChannel(Channel channel) throws IOException;
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/util/DirectoryScanner.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/util/DirectoryScanner.java \
b/sshd-core/src/main/java/org/apache/sshd/common/util/DirectoryScanner.java index \
6fd6741..e559628 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/util/DirectoryScanner.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/util/DirectoryScanner.java
@@ -24,69 +24,70 @@ import java.util.ArrayList;
import java.util.List;
/**
- * Class for scanning a directory for files/directories which match certain
- * criteria.
- * <p/>
- * These criteria consist of selectors and patterns which have been specified.
+ * <p>Class for scanning a directory for files/directories which match certain
+ * criteria.</p>
+ *
+ * <p>These criteria consist of selectors and patterns which have been specified.
* With the selectors you can select which files you want to have included.
* Files which are not selected are excluded. With patterns you can include
- * or exclude files based on their filename.
- * <p/>
- * The idea is simple. A given directory is recursively scanned for all files
+ * or exclude files based on their filename.</p>
+ *
+ * <p>The idea is simple. A given directory is recursively scanned for all files
* and directories. Each file/directory is matched against a set of selectors,
* including special support for matching against filenames with include and
* and exclude patterns. Only files/directories which match at least one
* pattern of the include pattern list or other file selector, and don't match
* any pattern of the exclude pattern list or fail to match against a required
- * selector will be placed in the list of files/directories found.
- * <p/>
- * When no list of include patterns is supplied, "**" will be used, which
+ * selector will be placed in the list of files/directories found.</p>
+ *
+ * <p>When no list of include patterns is supplied, "**" will be used, which
* means that everything will be matched. When no list of exclude patterns is
* supplied, an empty list is used, such that nothing will be excluded. When
- * no selectors are supplied, none are applied.
- * <p/>
- * The filename pattern matching is done as follows:
+ * no selectors are supplied, none are applied.</p>
+ *
+ * <p>The filename pattern matching is done as follows:
* The name to be matched is split up in path segments. A path segment is the
* name of a directory or file, which is bounded by
* <code>File.separator</code> ('/' under UNIX, '\' under Windows).
* For example, "abc/def/ghi/xyz.java" is split up in the segments "abc",
* "def","ghi" and "xyz.java".
- * The same is done for the pattern against which should be matched.
- * <p/>
- * The segments of the name and the pattern are then matched against each
+ * The same is done for the pattern against which should be matched.</p>
+ *
+ * <p>The segments of the name and the pattern are then matched against each
* other. When '**' is used for a path segment in the pattern, it matches
- * zero or more path segments of the name.
- * <p/>
- * There is a special case regarding the use of <code>File.separator</code>s
+ * zero or more path segments of the name.</p>
+ *
+ * <p>There is a special case regarding the use of <code>File.separator</code>s
* at the beginning of the pattern and the string to match:<br>
* When a pattern starts with a <code>File.separator</code>, the string
* to match must also start with a <code>File.separator</code>.
* When a pattern does not start with a <code>File.separator</code>, the
* string to match may not start with a <code>File.separator</code>.
* When one of these rules is not obeyed, the string will not
- * match.
- * <p/>
- * When a name path segment is matched against a pattern path segment, the
+ * match.</p>
+ *
+ * <p>When a name path segment is matched against a pattern path segment, the
* following special characters can be used:<br>
* '*' matches zero or more characters<br>
- * '?' matches one character.
- * <p/>
- * Examples:
- * <p/>
- * "**\*.class" matches all .class files/dirs in a directory tree.
- * <p/>
- * "test\a??.java" matches all files/dirs which start with an 'a', then two
- * more characters and then ".java", in a directory called test.
- * <p/>
- * "**" matches everything in a directory tree.
- * <p/>
- * "**\test\**\XYZ*" matches all files/dirs which start with "XYZ" and where
- * there is a parent directory called test (e.g. "abc\test\def\ghi\XYZ123").
- * <p/>
- * Case sensitivity may be turned off if necessary. By default, it is
- * turned on.
- * <p/>
- * Example of usage:
+ * '?' matches one character.</p>
+ *
+ * <p>Examples:
+ * <br>
+ * <code>"**\*.class"</code> matches all <code>.class</code> files/dirs in a \
directory tree. + * <br>
+ * <code>"test\a??.java"</code> matches all files/dirs which start with an 'a', then \
two + * more characters and then <code>".java"</code>, in a directory called test.
+ * <br>
+ * <code>"**"</code> matches everything in a directory tree.
+ * <br>
+ * <code>"**\test\**\XYZ*"</code> matches all files/dirs which start with \
<code>"XYZ"</code> and where + * there is a parent directory called test (e.g. \
<code>"abc\test\def\ghi\XYZ123"</code>). + * </p>
+ *
+ * <p>Case sensitivity may be turned off if necessary. By default, it is
+ * turned on.</p>
+ *
+ * <p>Example of usage:</p>
* <pre>
* String[] includes = {"**\\*.class"};
* String[] excludes = {"modules\\*\\**"};
@@ -95,15 +96,15 @@ import java.util.List;
* ds.setBasedir(new File("test"));
* ds.setCaseSensitive(true);
* ds.scan();
- * <p/>
+ *
* System.out.println("FILES:");
* String[] files = ds.getIncludedFiles();
- * for (int i = 0; i < files.length; i++) {
+ * for (int i = 0; i < files.length; i++) {
* System.out.println(files[i]);
* }
* </pre>
- * This will scan a directory called test for .class files, but excludes all
- * files in all proper subdirectories of a directory called "modules"
+ * <p>This will scan a directory called test for .class files, but excludes all
+ * files in all proper subdirectories of a directory called "modules".</p>
*
* @author Arnout J. Kuiper
* <a href="mailto:ajkuiper@wxs.nl">ajkuiper@wxs.nl</a>
@@ -179,11 +180,11 @@ public class DirectoryScanner {
}
/**
- * Sets the list of include patterns to use. All '/' and '\' characters
+ * <p>Sets the list of include patterns to use. All '/' and '\' characters
* are replaced by <code>File.separatorChar</code>, so the separator used
- * need not match <code>File.separatorChar</code>.
- * <p/>
- * When a pattern ends with a '/' or '\', "**" is appended.
+ * need not match <code>File.separatorChar</code>.</p>
+ *
+ * <p>When a pattern ends with a '/' or '\', "**" is appended.</p>
*
* @param includes A list of include patterns.
* May be <code>null</code>, indicating that all files
@@ -245,7 +246,6 @@ public class DirectoryScanner {
* @param vpath The path relative to the base directory (needed to
* prevent problems with an absolute path when using
* dir). Must not be <code>null</code>.
- * @throws IOException
*/
protected void scandir(File dir, String vpath) {
String[] newfiles = dir.list();
@@ -348,7 +348,7 @@ public class DirectoryScanner {
/**
* <p>Replace a String with another String inside a larger String,
* for the first <code>max</code> values of the search String.</p>
- * <p/>
+ *
* <p>A <code>null</code> reference passed to this method is a no-op.</p>
*
* @param text text to search and replace in
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/common/util/SelectorUtils.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/util/SelectorUtils.java \
b/sshd-core/src/main/java/org/apache/sshd/common/util/SelectorUtils.java index \
192afaf..6f446b1 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/util/SelectorUtils.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/util/SelectorUtils.java
@@ -56,12 +56,12 @@ public final class SelectorUtils {
}
/**
- * Tests whether or not a given path matches the start of a given
- * pattern up to the first "**".
- * <p/>
- * This is not a general purpose test and should only be used if you
+ * <p>Tests whether or not a given path matches the start of a given
+ * pattern up to the first "**".</p>
+ *
+ * <p>This is not a general purpose test and should only be used if you
* can live with false positives. For example, <code>pattern=**\a</code>
- * and <code>str=b</code> will yield <code>true</code>.
+ * and <code>str=b</code> will yield <code>true</code>.</p>
*
* @param pattern The pattern to match against. Must not be
* <code>null</code>.
@@ -75,12 +75,12 @@ public final class SelectorUtils {
}
/**
- * Tests whether or not a given path matches the start of a given
- * pattern up to the first "**".
- * <p/>
- * This is not a general purpose test and should only be used if you
+ * <p>Tests whether or not a given path matches the start of a given
+ * pattern up to the first "**".</p>
+ *
+ * <p>This is not a general purpose test and should only be used if you
* can live with false positives. For example, <code>pattern=**\a</code>
- * and <code>str=b</code> will yield <code>true</code>.
+ * and <code>str=b</code> will yield <code>true</code>.</p>
*
* @param pattern The pattern to match against. Must not be
* <code>null</code>.
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java \
b/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java index \
11e2d93..e7fd556 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java
@@ -108,7 +108,7 @@ public interface ServerFactoryManager extends FactoryManager {
public static final String MODULI_URL = "moduli-url";
/**
- * Retrieve the list of named factories for <code>UserAuth<code> objects.
+ * Retrieve the list of named factories for <code>UserAuth</code> objects.
*
* @return a list of named <code>UserAuth</code> factories, never \
<code>null</code>
*/
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/server/UserAuth.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/UserAuth.java \
b/sshd-core/src/main/java/org/apache/sshd/server/UserAuth.java index 004151f..c581cbd \
100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/UserAuth.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/UserAuth.java
@@ -39,7 +39,7 @@ public interface UserAuth {
* @param username the user trying to log in
* @param buffer the request buffer containing parameters specific to this \
request
* @return <code>true</code> if the authentication succeeded, <code>false</code> \
if the authentication
- * failed and <code>null</code></code>is not finished yet
+ * failed and <code>null</code> if not finished yet
* @throws Exception if the authentication fails
*/
Boolean auth(ServerSession session, String username, String service, Buffer \
buffer) throws Exception; @@ -49,7 +49,7 @@ public interface UserAuth {
*
* @param buffer the request buffer containing parameters specific to this \
request
* @return <code>true</code> if the authentication succeeded, <code>false</code> \
if the authentication
- * failed and <code>null</code></code>is not finished yet
+ * failed and <code>null</code> if not finished yet
* @throws Exception if the authentication fails
*/
Boolean next(Buffer buffer) throws Exception;
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/server/auth/gss/UserAuthGSS.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/auth/gss/UserAuthGSS.java \
b/sshd-core/src/main/java/org/apache/sshd/server/auth/gss/UserAuthGSS.java index \
7bcaffe..4b5db95 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/auth/gss/UserAuthGSS.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/auth/gss/UserAuthGSS.java
@@ -33,10 +33,10 @@ import org.ietf.jgss.MessageProp;
import org.ietf.jgss.Oid;
/**
- * Prototype user authentication handling gssapi-with-mic. Implements \
<code>HandshakingUserAuth</code> because
- * the process involves several steps.
- * <p/>
- * Several methods are available for overriding in specific circumstances.
+ * <p>Prototype user authentication handling gssapi-with-mic. Implements \
<code>HandshakingUserAuth</code> because + * the process involves several steps.</p>
+ *
+ * <p>Several methods are available for overriding in specific circumstances.</p>
*/
public class UserAuthGSS extends AbstractUserAuth {
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/b0cce8c0/sshd-core/src/main/java/org/apache/sshd/server/shell/InvertedShell.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/shell/InvertedShell.java \
b/sshd-core/src/main/java/org/apache/sshd/server/shell/InvertedShell.java index \
a9f971e..30ab6b0 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/shell/InvertedShell.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/shell/InvertedShell.java
@@ -27,7 +27,7 @@ import java.util.Map;
* This shell have inverted streams, such as the one obtained when launching a
* new {@link Process} from java. This interface is meant to be used with
* {@link InvertedShellWrapper} class as an implementation of
- * {@link Factory}.
+ * {@link org.apache.sshd.common.Factory}.
*
* @author <a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a>
*/
@@ -38,7 +38,7 @@ public interface InvertedShell {
* the ssh server to retrieve and use.
*
* @param env
- * @throws Exception
+ * @throws IOException
*/
void start(Map<String,String> env) throws IOException;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic