alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (AuthResources_es.java)

This example Java source code file (AuthResources_es.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

adicional, almac\\u00e9n, claves, configuraci\\u00f3n\:\\n\\tno, contrase\u00f1a, error, grupo, object, principal, solarisnumericgroupprincipal, solarisnumericuserprincipal, solarisprincipal, unixnumericgroupprincipal

The AuthResources_es.java Java example source code

/*
 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

package sun.security.util;

/**
 * <p> This class represents the ResourceBundle
 * for the following packages:
 *
 * <ol>
 * <li> com.sun.security.auth
 * <li> com.sun.security.auth.login
 * </ol>
 *
 */
public class AuthResources_es extends java.util.ListResourceBundle {

    private static final Object[][] contents = {

        // NT principals
        {"invalid.null.input.value", "entrada nula no v\u00E1lida: {0}"},
        {"NTDomainPrincipal.name", "NTDomainPrincipal: {0}"},
        {"NTNumericCredential.name", "NTNumericCredential: {0}"},
        {"Invalid.NTSid.value", "Valor de NTSid no v\u00E1lido"},
        {"NTSid.name", "NTSid: {0}"},
        {"NTSidDomainPrincipal.name", "NTSidDomainPrincipal: {0}"},
        {"NTSidGroupPrincipal.name", "NTSidGroupPrincipal: {0}"},
        {"NTSidPrimaryGroupPrincipal.name", "NTSidPrimaryGroupPrincipal: {0}"},
        {"NTSidUserPrincipal.name", "NTSidUserPrincipal: {0}"},
        {"NTUserPrincipal.name", "NTUserPrincipal: {0}"},

        // UnixPrincipals
        {"UnixNumericGroupPrincipal.Primary.Group.name",
                "UnixNumericGroupPrincipal [Grupo Principal] {0}"},
        {"UnixNumericGroupPrincipal.Supplementary.Group.name",
                "UnixNumericGroupPrincipal [Grupo Adicional] {0}"},
        {"UnixNumericUserPrincipal.name", "UnixNumericUserPrincipal: {0}"},
        {"UnixPrincipal.name", "UnixPrincipal: {0}"},

        // com.sun.security.auth.login.ConfigFile
        {"Unable.to.properly.expand.config", "No se ha podido ampliar correctamente {0}"},
        {"extra.config.No.such.file.or.directory.",
                "{0} (No existe tal archivo o directorio)"},
        {"Configuration.Error.No.such.file.or.directory",
                "Error de Configuraci\u00F3n:\n\tNo existe tal archivo o directorio"},
        {"Configuration.Error.Invalid.control.flag.flag",
                "Error de Configuraci\u00F3n:\n\tIndicador de control no v\u00E1lido, {0}"},
        {"Configuration.Error.Can.not.specify.multiple.entries.for.appName",
            "Error de Configuraci\u00F3n:\n\tNo se pueden especificar varias entradas para {0}"},
        {"Configuration.Error.expected.expect.read.end.of.file.",
                "Error de configuraci\u00F3n:\n\tse esperaba [{0}], se ha le\u00EDdo [final de archivo]"},
        {"Configuration.Error.Line.line.expected.expect.found.value.",
            "Error de configuraci\u00F3n:\n\tL\u00EDnea {0}: se esperaba [{1}], se ha encontrado [{2}]"},
        {"Configuration.Error.Line.line.expected.expect.",
            "Error de configuraci\u00F3n:\n\tL\u00EDnea {0}: se esperaba [{1}]"},
        {"Configuration.Error.Line.line.system.property.value.expanded.to.empty.value",
            "Error de configuraci\u00F3n:\n\tL\u00EDnea {0}: propiedad de sistema [{1}] ampliada a valor vac\u00EDo"},

        // com.sun.security.auth.module.JndiLoginModule
        {"username.","nombre de usuario: "},
        {"password.","contrase\u00F1a: "},

        // com.sun.security.auth.module.KeyStoreLoginModule
        {"Please.enter.keystore.information",
                "Introduzca la informaci\u00F3n del almac\u00E9n de claves"},
        {"Keystore.alias.","Alias de Almac\u00E9n de Claves: "},
        {"Keystore.password.","Contrase\u00F1a de Almac\u00E9n de Claves: "},
        {"Private.key.password.optional.",
            "Contrase\u00F1a de Clave Privada (opcional): "},

        // com.sun.security.auth.module.Krb5LoginModule
        {"Kerberos.username.defUsername.",
                "Nombre de usuario de Kerberos [{0}]: "},
        {"Kerberos.password.for.username.",
                "Contrase\u00F1a de Kerberos de {0}: "},

        /***    EVERYTHING BELOW IS DEPRECATED  ***/

        // com.sun.security.auth.PolicyFile
        {".error.parsing.", ": error de an\u00E1lisis "},
        {"COLON", ": "},
        {".error.adding.Permission.", ": error al agregar el permiso "},
        {"SPACE", " "},
        {".error.adding.Entry.", ": error al agregar la entrada "},
        {"LPARAM", "("},
        {"RPARAM", ")"},
        {"attempt.to.add.a.Permission.to.a.readonly.PermissionCollection",
            "se ha intentado agregar un permiso a una recopilaci\u00F3n de permisos de s\u00F3lo lectura"},

        // com.sun.security.auth.PolicyParser
        {"expected.keystore.type", "se esperaba un tipo de almac\u00E9n de claves"},
        {"can.not.specify.Principal.with.a.wildcard.class.without.a.wildcard.name",
                "no se puede especificar Principal con una clase de comod\u00EDn sin un nombre de comod\u00EDn"},
        {"expected.codeBase.or.SignedBy", "se esperaba codeBase o SignedBy"},
        {"only.Principal.based.grant.entries.permitted",
                "s\u00F3lo se permite otorgar entradas basadas en Principal"},
        {"expected.permission.entry", "se esperaba un permiso de entrada"},
        {"number.", "n\u00FAmero "},
        {"expected.expect.read.end.of.file.",
                "se esperaba [{0}], se ha le\u00EDdo final de archivo"},
        {"expected.read.end.of.file", "se esperaba ';', se ha le\u00EDdo el final de archivo"},
        {"line.", "l\u00EDnea "},
        {".expected.", ": se esperaba '"},
        {".found.", "', se ha encontrado '"},
        {"QUOTE", "'"},

        // SolarisPrincipals
        {"SolarisNumericGroupPrincipal.Primary.Group.",
                "SolarisNumericGroupPrincipal [Grupo Principal]: "},
        {"SolarisNumericGroupPrincipal.Supplementary.Group.",
                "SolarisNumericGroupPrincipal [Grupo Adicional]: "},
        {"SolarisNumericUserPrincipal.",
                "SolarisNumericUserPrincipal: "},
        {"SolarisPrincipal.", "SolarisPrincipal: "},
        // provided.null.name is the NullPointerException message when a
        // developer incorrectly passes a null name to the constructor of
        // subclasses of java.security.Principal
        {"provided.null.name", "se ha proporcionado un nombre nulo"}

    };

    /**
     * Returns the contents of this <code>ResourceBundle.
     *
     * <p>
     *
     * @return the contents of this <code>ResourceBundle.
     */
    public Object[][] getContents() {
        return contents;
    }
}

Other Java examples (source code examples)

Here is a short list of links related to this Java AuthResources_es.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.