1 /*
   2  * Copyright (c) 2000, 2019, 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  * This class represents the <code>ResourceBundle</code>
  30  * for javax.security.auth and sun.security.
  31  *
  32  */
  33 public class Resources_zh_CN extends java.util.ListResourceBundle {
  34 
  35     private static final Object[][] contents = {
  36 
  37         // javax.security.auth.PrivateCredentialPermission
  38         {"invalid.null.input.s.", "\u65E0\u6548\u7684\u7A7A\u8F93\u5165"},
  39         {"actions.can.only.be.read.", "\u64CD\u4F5C\u53EA\u80FD\u4E3A '\u8BFB\u53D6'"},
  40         {"permission.name.name.syntax.invalid.",
  41                 "\u6743\u9650\u540D\u79F0 [{0}] \u8BED\u6CD5\u65E0\u6548: "},
  42         {"Credential.Class.not.followed.by.a.Principal.Class.and.Name",
  43                 "\u8EAB\u4EFD\u8BC1\u660E\u7C7B\u540E\u9762\u672A\u8DDF\u968F\u4E3B\u7528\u6237\u7C7B\u53CA\u540D\u79F0"},
  44         {"Principal.Class.not.followed.by.a.Principal.Name",
  45                 "\u4E3B\u7528\u6237\u7C7B\u540E\u9762\u672A\u8DDF\u968F\u4E3B\u7528\u6237\u540D\u79F0"},
  46         {"Principal.Name.must.be.surrounded.by.quotes",
  47                 "\u4E3B\u7528\u6237\u540D\u79F0\u5FC5\u987B\u653E\u5728\u5F15\u53F7\u5185"},
  48         {"Principal.Name.missing.end.quote",
  49                 "\u4E3B\u7528\u6237\u540D\u79F0\u7F3A\u5C11\u53F3\u5F15\u53F7"},
  50         {"PrivateCredentialPermission.Principal.Class.can.not.be.a.wildcard.value.if.Principal.Name.is.not.a.wildcard.value",
  51                 "\u5982\u679C\u4E3B\u7528\u6237\u540D\u79F0\u4E0D\u662F\u901A\u914D\u7B26 (*) \u503C, \u90A3\u4E48 PrivateCredentialPermission \u4E3B\u7528\u6237\u7C7B\u4E0D\u80FD\u662F\u901A\u914D\u7B26 (*) \u503C"},
  52         {"CredOwner.Principal.Class.class.Principal.Name.name",
  53                 "CredOwner:\n\t\u4E3B\u7528\u6237\u7C7B = {0}\n\t\u4E3B\u7528\u6237\u540D\u79F0 = {1}"},
  54 
  55         // javax.security.auth.x500
  56         {"provided.null.name", "\u63D0\u4F9B\u7684\u540D\u79F0\u4E3A\u7A7A\u503C"},
  57         {"provided.null.keyword.map", "\u63D0\u4F9B\u7684\u5173\u952E\u5B57\u6620\u5C04\u4E3A\u7A7A\u503C"},
  58         {"provided.null.OID.map", "\u63D0\u4F9B\u7684 OID \u6620\u5C04\u4E3A\u7A7A\u503C"},
  59 
  60         // javax.security.auth.Subject
  61         {"NEWLINE", "\n"},
  62         {"invalid.null.AccessControlContext.provided",
  63                 "\u63D0\u4F9B\u4E86\u65E0\u6548\u7684\u7A7A AccessControlContext"},
  64         {"invalid.null.action.provided", "\u63D0\u4F9B\u4E86\u65E0\u6548\u7684\u7A7A\u64CD\u4F5C"},
  65         {"invalid.null.Class.provided", "\u63D0\u4F9B\u4E86\u65E0\u6548\u7684\u7A7A\u7C7B"},
  66         {"Subject.", "\u4E3B\u4F53: \n"},
  67         {".Principal.", "\t\u4E3B\u7528\u6237: "},
  68         {".Public.Credential.", "\t\u516C\u5171\u8EAB\u4EFD\u8BC1\u660E: "},
  69         {".Private.Credentials.inaccessible.",
  70                 "\t\u65E0\u6CD5\u8BBF\u95EE\u4E13\u7528\u8EAB\u4EFD\u8BC1\u660E\n"},
  71         {".Private.Credential.", "\t\u4E13\u7528\u8EAB\u4EFD\u8BC1\u660E: "},
  72         {".Private.Credential.inaccessible.",
  73                 "\t\u65E0\u6CD5\u8BBF\u95EE\u4E13\u7528\u8EAB\u4EFD\u8BC1\u660E\n"},
  74         {"Subject.is.read.only", "\u4E3B\u4F53\u4E3A\u53EA\u8BFB"},
  75         {"attempting.to.add.an.object.which.is.not.an.instance.of.java.security.Principal.to.a.Subject.s.Principal.Set",
  76                 "\u6B63\u5728\u5C1D\u8BD5\u5C06\u4E00\u4E2A\u975E java.security.Principal \u5B9E\u4F8B\u7684\u5BF9\u8C61\u6DFB\u52A0\u5230\u4E3B\u4F53\u7684\u4E3B\u7528\u6237\u96C6\u4E2D"},
  77         {"attempting.to.add.an.object.which.is.not.an.instance.of.class",
  78                 "\u6B63\u5728\u5C1D\u8BD5\u6DFB\u52A0\u4E00\u4E2A\u975E{0}\u5B9E\u4F8B\u7684\u5BF9\u8C61"},
  79 
  80         // javax.security.auth.login.AppConfigurationEntry
  81         {"LoginModuleControlFlag.", "LoginModuleControlFlag: "},
  82 
  83         // javax.security.auth.login.LoginContext
  84         {"Invalid.null.input.name", "\u65E0\u6548\u7A7A\u8F93\u5165: \u540D\u79F0"},
  85         {"No.LoginModules.configured.for.name",
  86          "\u6CA1\u6709\u4E3A{0}\u914D\u7F6E LoginModules"},
  87         {"invalid.null.Subject.provided", "\u63D0\u4F9B\u4E86\u65E0\u6548\u7684\u7A7A\u4E3B\u4F53"},
  88         {"invalid.null.CallbackHandler.provided",
  89                 "\u63D0\u4F9B\u4E86\u65E0\u6548\u7684\u7A7A CallbackHandler"},
  90         {"null.subject.logout.called.before.login",
  91                 "\u7A7A\u4E3B\u4F53 - \u5728\u767B\u5F55\u4E4B\u524D\u8C03\u7528\u4E86\u6CE8\u9500"},
  92         {"unable.to.instantiate.LoginModule.module.because.it.does.not.provide.a.no.argument.constructor",
  93                 "\u65E0\u6CD5\u5B9E\u4F8B\u5316 LoginModule, {0}, \u56E0\u4E3A\u5B83\u672A\u63D0\u4F9B\u4E00\u4E2A\u65E0\u53C2\u6570\u6784\u9020\u5668"},
  94         {"unable.to.instantiate.LoginModule",
  95                 "\u65E0\u6CD5\u5B9E\u4F8B\u5316 LoginModule"},
  96         {"unable.to.instantiate.LoginModule.",
  97                 "\u65E0\u6CD5\u5B9E\u4F8B\u5316 LoginModule: "},
  98         {"unable.to.find.LoginModule.class.",
  99                 "\u65E0\u6CD5\u627E\u5230 LoginModule \u7C7B: "},
 100         {"unable.to.access.LoginModule.",
 101                 "\u65E0\u6CD5\u8BBF\u95EE LoginModule: "},
 102         {"Login.Failure.all.modules.ignored",
 103                 "\u767B\u5F55\u5931\u8D25: \u5FFD\u7565\u6240\u6709\u6A21\u5757"},
 104 
 105         // sun.security.provider.PolicyFile
 106 
 107         {"java.security.policy.error.parsing.policy.message",
 108                 "java.security.policy: \u89E3\u6790{0}\u65F6\u51FA\u9519:\n\t{1}"},
 109         {"java.security.policy.error.adding.Permission.perm.message",
 110                 "java.security.policy: \u6DFB\u52A0\u6743\u9650{0}\u65F6\u51FA\u9519:\n\t{1}"},
 111         {"java.security.policy.error.adding.Entry.message",
 112                 "java.security.policy: \u6DFB\u52A0\u6761\u76EE\u65F6\u51FA\u9519:\n\t{0}"},
 113         {"alias.name.not.provided.pe.name.", "\u672A\u63D0\u4F9B\u522B\u540D ({0})"},
 114         {"unable.to.perform.substitution.on.alias.suffix",
 115                 "\u65E0\u6CD5\u5728\u522B\u540D {0} \u4E0A\u6267\u884C\u66FF\u4EE3"},
 116         {"substitution.value.prefix.unsupported",
 117                 "\u66FF\u4EE3\u503C{0}\u4E0D\u53D7\u652F\u6301"},
 118         {"SPACE", " "},
 119         {"LPARAM", "("},
 120         {"RPARAM", ")"},
 121         {"type.can.t.be.null","\u7C7B\u578B\u4E0D\u80FD\u4E3A\u7A7A\u503C"},
 122 
 123         // sun.security.provider.PolicyParser
 124         {"keystorePasswordURL.can.not.be.specified.without.also.specifying.keystore",
 125                 "\u4E0D\u6307\u5B9A\u5BC6\u94A5\u5E93\u65F6\u65E0\u6CD5\u6307\u5B9A keystorePasswordURL"},
 126         {"expected.keystore.type", "\u5E94\u4E3A\u5BC6\u94A5\u5E93\u7C7B\u578B"},
 127         {"expected.keystore.provider", "\u5E94\u4E3A\u5BC6\u94A5\u5E93\u63D0\u4F9B\u65B9"},
 128         {"multiple.Codebase.expressions",
 129                 "\u591A\u4E2A\u4EE3\u7801\u5E93\u8868\u8FBE\u5F0F"},
 130         {"multiple.SignedBy.expressions","\u591A\u4E2A SignedBy \u8868\u8FBE\u5F0F"},
 131         {"duplicate.keystore.domain.name","\u5BC6\u94A5\u5E93\u57DF\u540D\u91CD\u590D: {0}"},
 132         {"duplicate.keystore.name","\u5BC6\u94A5\u5E93\u540D\u79F0\u91CD\u590D: {0}"},
 133         {"SignedBy.has.empty.alias","SignedBy \u6709\u7A7A\u522B\u540D"},
 134         {"can.not.specify.Principal.with.a.wildcard.class.without.a.wildcard.name",
 135                 "\u6CA1\u6709\u901A\u914D\u7B26\u540D\u79F0, \u65E0\u6CD5\u4F7F\u7528\u901A\u914D\u7B26\u7C7B\u6307\u5B9A\u4E3B\u7528\u6237"},
 136         {"expected.codeBase.or.SignedBy.or.Principal",
 137                 "\u5E94\u4E3A codeBase, SignedBy \u6216\u4E3B\u7528\u6237"},
 138         {"expected.permission.entry", "\u5E94\u4E3A\u6743\u9650\u6761\u76EE"},
 139         {"number.", "\u7F16\u53F7 "},
 140         {"expected.expect.read.end.of.file.",
 141                 "\u5E94\u4E3A [{0}], \u8BFB\u53D6\u7684\u662F [\u6587\u4EF6\u7ED3\u5C3E]"},
 142         {"expected.read.end.of.file.",
 143                 "\u5E94\u4E3A [;], \u8BFB\u53D6\u7684\u662F [\u6587\u4EF6\u7ED3\u5C3E]"},
 144         {"line.number.msg", "\u5217{0}: {1}"},
 145         {"line.number.expected.expect.found.actual.",
 146                 "\u884C\u53F7 {0}: \u5E94\u4E3A [{1}], \u627E\u5230 [{2}]"},
 147         {"null.principalClass.or.principalName",
 148                 "principalClass \u6216 principalName \u4E3A\u7A7A\u503C"},
 149 
 150         // sun.security.pkcs11.SunPKCS11
 151         {"PKCS11.Token.providerName.Password.",
 152                 "PKCS11 \u6807\u8BB0 [{0}] \u53E3\u4EE4: "},
 153 
 154         /* --- DEPRECATED --- */
 155         // javax.security.auth.Policy
 156         {"unable.to.instantiate.Subject.based.policy",
 157                 "\u65E0\u6CD5\u5B9E\u4F8B\u5316\u57FA\u4E8E\u4E3B\u9898\u7684\u7B56\u7565"}
 158     };
 159 
 160 
 161     /**
 162      * Returns the contents of this <code>ResourceBundle</code>.
 163      *
 164      * @return the contents of this <code>ResourceBundle</code>.
 165      */
 166     @Override
 167     public Object[][] getContents() {
 168         return contents;
 169     }
 170 }
 171 
--- EOF ---