[jboss-cvs] JBossAS SVN: r89651 - 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 Jun 2 02:44:53 EDT 2009


Author: xhuang at jboss.com
Date: 2009-06-02 02:44:52 -0400 (Tue, 02 Jun 2009)
New Revision: 89651

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-06-02 06:36:50 UTC (rev 89650)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/J2EE_Security_On_JBOSS.po	2009-06-02 06:44:52 UTC (rev 89651)
@@ -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-06-01 16:57+1000\n"
-"Last-Translator: Xi HUANG\n"
+"PO-Revision-Date: 2009-06-02 13:37+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"
@@ -7289,7 +7289,7 @@
 #: J2EE_Security_On_JBOSS.xml:1822
 #, no-c-format
 msgid "Running JBoss with a Java 2 security manager"
-msgstr ""
+msgstr "使用 Java 2 安全管理者运行 JBoss "
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1823
@@ -7302,6 +7302,8 @@
 "<literal>run.sh</literal> scripts in the JBoss server distribution bin "
 "directory. The two required VM options are as follows:"
 msgstr ""
+"在缺省情况下,JBoss 服务器不会启动 Java 2 安全管理者。如果你想用 Java 2 来限制代码的权限,你需要配置 JBoss 服务器,使其在安全管理者下运行。这是通过配置 bin 目录下的 <literal>run.bat</literal> 或 "
+"<literal>run.sh</literal> 脚步里的 Java VM 选项完成的。必需的两个 VM 选项是:"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1828
@@ -7315,7 +7317,7 @@
 "name of a subclass of <literal>java.lang.SecurityManager</literal>. This "
 "form specifies that the policy file should augment the default security "
 "policy as configured by the VM installation."
-msgstr ""
+msgstr "<emphasis role=\"bold\">java.security.manager</emphasis>:如果没有指定则使用缺省的安全管理者。这是首选的安全管理者。你可以设置 <literal>java.security.manager</literal> 选项来指定自定义的安全管理者实现。它的值必须是 <literal>java.lang.SecurityManager</literal> 子类的全限定类名。这种形式指定策略文件必须以缺省的 VM 安装配置的安全性策略为参数。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1833
@@ -7331,6 +7333,9 @@
 "should be used. The <literal>policyFileURL</literal> value can be any URL "
 "for which a protocol handler exists, or a file path specification."
 msgstr ""
+"<emphasis role=\"bold\">java.security.policy</emphasis>:它用于指定策略文件必须以缺省的 VM 安装配置的安全性策略为参数。这个选项使用两种形式:<literal>java.security."
+"policy=policyFileURL</literal> 和 <literal>java.security."
+"policy==policyFileURL</literal>。第一种形式指定策略文件应该以缺省的 VM 安装配置的安全性策略为参数。第二种形式指定只能使用专门的策略文件。<literal>policyFileURL</literal> 值可以是任何协议处理程序的 URL 或文件路径。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1838
@@ -7339,7 +7344,7 @@
 "Both the <literal>run.bat</literal> and <literal>run.sh</literal> start "
 "scripts reference an JAVA_OPTS variable which you can use to set the "
 "security manager properties."
-msgstr ""
+msgstr "<literal>run.bat</literal> 和 <literal>run.sh</literal> 启动脚本都引用了你可以用来设置安全管理者属性的 JAVA_OPTS。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1841
@@ -7350,7 +7355,7 @@
 "<literal>server.policy</literal> file that is contained in the default "
 "configuration file set, you&#39;ll see that it contains the following "
 "permission grant statement:"
-msgstr ""
+msgstr "启用 Java 2 安全性是很容易的。难做的是建立权限。打开 default 配置文件集里包含的 <literal>server.policy</literal> 文件,你会看到下列的权限赋予语句:"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1844
@@ -7361,6 +7366,10 @@
 "    permission java.security.AllPermission;\n"
 "};"
 msgstr ""
+"grant {\n"
+"    // Allow everything for now\n"
+"    permission java.security.AllPermission;\n"
+"};"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1845
@@ -7369,7 +7378,7 @@
 "This effectively disables security permission checking for all code as it "
 "says any code can do anything, which is not a reasonable default. What is a "
 "reasonable set of permissions is entirely up to you."
-msgstr ""
+msgstr "这有效地禁止了所有代码的安全权限检查,因为它可让任何代码执行任何事情,这不是一个合理的缺省设置。什么是合理的设置完全取决于你。"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1848
@@ -7378,30 +7387,32 @@
 "The current set of JBoss specific <literal>java.lang.RuntimePermissions</"
 "literal> that are required include:"
 msgstr ""
+"当前 JBoss 所专有的 <literal>java.lang.RuntimePermissions</"
+"literal> 集合包括:"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1854
 #, no-c-format
 msgid "TargetName"
-msgstr ""
+msgstr "TargetName"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1857
 #, no-c-format
 msgid "What the permission allows"
-msgstr ""
+msgstr "这个权限所允许的东西"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1860
 #, no-c-format
 msgid "Risks"
-msgstr ""
+msgstr "Risks"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1867
 #, no-c-format
 msgid "org.jboss.security.SecurityAssociation.getPrincipalInfo"
-msgstr ""
+msgstr "org.jboss.security.SecurityAssociation.getPrincipalInfo"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1870
@@ -7409,19 +7420,19 @@
 msgid ""
 "Access to the org.jboss.security.SecurityAssociation getPrincipal() and "
 "getCredentials() methods."
-msgstr ""
+msgstr "访问 org.jboss.security.SecurityAssociation getPrincipal() 和 getCredentials() 方法。"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1873
 #, no-c-format
 msgid "The ability to see the current thread caller and credentials."
-msgstr ""
+msgstr "查看当前线程的调用者和 credential 的能力。"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1878
 #, no-c-format
 msgid "org.jboss.security.SecurityAssociation.setPrincipalInfo"
-msgstr ""
+msgstr "org.jboss.security.SecurityAssociation.setPrincipalInfo"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1881
@@ -7429,25 +7440,25 @@
 msgid ""
 "Access to the org.jboss.security.SecurityAssociation setPrincipal() and "
 "setCredentials() methods."
-msgstr ""
+msgstr "访问 org.jboss.security.SecurityAssociation setPrincipal() 和 setCredentials() 方法。"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1884
 #, no-c-format
 msgid "The ability to set the current thread caller and credentials."
-msgstr ""
+msgstr "设置当前线程的调用者和 credential 的能力。"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1889
 #, no-c-format
 msgid "org.jboss.security.SecurityAssociation.setServer"
-msgstr ""
+msgstr "org.jboss.security.SecurityAssociation.setServer"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1892
 #, no-c-format
 msgid "Access to the org.jboss.security.SecurityAssociation setServer method."
-msgstr ""
+msgstr "访问 org.jboss.security.SecurityAssociation setServer 方法。"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1895
@@ -7455,13 +7466,13 @@
 msgid ""
 "The ability to enable or disable multithread storage of the caller principal "
 "and credential."
-msgstr ""
+msgstr "启用和禁止调用者的 principal 和 credential 的多线程存储。"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1900
 #, no-c-format
 msgid "org.jboss.security.SecurityAssociation.setRunAsRole"
-msgstr ""
+msgstr "org.jboss.security.SecurityAssociation.setRunAsRole"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1903




More information about the jboss-cvs-commits mailing list