mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1546585 - /mina/site/trunk/content/sshd-project/configuring_security.mdtext
Date Fri, 29 Nov 2013 15:45:20 GMT
Author: gnodet
Date: Fri Nov 29 15:45:20 2013
New Revision: 1546585

URL: http://svn.apache.org/r1546585
Log:
Fix html elements in java code

Modified:
    mina/site/trunk/content/sshd-project/configuring_security.mdtext

Modified: mina/site/trunk/content/sshd-project/configuring_security.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/sshd-project/configuring_security.mdtext?rev=1546585&r1=1546584&r2=1546585&view=diff
==============================================================================
--- mina/site/trunk/content/sshd-project/configuring_security.mdtext (original)
+++ mina/site/trunk/content/sshd-project/configuring_security.mdtext Fri Nov 29 15:45:20 2013
@@ -16,7 +16,6 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-
 ## Configuring Security
 
 The SSHD server needs to be integrated and the security layer has to be customized to suit
your needs.
@@ -29,8 +28,8 @@ Those custom classes can be configured o
 
 	:::java
 	SshServer sshd = SshServer.setUpDefaultServer();
-	sshd.setPasswordAuthenticator(<SPAN class="code-keyword">new</SPAN> MyPasswordAuthenticator());
-	sshd.setPublickeyAuthenticator(<SPAN class="code-keyword">new</SPAN> MyPublickeyAuthenticator());
+	sshd.setPasswordAuthenticator(new MyPasswordAuthenticator());
+	sshd.setPublickeyAuthenticator(new MyPublickeyAuthenticator());
 
 If only one of those class is implemented, only the related authentication mechanism will
be enabled.
 
@@ -41,8 +40,8 @@ This can be configured in the following 
 
 	:::java
 	SshServer sshd = SshServer.setUpDefaultServer();
-	JaasPasswordAuthenticator pswdAuth = <SPAN class="code-keyword">new</SPAN> JaasPasswordAuthenticator();
-	pswdAuth.setDomain(<SPAN class="code-quote">&quot;myJaasDomain&quot;</SPAN>);
+	JaasPasswordAuthenticator pswdAuth = new JaasPasswordAuthenticator();
+	pswdAuth.setDomain(&quot;myJaasDomain&quot;);
 	sshd.setPasswordAuthenticator(pswdAuth);
 
 



Mime
View raw message