[jboss-cvs] JBossAS SVN: r88700 - projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 12 01:32:04 EDT 2009


Author: xhuang at jboss.com
Date: 2009-05-12 01:32:03 -0400 (Tue, 12 May 2009)
New Revision: 88700

Modified:
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po
Log:
update

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po	2009-05-12 05:31:10 UTC (rev 88699)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po	2009-05-12 05:32:03 UTC (rev 88700)
@@ -9,8 +9,8 @@
 "Project-Id-Version: J2EE_Security_On_JBOSS\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2009-05-11 17:06+1000\n"
-"Last-Translator: Xi HUANG\n"
+"PO-Revision-Date: 2009-05-12 15:02+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -6187,9 +6187,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1792
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The client side standard JAAS configuration"
-msgstr "EJB 应用程序配置"
+msgstr "客户端的标准 JAAS 配置"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1793
@@ -6205,12 +6205,21 @@
 "    ;\n"
 "};"
 msgstr ""
+"srp {\n"
+"    org.jboss.security.srp.jaas.SRPLoginModule required\n"
+"    srpServerJndiName=\"srp-test/SRPServerInterface\"\n"
+"    ;\n"
+"                    \n"
+"    org.jboss.security.ClientLoginModule required\n"
+"    password-stacking=\"useFirstPass\"\n"
+"    ;\n"
+"};"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1794
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The server side XMLLoginConfig configuration"
-msgstr "服务端配置"
+msgstr "服务端的 XMLLoginConfig 配置"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1795
@@ -6233,6 +6242,22 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
+"&lt;application-policy name=\"security-ex3\"&gt;\n"
+"    &lt;authentication&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.srp.jaas."
+"SRPCacheLoginModule\"\n"
+"                      flag = \"required\"&gt;\n"
+"            &lt;module-option name=\"cacheJndiName\"&gt;srp-test/"
+"AuthenticationCache&lt;/module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.auth.spi."
+"UsersRolesLoginModule\"\n"
+"                      flag = \"required\"&gt;\n"
+"            &lt;module-option name=\"password-stacking\"&gt;useFirstPass&lt;/"
+"module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
+"    &lt;/authentication&gt;\n"
+"&lt;/application-policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1796
@@ -6585,13 +6610,13 @@
 #: J2EE_Security_On_JBOSS.xml:1922
 #, no-c-format
 msgid "Using SSL with JBoss"
-msgstr ""
+msgstr "在 JBoss 里使用 SSL"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1924
 #, no-c-format
 msgid "Adding SSL to EJB3"
-msgstr ""
+msgstr "为 EJB3 添加 SSL"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1925
@@ -6604,12 +6629,14 @@
 "you must generate a keystore and then configure your beans to use SSL "
 "transport."
 msgstr ""
+"JBoss EJB3 缺省在端口 3878 使用一个基于套接字的调用者层。这是在 <filename> $JBOSS_HOME/server/<replaceable>&lt;serverconfig&gt;"
+"</replaceable>/deploy/ejb3.deployer/META-INF/jboss-service.xml</filename> 里设置的。在有些情况下,你可能希望使用 SSL。为了实现这一点,你必须生成一个密匙库(Keystore)并配置 bean 来使用 SSL 传输。"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1929 J2EE_Security_On_JBOSS.xml:1983
 #, no-c-format
 msgid "Generating the keystore and truststore"
-msgstr ""
+msgstr "生成密匙库(keystore)和信任库(truststore)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1930
@@ -6643,6 +6670,27 @@
 "specifies the location (\"localhost.keystore\") of the keystore to create/"
 "add to."
 msgstr ""
+"为了使 SSL 正常工作,你需要创建一个 public/private 密钥对,它将存储在密钥库里。使用 JDK 里的附带的 <literal>genkey</literal> 命令来生成密钥对。<programlisting>\n"
+" $cd $JBOSS_HOME/server/production/conf/\n"
+" $keytool -genkey -alias ejb3-ssl -keypass opensource -keystore localhost."
+"keystore\n"
+"   Enter keystore password:  opensource\n"
+"   What is your first and last name?\n"
+"     [Unknown]:\n"
+"   What is the name of your organizational unit?\n"
+"     [Unknown]:\n"
+"   What is the name of your organization?\n"
+"     [Unknown]:\n"
+"   What is the name of your City or Locality?\n"
+"     [Unknown]:\n"
+"   What is the name of your State or Province?\n"
+"     [Unknown]:\n"
+"   What is the two-letter country code for this unit?\n"
+"     [Unknown]:\n"
+"   Is CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown "
+"correct?\n"
+"     [no]:  yes\n"
+"</programlisting> 这里的 <literal>alias</literal>是密钥库里的密钥对的别名 (\"ejb2-ssl\")。<literal>keypass</literal> 是密钥库的密码 (\"opensource\"),而 <literal>keystore</literal> 指定了密钥库的位置 (\"localhost.keystore\")。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1935
@@ -6652,7 +6700,7 @@
 "authoritiy, you also need to create a truststore for the client, explicitly "
 "saying that you trust the certificate you just created. The first step is to "
 "export the certificate using the JDK keytool:"
-msgstr ""
+msgstr "既然你还没有通过任何证书授权机构(certification authoritiy)签署证书,你也需要为客户创建一个信任库(truststore),显性地指明你信任刚才创建的证书。第一步是使用 JDK keytool 输出证书:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1937
@@ -6663,6 +6711,10 @@
 "   Enter keystore password:  opensource\n"
 "   Certificate stored in file &lt;mycert.cer&gt;"
 msgstr ""
+"$ keytool -export -alias ejb3-ssl -file mycert.cer -keystore localhost."
+"keystore\n"
+"   Enter keystore password:  opensource\n"
+"   Certificate stored in file &lt;mycert.cer&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1939
@@ -6670,7 +6722,7 @@
 msgid ""
 "Then you need to create the truststore if it does not exist and import the "
 "certificate into the trueststore:"
-msgstr ""
+msgstr "然后,如果这个信任库不存在,你就需要创建它并把证书导入到信任库:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1941
@@ -6693,12 +6745,28 @@
 "   Trust this certificate? [no]:  yes\n"
 "   Certificate was added to keystore"
 msgstr ""
+"$ keytool -import -alias ejb3-ssl -file mycert.cer -keystore localhost."
+"truststore\n"
+"   Enter keystore password:  opensource\n"
+"   Owner: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, "
+"C=Unknown\n"
+"   Issuer: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, "
+"C=Unknown\n"
+"   Serial number: 43bff927\n"
+"   Valid from: Sat Jan 07 18:23:51 CET 2006 until: Fri Apr 07 19:23:51 CEST "
+"2006\n"
+"   Certificate fingerprints:\n"
+"            MD5:  CF:DC:71:A8:F4:EA:8F:5A:E9:94:E3:E6:5B:A9:C8:F3\n"
+"            SHA1: 0E:AD:F3:D6:41:5E:F6:84:9A:D1:54:3D:DE:A9:B2:01:28:"
+"F6:7C:26\n"
+"   Trust this certificate? [no]:  yes\n"
+"   Certificate was added to keystore"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1945 J2EE_Security_On_JBOSS.xml:1989
 #, no-c-format
 msgid "Setting up the SSL transport"
-msgstr ""
+msgstr "设立 SSL 传输"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1946
@@ -6707,7 +6775,7 @@
 "The simplest way to define an SSL transport is to define a new Remoting "
 "connector using the <literal>sslsocket</literal> protocol as follows. This "
 "transport will listen on port 3843:"
-msgstr ""
+msgstr "定义 SSL 传输的最简单的方法是使用 <literal>sslsocket</literal> 协议定义一个新的远程连接器。这个传输协议将侦听端口 3843:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1948
@@ -6729,6 +6797,21 @@
 "      &lt;/attribute&gt;\n"
 "   &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.remoting.transport.Connector\"\n"
+"      xmbean-dd=\"org/jboss/remoting/transport/Connector.xml\"\n"
+"      name=\"jboss.remoting:type=Connector,transport=socket3843,handler=ejb3"
+"\"&gt;\n"
+"      &lt;depends&gt;jboss.aop:service=AspectDeployer&lt;/depends&gt;\n"
+"      &lt;attribute name=\"InvokerLocator\"&gt;sslsocket://0.0.0.0:3843&lt;/"
+"attribute&gt;\n"
+"      &lt;attribute name=\"Configuration\"&gt;\n"
+"         &lt;handlers&gt;\n"
+"            &lt;handler subsystem=\"AOP\"&gt;\n"
+"             org.jboss.aspects.remoting.AOPRemotingInvocationHandler\n"
+"            &lt;/handler&gt;\n"
+"         &lt;/handlers&gt;\n"
+"      &lt;/attribute&gt;\n"
+"   &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1950 J2EE_Security_On_JBOSS.xml:1990
@@ -6740,6 +6823,9 @@
 "literal> system properties when starting JBoss, as the following example "
 "shows:"
 msgstr ""
+"现在你需要告诉 JBoss Remoting 去哪找到用于 SSL 及其密码的密钥库。这是在启动 JBoss 时通过 <literal>javax.net.ssl."
+"keyStore</literal> 和 <literal>javax.net.ssl.keyStorePassword=opensource</"
+"literal> 系统属性完成的,如下面的例子所示:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1952 J2EE_Security_On_JBOSS.xml:1992
@@ -6750,12 +6836,16 @@
 "keystore \n"
 "          -Djavax.net.ssl.keyStorePassword=opensource"
 msgstr ""
+"$cd $JBOSS_HOME/bin\n"
+"  $ run -Djavax.net.ssl.keyStore=../server/production/conf/localhost."
+"keystore \n"
+"          -Djavax.net.ssl.keyStorePassword=opensource"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1956 J2EE_Security_On_JBOSS.xml:2001
 #, no-c-format
 msgid "Configuring your beans to use the SSL transport"
-msgstr ""
+msgstr "配置 bean 来使用 SSL 传输"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1957
@@ -6766,6 +6856,8 @@
 "annotation.ejb.RemoteBinding</literal> annotation you can have the bean "
 "invokable via SSL."
 msgstr ""
+"在缺省情况下,所有的 bean 都在 <literal>socket://0.0.0.0:3873</literal> 上使用缺省的连接器。通过使用 <literal>@org.jboss."
+"annotation.ejb.RemoteBinding</literal> 注解,你可以使得 bean 可以通过 SSL 调用。"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1959
@@ -6779,6 +6871,13 @@
 "      ...\n"
 "   }"
 msgstr ""
+"@RemoteBinding(clientBindUrl=\"sslsocket://0.0.0.0:3843\", jndiBinding="
+"\"StatefulSSL\"),\n"
+"   @Remote(BusinessInterface.class)\n"
+"   public class StatefulBean implements BusinessInterface\n"
+"   {\n"
+"      ...\n"
+"   }"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1961
@@ -6787,13 +6886,13 @@
 "This bean will be bound under the JNDI name <literal>StatefulSSL</literal> "
 "and the proxy implementing the remote interface returned to the client will "
 "communicate with the server via SSL."
-msgstr ""
+msgstr "这个 bean 将绑定在 JNDI 名称 <literal>StatefulSSL</literal> 下,实现返回给客户的远程接口的代理将通过 SSL 和服务器通信。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1964
 #, no-c-format
 msgid "You can also enable different types of communication for your beans"
-msgstr ""
+msgstr "你也可以启用不同类型的通信"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1966
@@ -6810,6 +6909,16 @@
 "      ...\n"
 "   }"
 msgstr ""
+"@RemoteBindings({\n"
+"      @RemoteBinding(clientBindUrl=\"sslsocket://0.0.0.0:3843\", jndiBinding="
+"\"StatefulSSL\"),\n"
+"      @RemoteBinding(jndiBinding=\"StatefulNormal\")\n"
+"   })\n"
+"   @Remote(BusinessInterface.class)\n"
+"   public class StatefulBean implements BusinessInterface\n"
+"   {\n"
+"      ...\n"
+"   }"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1968
@@ -6821,12 +6930,14 @@
 "literal> the returned proxy implementing the remote interface will "
 "communicate with the server via SSL."
 msgstr ""
+"现在,如果你查找 <literal>StatefulNormal</literal>,返回的实现远程接口的代理将通过普通的未加密的套接字协议和服务器通信,如果查找 <literal>StatefulSSL</"
+"literal>,返回的实现远程接口的代理将通过 SSL 协议和服务器通信。"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1973 J2EE_Security_On_JBOSS.xml:2010
 #, no-c-format
 msgid "Setting up the client to use the truststore"
-msgstr ""
+msgstr "设置客户端使用信任库"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1974
@@ -6837,6 +6948,8 @@
 "ssl.trustStore</literal> system property and specify the password using the "
 "<literal>javax.net.ssl.trustStorePassword</literal> system property:"
 msgstr ""
+"如果没有使用证书授权机构签署的证书,你需要用系统属性 <literal>javax.net."
+"ssl.trustStore</literal> 把客户指向信任库并用 <literal>javax.net.ssl.trustStorePassword</literal> 指定密码:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1976
@@ -6845,18 +6958,20 @@
 "java -Djavax.net.ssl.trustStore=${resources}/test/ssl/localhost.truststore\n"
 " -Djavax.net.ssl.trustStorePassword=opensource com.acme.RunClient"
 msgstr ""
+"java -Djavax.net.ssl.trustStore=${resources}/test/ssl/localhost.truststore\n"
+" -Djavax.net.ssl.trustStorePassword=opensource com.acme.RunClient"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1981
 #, no-c-format
 msgid "Adding SSL to EJB 2.1 calls"
-msgstr ""
+msgstr "在 EJB 2.1 调用里添加 SSL"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1984
 #, no-c-format
 msgid "This is similar to the steps described for Adding SSL to EJB3 calls."
-msgstr ""
+msgstr "这和在 EJB3 调用里添加 SSL 是类似的。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1994
@@ -6866,6 +6981,8 @@
 "to your <literal>$JBOSS_HOME/server/${serverConf}/conf/jboss-service.xml</"
 "literal> file."
 msgstr ""
+"如果你想定制 SSLSocketBuilder,你需要在 <literal>$JBOSS_HOME/server/${serverConf}/conf/jboss-service.xml</"
+"literal> 里添加如下内容。"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1996
@@ -6908,6 +7025,42 @@
 "      &lt;attribute name=\"KeyStoreType\"&gt;JKS&lt;/attribute&gt;\n"
 "   &lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- This section is for custom (SSL) server socket factory  --&gt;\n"
+"   &lt;mbean code=\"org.jboss.remoting.security.SSLSocketBuilder\"\n"
+"      name=\"jboss.remoting:service=SocketBuilder,type=SSL\"\n"
+"      display-name=\"SSL Server Socket Factory Builder\"&gt;\n"
+"      &lt;!-- IMPORTANT - If making ANY customizations, this MUST be set to "
+"false. --&gt;\n"
+"      &lt;!-- Otherwise, will used default settings and the following "
+"attributes will be ignored. --&gt;\n"
+"      &lt;attribute name=\"UseSSLServerSocketFactory\"&gt;false&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- This is the url string to the key store to use --&gt;\n"
+"      &lt;attribute name=\"KeyStoreURL\"&gt;localhost.keystore&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- The password for the key store --&gt;\n"
+"      &lt;attribute name=\"KeyStorePassword\"&gt;sslsocket&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- The password for the keys (will use KeystorePassword if this "
+"is not set explicitly. --&gt;\n"
+"      &lt;attribute name=\"KeyPassword\"&gt;sslsocket&lt;/attribute&gt;\n"
+"      &lt;!-- The protocol for the SSLContext.  Default is TLS. --&gt;\n"
+"      &lt;attribute name=\"SecureSocketProtocol\"&gt;TLS&lt;/attribute&gt;\n"
+"      &lt;!-- The algorithm for the key manager factory.  Default is "
+"SunX509. --&gt;\n"
+"      &lt;attribute name=\"KeyManagementAlgorithm\"&gt;SunX509&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- The type to be used for the key store. --&gt;\n"
+"      &lt;!-- Defaults to JKS.  Some acceptable values are JKS (Java "
+"Keystore - Sun's keystore format), --&gt;\n"
+"      &lt;!-- JCEKS (Java Cryptography Extension keystore - More secure "
+"version of JKS), and --&gt;\n"
+"      &lt;!-- PKCS12 (Public-Key Cryptography Standards #12 \n"
+"                 keystore - RSA's Personal Information Exchange Syntax "
+"Standard). --&gt;\n"
+"      &lt;!-- These are not case sensitive. --&gt;\n"
+"      &lt;attribute name=\"KeyStoreType\"&gt;JKS&lt;/attribute&gt;\n"
+"   &lt;/mbean&gt;"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1997
@@ -6922,6 +7075,14 @@
 "type=SSL&lt;/depends&gt;\n"
 "  &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.remoting.security.SSLServerSocketFactoryService"
+"\"\n"
+"     name=\"jboss.remoting:service=ServerSocketFactory,type=SSL\"\n"
+"     display-name=\"SSL Server Socket Factory\"&gt;\n"
+"     &lt;depends optional-attribute-name=\"SSLSocketBuilder\"\n"
+"        proxy-type=\"attribute\"&gt;jboss.remoting:service=SocketBuilder,"
+"type=SSL&lt;/depends&gt;\n"
+"  &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2002
@@ -7049,6 +7210,127 @@
 "   &lt;/mbean&gt;\n"
 "</programlisting> and add the following in it's place:"
 msgstr ""
+"In your <literal>$JBOSS_HOME/server/${serverConf}/conf/jboss-service.xml</"
+"literal> file, comment out the following lines: <programlisting>\n"
+"&lt;mbean code=\"org.jboss.remoting.transport.Connector\"\n"
+"          name=\"jboss.remoting:service=Connector,transport=socket\"\n"
+"          display-name=\"Socket transport Connector\"&gt;\n"
+"\n"
+"       &lt;!-- Can either just specify the InvokerLocator attribute and not "
+"the invoker element in the --&gt;\n"
+"       &lt;!-- Configuration attribute, or do the full invoker configuration "
+"in the in invoker element --&gt;\n"
+"       &lt;!-- of the Configuration attribute. --&gt;\n"
+"\n"
+"       &lt;!-- Remember that if you do use more than one param on the uri, "
+"will have to include as a CDATA, --&gt;\n"
+"       &lt;!-- otherwise, parser will complain. --&gt;\n"
+"       &lt;!-- \n"
+"            &lt;attribute name=\"InvokerLocator\"&gt;\n"
+"               &lt;![CDATA[socket://${jboss.bind.address}:4446/?"
+"datatype=invocation]]&gt;\n"
+"            &lt;/attribute&gt; \n"
+"       --&gt;\n"
+"\n"
+"      &lt;attribute name=\"Configuration\"&gt;\n"
+"         &lt;!-- Using the following \n"
+"             &lt;invoker&gt; \n"
+"             element instead of the InvokerLocator above because specific "
+"attributes needed. \n"
+"         --&gt;\n"
+"         &lt;!-- If wanted to use any of the parameters below, can \n"
+"            just add them as parameters to the url above if wanted use \n"
+"              the InvokerLocator attribute. --&gt;\n"
+"         &lt;config&gt;\n"
+"            &lt;!-- Other than transport type and handler, none of these "
+"configurations are required \n"
+"                    (will just use defaults). --&gt;\n"
+"            &lt;invoker transport=\"socket\"&gt;\n"
+"               &lt;attribute name=\"dataType\" isParam=\"true\"&gt;"
+"invocation&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"marshaller\"\n"
+"                isParam=\"true\"&gt;org.jboss.invocation.unified.marshall."
+"InvocationMarshaller&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"unmarshaller\"\n"
+"                isParam=\"true\"&gt;org.jboss.invocation.unified.marshall."
+"InvocationUnMarshaller&lt;/attribute&gt;\n"
+"               &lt;!-- This will be port on which the marshall loader port "
+"runs on.  --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"loaderport\" isParam=\"true"
+"\"&gt;4447&lt;/attribute&gt; --&gt;\n"
+"               &lt;!-- The following are specific to socket invoker --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"numAcceptThreads\"&gt;1&lt;/"
+"attribute&gt;--&gt;\n"
+"               &lt;!-- &lt;attribute name=\"maxPoolSize\"&gt;303&lt;/"
+"attribute&gt;--&gt;\n"
+"               &lt;!-- &lt;attribute name=\"clientMaxPoolSize\" isParam="
+"\"true\"&gt;304&lt;/attribute&gt;--&gt;\n"
+"               &lt;attribute name=\"socketTimeout\" isParam=\"true"
+"\"&gt;600000&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"serverBindAddress\"&gt;${jboss.bind."
+"address}&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"serverBindPort\"&gt;4446&lt;/"
+"attribute&gt;\n"
+"               &lt;!-- &lt;attribute name=\"clientConnectAddress"
+"\"&gt;216.23.33.2&lt;/attribute&gt; --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"clientConnectPort\"&gt;7777&lt;/"
+"attribute&gt; --&gt;\n"
+"               &lt;attribute name=\"enableTcpNoDelay\" isParam=\"true\"&gt;"
+"true&lt;/attribute&gt;\n"
+"               &lt;!-- &lt;attribute name=\"backlog\"&gt;200&lt;/"
+"attribute&gt;--&gt;\n"
+"               &lt;!-- The following is for callback configuration and is "
+"independant of invoker type --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"callbackMemCeiling\"&gt;30&lt;/"
+"attribute&gt;--&gt;\n"
+"               &lt;!-- indicates callback store by fully qualified class "
+"name --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"callbackStore\"&gt;org.jboss."
+"remoting.CallbackStore&lt;/attribute&gt;--&gt;\n"
+"               &lt;!-- indicates callback store by object name --&gt;\n"
+"               &lt;!-- \n"
+"                 &lt;attribute name=\"callbackStore\"&gt;\n"
+"                    jboss.remoting:service=CallbackStore,type=Serializable\n"
+"                 &lt;/attribute&gt; \n"
+"               --&gt;\n"
+"               &lt;!-- config params for callback store.  if were declaring "
+"callback store via object name, --&gt;\n"
+"               &lt;!-- could have specified these config params there. --"
+"&gt;\n"
+"               &lt;!-- StoreFilePath indicates to which directory to write "
+"the callback objects. --&gt;\n"
+"               &lt;!-- The default value is the property value of 'jboss."
+"server.data.dir' and \n"
+"                        if this is not set, --&gt;\n"
+"               &lt;!-- then will be 'data'. Will then append 'remoting' and "
+"the callback client's session id. --&gt;\n"
+"               &lt;!-- An example would be 'data\\remoting\\5c4o05l-9jijyx-"
+"e5b6xyph-1-e5b6xyph-2'. --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"StoreFilePath\"&gt;callback&lt;/"
+"attribute&gt;--&gt;\n"
+"               &lt;!-- StoreFileSuffix indicates the file suffix to use \n"
+"                  for the callback objects written to disk. --&gt;\n"
+"               &lt;!-- The default value for file suffix is 'ser'. --&gt;\n"
+"               &lt;!-- &lt;attribute name=\"StoreFileSuffix\"&gt;cst&lt;/"
+"attribute&gt;--&gt;\n"
+"            &lt;/invoker&gt;\n"
+"\n"
+"            &lt;!-- At least one handler is required by the connector.  If "
+"have more than one, must decalre --&gt;\n"
+"            &lt;!-- different subsystem values.  Otherwise, all invocations "
+"will be routed to the only one --&gt;\n"
+"            &lt;!-- that is declared. --&gt;\n"
+"            &lt;handlers&gt;\n"
+"               &lt;!-- can also specify handler by fully qualified classname "
+"--&gt;\n"
+"               &lt;handler subsystem=\"invoker\"&gt;jboss:service=invoker,"
+"type=unified&lt;/handler&gt;\n"
+"            &lt;/handlers&gt;\n"
+"         &lt;/config&gt;\n"
+"      &lt;/attribute&gt;\n"
+"      &lt;depends&gt;jboss.remoting:service=NetworkRegistry&lt;/depends&gt;\n"
+"   &lt;/mbean&gt;\n"
+"</programlisting> and add the following in it's place:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:2006
@@ -7085,18 +7367,48 @@
 "     &lt;depends&gt;jboss.remoting:service=NetworkRegistry&lt;/depends&gt;\n"
 "  &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.remoting.transport.Connector\"\n"
+"         xmbean-dd=\"org/jboss/remoting/transport/Connector.xml\"\n"
+"         name=\"jboss.remoting:service=Connector,transport=sslsocket\"&gt; \n"
+"         display-name=\"SSL Socket transport Connector\"&gt;\n"
+"\n"
+"     &lt;attribute name=\"Configuration\"&gt;\n"
+"        &lt;config&gt;\n"
+"            &lt;invoker transport=\"sslsocket\"&gt;\n"
+"              &lt;attribute name=\"serverSocketFactory\"&gt;\n"
+"              jboss.remoting:service=ServerSocketFactory,type=SSL\n"
+"              &lt;/attribute&gt;\n"
+"              &lt;attribute name=\"serverBindAddress\"&gt;${jboss.bind."
+"address}&lt;/attribute&gt;\n"
+"              &lt;attribute name=\"serverBindPort\"&gt;3843&lt;/"
+"attribute&gt;\n"
+"           &lt;/invoker&gt;\n"
+"           &lt;handlers&gt;\n"
+"              &lt;handler subsystem=\"invoker\"&gt;jboss:service=invoker,"
+"type=unified&lt;/handler&gt;           \n"
+"           &lt;/handlers&gt;\n"
+"        &lt;/config&gt;\n"
+"     &lt;/attribute&gt;\n"
+"     &lt;!--If you specify the keystore and password in the command line and "
+"you're \n"
+"        not using the custom ServerSocketFactory, you should take out the "
+"following line--&gt;\n"
+"     &lt;depends&gt;jboss.remoting:service=ServerSocketFactory,type=SSL&lt;/"
+"depends&gt;\n"
+"     &lt;depends&gt;jboss.remoting:service=NetworkRegistry&lt;/depends&gt;\n"
+"  &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2011
 #, no-c-format
 msgid "This is similar to the steps described for EJB3."
-msgstr ""
+msgstr "这和 EJB3 的步骤类似。"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2019
 #, no-c-format
 msgid "Configuring JBoss for use Behind a Firewall"
-msgstr ""
+msgstr "配置 JBoss 在防火墙后使用"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2020
@@ -7111,6 +7423,9 @@
 "Additional_ports_in_the_all_configuration\"/> shows the same information for "
 "the additional ports that exist in the all configuration file set."
 msgstr ""
+"JBoss 带有许多基于套接字的服务,它们都会打开侦听端口。本节我们将讨论在防火墙后使用这些服务所要进行的配置。下表显示了端口、套接字类型、default 配置文件集里的关联服务。<xref linkend="
+"\"Configuring_JBoss_for_use_Behind_a_Firewall-"
+"Additional_ports_in_the_all_configuration\"/> 显示了 all 配置文件集里相同的信息。"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2024
@@ -7555,7 +7870,6 @@
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2386
 #, no-c-format
-#, fuzzy
 msgid ""
 "The <literal>http-invoker.sar</literal> found in the deploy directory is a "
 "service that provides RMI/HTTP access for EJBs and the JNDI <literal>Naming</"
@@ -7575,7 +7889,9 @@
 msgstr ""
 "deploy 目录里的 <literal>http-invoker.sar</literal> 是一个提供对 EJB 的 RMI/HTTP 访问以及 JNDI <literal>Naming</"
 "literal> 的服务。它包括了一个处理代表应该分发给 <literal>MBeanServer</"
-"literal> 的调用的 <literal>org.jboss.invocation.Invocation</literal> 对象的 servlet。这有效地允许对支持脱管调用者操作的 MBean 的访问。"
+"literal> 的调用的 <literal>org.jboss.invocation.Invocation</literal> 对象的 servlet。既然能够知道如何格式化合适的 HTTP post,这就有效地允许了对支持脱管调用者操作的 MBean 的访问。为了设置接入点(Access Point)的安全性,你需要设置 <literal>http-invoker.sar/invoker.war/WEB-INF/web.xml</literal> 描述符里提及的 <literal>JMXInvokerServlet</literal> servlet。这里缺省定义了 <literal>/restricted/"
+"JMXInvokerServlet</literal> 路径的安全性映射,你只要简单地删除其他路径并配置 <literal>http-invoker.sar/invoker.war/WEB-INF/jboss-web."
+"xml</literal> 描述符里定义的 <literal>http-invoker</literal> 安全域就可以了。"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2392
@@ -7594,5 +7910,5 @@
 "<literal>http-invoker.sar</literal> as described in the previous section. In "
 "the future this service will be deployed as an XMBean with a security "
 "interceptor that supports role based access checks."
-msgstr ""
+msgstr "<literal>jmx-invoker-adaptor-server.sar</literal> 是一个开放 JMX MBeanServer 接口的服务,它通过使用 RMI/JRMP 脱管调用者服务的 RMI 兼容接口来实现。设置这个服务的安全性的唯一办法是切换到 RMI/HTTP 协议并象前面所述地设置 <literal>http-invoker.sar</literal> 的安全性。这个服务将来会被部署为带有支持基于角色访问检查的安全拦截器的 XMBean。"
 




More information about the jboss-cvs-commits mailing list