Path: blob/master/src/java.base/share/classes/sun/security/util/AuthResources.java
41159 views
/*1* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package sun.security.util;2627/**28* <p> This class represents the <code>ResourceBundle</code>29* for the following packages:30*31* <ol>32* <li> com.sun.security.auth33* <li> com.sun.security.auth.login34* </ol>35*36*/37public class AuthResources extends java.util.ListResourceBundle {3839private static final Object[][] contents = {4041// NT principals42{"invalid.null.input.value", "invalid null input: {0}"},43{"NTDomainPrincipal.name", "NTDomainPrincipal: {0}"},44{"NTNumericCredential.name", "NTNumericCredential: {0}"},45{"Invalid.NTSid.value", "Invalid NTSid value"},46{"NTSid.name", "NTSid: {0}"},47{"NTSidDomainPrincipal.name", "NTSidDomainPrincipal: {0}"},48{"NTSidGroupPrincipal.name", "NTSidGroupPrincipal: {0}"},49{"NTSidPrimaryGroupPrincipal.name", "NTSidPrimaryGroupPrincipal: {0}"},50{"NTSidUserPrincipal.name", "NTSidUserPrincipal: {0}"},51{"NTUserPrincipal.name", "NTUserPrincipal: {0}"},5253// UnixPrincipals54{"UnixNumericGroupPrincipal.Primary.Group.name",55"UnixNumericGroupPrincipal [Primary Group]: {0}"},56{"UnixNumericGroupPrincipal.Supplementary.Group.name",57"UnixNumericGroupPrincipal [Supplementary Group]: {0}"},58{"UnixNumericUserPrincipal.name", "UnixNumericUserPrincipal: {0}"},59{"UnixPrincipal.name", "UnixPrincipal: {0}"},6061// com.sun.security.auth.login.ConfigFile62{"Unable.to.properly.expand.config", "Unable to properly expand {0}"},63{"extra.config.No.such.file.or.directory.",64"{0} (No such file or directory)"},65{"Configuration.Error.No.such.file.or.directory",66"Configuration Error:\n\tNo such file or directory"},67{"Configuration.Error.Invalid.control.flag.flag",68"Configuration Error:\n\tInvalid control flag, {0}"},69{"Configuration.Error.Can.not.specify.multiple.entries.for.appName",70"Configuration Error:\n\tCan not specify multiple entries for {0}"},71{"Configuration.Error.expected.expect.read.end.of.file.",72"Configuration Error:\n\texpected [{0}], read [end of file]"},73{"Configuration.Error.Line.line.expected.expect.found.value.",74"Configuration Error:\n\tLine {0}: expected [{1}], found [{2}]"},75{"Configuration.Error.Line.line.expected.expect.",76"Configuration Error:\n\tLine {0}: expected [{1}]"},77{"Configuration.Error.Line.line.system.property.value.expanded.to.empty.value",78"Configuration Error:\n\tLine {0}: system property [{1}] expanded to empty value"},7980// com.sun.security.auth.module.JndiLoginModule81{"username.","username: "},82{"password.","password: "},8384// com.sun.security.auth.module.KeyStoreLoginModule85{"Please.enter.keystore.information",86"Please enter keystore information"},87{"Keystore.alias.","Keystore alias: "},88{"Keystore.password.","Keystore password: "},89{"Private.key.password.optional.",90"Private key password (optional): "},9192// com.sun.security.auth.module.Krb5LoginModule93{"Kerberos.username.defUsername.",94"Kerberos username [{0}]: "},95{"Kerberos.password.for.username.",96"Kerberos password for {0}: "},97};9899/**100* Returns the contents of this <code>ResourceBundle</code>.101*102* <p>103*104* @return the contents of this <code>ResourceBundle</code>.105*/106public Object[][] getContents() {107return contents;108}109}110111112