1 /*
   2  * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.security.util;
  27 
  28 /**
  29  * <p> This class represents the <code>ResourceBundle</code>
  30  * for the following packages:
  31  *
  32  * <ol>
  33  * <li> com.sun.security.auth
  34  * <li> com.sun.security.auth.login
  35  * </ol>
  36  *
  37  */
  38 public class AuthResources_zh_CN extends java.util.ListResourceBundle {
  39 
  40     private static final Object[][] contents = {
  41 
  42         // NT principals
  43         {"invalid null input: value", "\u65e0\u6548\u7684\u7a7a\u8f93\u5165\uff1a {0}"},
  44         {"NTDomainPrincipal: name", "NTDomainPrincipal: {0}"},
  45         {"NTNumericCredential: name", "NTNumericCredential: {0}"},
  46         {"Invalid NTSid value", "\u65e0\u6548\u7684 NTSid \u503c"},
  47         {"NTSid: name", "NTSid: {0}"},
  48         {"NTSidDomainPrincipal: name", "NTSidDomainPrincipal: {0}"},
  49         {"NTSidGroupPrincipal: name", "NTSidGroupPrincipal: {0}"},
  50         {"NTSidPrimaryGroupPrincipal: name", "NTSidPrimaryGroupPrincipal: {0}"},
  51         {"NTSidUserPrincipal: name", "NTSidUserPrincipal: {0}"},
  52         {"NTUserPrincipal: name", "NTUserPrincipal: {0}"},
  53 
  54         // UnixPrincipals
  55         {"UnixNumericGroupPrincipal [Primary Group]: name",
  56                 "UnixNumericGroupPrincipal [\u4e3b\u7fa4\u7ec4]\uff1a {0}"},
  57         {"UnixNumericGroupPrincipal [Supplementary Group]: name",
  58                 "UnixNumericGroupPrincipal [\u9644\u52a0\u7fa4\u7ec4]\uff1a {0}"},
  59         {"UnixNumericUserPrincipal: name", "UnixNumericUserPrincipal: {0}"},
  60         {"UnixPrincipal: name", "UnixPrincipal\uff1a {0}"},
  61 
  62         // com.sun.security.auth.login.ConfigFile
  63         {"Unable to properly expand config", "\u65e0\u6cd5\u5b8c\u5168\u6269\u5145 {0}"},
  64         {"extra_config (No such file or directory)",
  65                 "{0} \uff08\u6ca1\u6709\u6b64\u6587\u4ef6\u6216\u76ee\u5f55\uff09"},
  66         {"Configuration Error:\n\tNo such file or directory",
  67                 "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u6ca1\u6709\u6b64\u6587\u4ef6\u6216\u76ee\u5f55"},
  68         {"Configuration Error:\n\tInvalid control flag, flag",
  69                 "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u65e0\u6548\u7684\u63a7\u5236\u6807\u8bb0\uff0c {0}"},
  70         {"Configuration Error:\n\tCan not specify multiple entries for appName",
  71             "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u65e0\u6cd5\u6307\u5b9a\u591a\u4e2a\u9879\u76ee {0}"},
  72         {"Configuration Error:\n\texpected [expect], read [end of file]",
  73                 "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u9884\u671f\u7684 [{0}], \u8bfb\u53d6 [\u6587\u4ef6\u672b\u7aef]"},
  74         {"Configuration Error:\n\tLine line: expected [expect], found [value]",
  75             "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u884c {0}: \u9884\u671f\u7684 [{1}], \u627e\u5230 [{2}]"},
  76         {"Configuration Error:\n\tLine line: expected [expect]",
  77             "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u884c {0}: \u9884\u671f\u7684 [{1}]"},
  78         {"Configuration Error:\n\tLine line: system property [value] expanded to empty value",
  79             "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u884c {0}: \u7cfb\u7edf\u5c5e\u6027 [{1}] \u6269\u5145\u81f3\u7a7a\u503c"},
  80 
  81         // com.sun.security.auth.module.JndiLoginModule
  82         {"username: ","\u7528\u6237\u540d\uff1a "},
  83         {"password: ","\u5bc6\u7801\uff1a "},
  84 
  85         // com.sun.security.auth.module.KeyStoreLoginModule
  86         {"Please enter keystore information",
  87                 "\u8bf7\u8f93\u5165 keystore \u4fe1\u606f"},
  88         {"Keystore alias: ","Keystore \u522b\u540d\uff1a "},
  89         {"Keystore password: ","Keystore \u5bc6\u7801\uff1a "},
  90         {"Private key password (optional): ",
  91             "\u79c1\u4eba\u5173\u952e\u5bc6\u7801\uff08\u53ef\u9009\u7684\uff09\uff1a "},
  92 
  93         // com.sun.security.auth.module.Krb5LoginModule
  94         {"Kerberos username [[defUsername]]: ",
  95                 "Kerberos \u7528\u6237\u540d [{0}]: "},
  96         {"Kerberos password for [username]: ",
  97                 " {0} \u7684 Kerberos \u5bc6\u7801: "},
  98 
  99         /***    EVERYTHING BELOW IS DEPRECATED  ***/
 100 
 101         // com.sun.security.auth.PolicyFile
 102         {": error parsing ", "\uff1a\u8bed\u6cd5\u89e3\u6790\u9519\u8bef "},
 103         {": ", ": "},
 104         {": error adding Permission ", "\uff1a\u6dfb\u52a0\u6743\u9650\u9519\u8bef "},
 105         {" ", " "},
 106         {": error adding Entry ", "\u6dfb\u52a0\u9879\u76ee\u9519\u8bef "},
 107         {"(", "("},
 108         {")", ")"},
 109         {"attempt to add a Permission to a readonly PermissionCollection",
 110             "\u8bd5\u56fe\u5c06\u6743\u9650\u6dfb\u52a0\u81f3\u53ea\u8bfb\u7684 PermissionCollection"},
 111 
 112         // com.sun.security.auth.PolicyParser
 113         {"expected keystore type", "\u9884\u671f\u7684 keystore \u7c7b\u578b"},
 114         {"can not specify Principal with a ",
 115                 "\u65e0\u6cd5\u4ee5\u6b64\u6765\u6307\u5b9a Principal "},
 116         {"wildcard class without a wildcard name",
 117                 "\u65e0\u901a\u914d\u5b57\u7b26\u540d\u79f0\u7684\u901a\u914d\u5b57\u7b26\u7c7b"},
 118         {"expected codeBase or SignedBy", "\u9884\u671f\u7684 codeBase \u6216 SignedBy"},
 119         {"only Principal-based grant entries permitted",
 120                 "\u53ea\u5141\u8bb8\u57fa\u4e8e Principal \u7684\u6388\u6743\u9879\u76ee"},
 121         {"expected permission entry", "\u9884\u671f\u7684\u6743\u9650\u9879\u76ee"},
 122         {"number ", "\u53f7\u7801 "},
 123         {"expected ", "\u9884\u671f\u7684 "},
 124         {", read end of file", "\uff0c\u8bfb\u53d6\u6587\u4ef6\u672b\u7aef"},
 125         {"expected ';', read end of file", "\u9884\u671f\u7684 ';', \u8bfb\u53d6\u6587\u4ef6\u672b\u7aef"},
 126         {"line ", "\u884c "},
 127         {": expected '", ": \u9884\u671f\u7684 '"},
 128         {"', found '", "', \u627e\u5230 '"},
 129         {"'", "'"},
 130 
 131         // SolarisPrincipals
 132         {"SolarisNumericGroupPrincipal [Primary Group]: ",
 133                 "SolarisNumericGroupPrincipal [\u4e3b\u7fa4\u7ec4]\uff1a "},
 134         {"SolarisNumericGroupPrincipal [Supplementary Group]: ",
 135                 "SolarisNumericGroupPrincipal [\u9644\u52a0\u7fa4\u7ec4]\uff1a "},
 136         {"SolarisNumericUserPrincipal: ",
 137                 "SolarisNumericUserPrincipal: "},
 138         {"SolarisPrincipal: ", "SolarisPrincipal: "},
 139         {"provided null name", "\u5df2\u63d0\u4f9b\u7684\u7a7a\u540d\u79f0"}
 140 
 141     };
 142 
 143     /**
 144      * Returns the contents of this <code>ResourceBundle</code>.
 145      *
 146      * <p>
 147      *
 148      * @return the contents of this <code>ResourceBundle</code>.
 149      */
 150     public Object[][] getContents() {
 151         return contents;
 152     }
 153 }