[jboss-cvs] JBossAS SVN: r69523 - projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 1 00:45:24 EST 2008


Author: agarcia at jboss.com
Date: 2008-02-01 00:45:23 -0500 (Fri, 01 Feb 2008)
New Revision: 69523

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Additional_Services.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/Web_Services.po
Log:
pr in progress

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Additional_Services.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Additional_Services.po	2008-02-01 05:00:26 UTC (rev 69522)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Additional_Services.po	2008-02-01 05:45:23 UTC (rev 69523)
@@ -1,24 +1,26 @@
+# translation of J2EE_Additional_Services.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 # Automatically generated, 2007.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: J2EE_Additional_Services\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-01-22 00:12+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-02-01 14:51+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:6
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Additional Services"
-msgstr "Servidor de Aplicaciones"
+msgstr "Servicios adicionales"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:7
@@ -49,39 +51,39 @@
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:17
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "FreeMemory"
-msgstr "memoria"
+msgstr "FreeMemory"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:19
 #, no-c-format
 msgid "This is the current free memory available in the JVM."
-msgstr ""
+msgstr "Esta es la memoria actualmente libre y disponible en la MVJ."
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:25
 #, no-c-format
 msgid "ActiveThreadCount"
-msgstr ""
+msgstr "ActiveThreadCount"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:27
 #, no-c-format
 msgid "This is the number of active threads in the JVM."
-msgstr ""
+msgstr "Este es el número de hilos activos en la MVJ."
 
 #. Tag: emphasis
 #: J2EE_Additional_Services.xml:33
 #, no-c-format
 msgid "ActiveThreadGroupCount"
-msgstr ""
+msgstr "ActiveThreadGroupCount"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:35
 #, no-c-format
 msgid "This is the number of active thread groups in the JVM."
-msgstr ""
+msgstr "Este es el número de grupos de hilos activos en la MVJ."
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:41
@@ -98,7 +100,7 @@
 #: J2EE_Additional_Services.xml:46
 #, no-c-format
 msgid "listMemoryPools"
-msgstr ""
+msgstr "listMemoryPools"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:48
@@ -112,7 +114,7 @@
 #: J2EE_Additional_Services.xml:54
 #, no-c-format
 msgid "listThreadDump"
-msgstr ""
+msgstr "listThreadDump"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:56
@@ -127,7 +129,7 @@
 #: J2EE_Additional_Services.xml:62
 #, no-c-format
 msgid "listThreadCpuUtilization"
-msgstr ""
+msgstr "listThreadCpuUtilization"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:64
@@ -140,9 +142,9 @@
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:73
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The Log4j Service"
-msgstr "El Servicio Tomcat"
+msgstr "El servicio Log4j"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:74
@@ -218,7 +220,7 @@
 #: J2EE_Additional_Services.xml:107
 #, no-c-format
 msgid "System Properties Management"
-msgstr ""
+msgstr "Administración de propiedades del sistema"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:108
@@ -232,9 +234,9 @@
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:111
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Its configurable attributes include:"
-msgstr "Los atributos configurables son los siguientes:"
+msgstr "Los atributos configurables son los siguientes: "
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:116
@@ -285,6 +287,16 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.varia.property.SystemPropertiesService\"\n"
+"        name=\"jboss.util:type=Service,name=SystemProperties\"&gt;\n"
+"            \n"
+"    &lt;!-- Load properties from each of the given comma separated URLs --"
+"&gt;\n"
+"    &lt;attribute name=\"URLList\"&gt;\n"
+"        http://somehost/some-location.properties,\n"
+"        ./conf/somelocal.properties\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:130
@@ -308,12 +320,21 @@
 "            \n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.varia.property.SystemPropertiesService\"\n"
+"        name=\"jboss.util:type=Service,name=SystemProperties\"&gt;\n"
+"    &lt;!-- Set properties using the properties file style. --&gt;\n"
+"    &lt;attribute name=\"Properties\"&gt;\n"
+"       property1=This is the value of my property\n"
+"       property2=This is the value of my other property\n"
+"    &lt;/attribute&gt;\n"
+"            \n"
+"&lt;/mbean&gt;"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:137
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Property Editor Management"
-msgstr "Nombre de la propiedad"
+msgstr "Administración del editor de propiedades"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:138
@@ -369,7 +390,7 @@
 #: J2EE_Additional_Services.xml:161
 #, no-c-format
 msgid "Services Binding Management"
-msgstr ""
+msgstr "Administración de vinculación de servicios"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:162
@@ -441,6 +462,16 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.services.binding.ServiceBindingManager\" \n"
+"      name=\"jboss.system:service=ServiceBindingManager\"&gt;\n"
+"    &lt;attribute name=\"ServerName\"&gt;ports-01&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"StoreURL\"&gt;\n"
+"        ../docs/examples/binding-manager/sample-bindings.xml\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"StoreFactoryClassName\"&gt;\n"
+"        org.jboss.services.binding.XMLServicesStoreFactory \n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:186
@@ -454,13 +485,13 @@
 #: J2EE_Additional_Services.xml:190
 #, no-c-format
 msgid "The binding service file structure"
-msgstr ""
+msgstr "Estructura del archivo de servicios de vinculación"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:197
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The elements are:"
-msgstr "El elemento Host"
+msgstr "Los elementos son:"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:202
@@ -545,7 +576,7 @@
 #: J2EE_Additional_Services.xml:231
 #, no-c-format
 msgid "AttributeMappingDelegate"
-msgstr ""
+msgstr "AttributeMappingDelegate"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:232
@@ -566,6 +597,11 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/delegate-config&gt;"
 msgstr ""
+"&lt;delegate-config portName=\"portAttrName\" hostName=\"hostAttrName\"&gt;\n"
+"    &lt;attribute name=\"someAttrName\"&gt;someHostPortExpr&lt;/"
+"attribute&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/delegate-config&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:236
@@ -607,6 +643,12 @@
 "     &lt;binding port=\"1099\" /&gt;\n"
 "&lt;/service-config&gt;"
 msgstr ""
+"&lt;service-config name=\"jboss:service=Naming\"\n"
+"                 delegateClass=\"org.jboss.services.binding."
+"AttributeMappingDelegate\"&gt;\n"
+"     &lt;delegate-config portName=\"Port\"/&gt;\n"
+"     &lt;binding port=\"1099\" /&gt;\n"
+"&lt;/service-config&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:243
@@ -622,7 +664,7 @@
 #: J2EE_Additional_Services.xml:249
 #, no-c-format
 msgid "XSLTConfigDelegate"
-msgstr ""
+msgstr "XSLTConfigDelegate"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:250
@@ -646,6 +688,14 @@
 "     &lt;!-- ... --&gt;\n"
 "&lt;/delegate-config&gt;"
 msgstr ""
+"&lt;delegate-config&gt;\n"
+"    &lt;xslt-config configName=\"ConfigurationElement\"&gt;&lt;![CDATA[\n"
+"        Any XSL document contents...\n"
+"        ]]&gt;\n"
+"     &lt;/xslt-config&gt;\n"
+"     &lt;xslt-param name=\"param-name\"&gt;param-value&lt;/xslt-param&gt;\n"
+"     &lt;!-- ... --&gt;\n"
+"&lt;/delegate-config&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:254
@@ -716,12 +766,51 @@
 "     &lt;binding host=\"localhost\" port=\"1901\"/&gt;\n"
 "&lt;/service-config&gt;"
 msgstr ""
+"&lt;service-config name=\"jboss.jca:service=ManagedConnectionFactory,"
+"name=DefaultDS\" \n"
+"                delegateClass=\"org.jboss.services.binding.XSLTConfigDelegate"
+"\"&gt;\n"
+"    &lt;delegate-config&gt;\n"
+"        &lt;xslt-config configName=\"ManagedConnectionFactoryProperties\"&gt;"
+"&lt;![CDATA[\n"
+"&lt;xsl:stylesheet\n"
+"      xmlns:xsl=&#39;http://www.w3.org/1999/XSL/Transform&#39; "
+"version=&#39;1.0&#39;&gt;\n"
+"\n"
+"  &lt;xsl:output method=\"xml\" /&gt;\n"
+"  &lt;xsl:param name=\"host\"/&gt;\n"
+"  &lt;xsl:param name=\"port\"/&gt;\n"
+"\n"
+"  &lt;xsl:template match=\"/\"&gt;\n"
+"    &lt;xsl:apply-templates/&gt;\n"
+"  &lt;/xsl:template&gt;\n"
+"\n"
+"  &lt;xsl:template match=\"config-property[@name=&#39;ConnectionURL&#39;]"
+"\"&gt;\n"
+"    &lt;config-property type=\"java.lang.String\" name=\"ConnectionURL"
+"\"&gt;\n"
+"       jdbc:hsqldb:hsql://&lt;xsl:value-of select=&#39;$host&#39;/&gt;:&lt;"
+"xsl:value-of select=&#39;$port&#39;/&gt;\n"
+"    &lt;/config-property&gt;\n"
+"  &lt;/xsl:template&gt;\n"
+"\n"
+"  &lt;xsl:template match=\"*|@*\"&gt;\n"
+"    &lt;xsl:copy&gt;\n"
+"      &lt;xsl:apply-templates select=\"@*|node()\"/&gt;\n"
+"    &lt;/xsl:copy&gt;\n"
+"  &lt;/xsl:template&gt;\n"
+"&lt;/xsl:stylesheet&gt;\n"
+"]]&gt;\n"
+"        &lt;/xslt-config&gt;\n"
+"     &lt;/delegate-config&gt;\n"
+"     &lt;binding host=\"localhost\" port=\"1901\"/&gt;\n"
+"&lt;/service-config&gt;"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:264
 #, no-c-format
 msgid "XSLTFileDelegate"
-msgstr ""
+msgstr "XSLTFileDelegate"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:265
@@ -829,6 +918,73 @@
 "    &lt;binding port=\"8280\"/&gt;\n"
 "&lt;/service-config&gt;"
 msgstr ""
+"&lt;service-config name=\"jboss.web:service=WebServer\"\n"
+"                delegateClass=\"org.jboss.services.binding.XSLTFileDelegate"
+"\"&gt;\n"
+"    &lt;delegate-config&gt;\n"
+"        &lt;xslt-config configName=\"ConfigFile\"&gt;&lt;![CDATA[\n"
+"   &lt;xsl:stylesheet\n"
+"         xmlns:xsl=&#39;http://www.w3.org/1999/XSL/Transform&#39; "
+"version=&#39;1.0&#39;&gt;\n"
+"\n"
+"     &lt;xsl:output method=\"xml\" /&gt;\n"
+"     &lt;xsl:param name=\"port\"/&gt;\n"
+"\n"
+"     &lt;xsl:variable name=\"portAJP\" select=\"$port - 71\"/&gt;\n"
+"     &lt;xsl:variable name=\"portHttps\" select=\"$port + 363\"/&gt;\n"
+"\n"
+"     &lt;xsl:template match=\"/\"&gt;\n"
+"       &lt;xsl:apply-templates/&gt;\n"
+"     &lt;/xsl:template&gt;\n"
+"\n"
+"      &lt;xsl:template match = \"Connector\"&gt;\n"
+"         &lt;Connector&gt;\n"
+"            &lt;xsl:for-each select=\"@*\"&gt;\n"
+"            &lt;xsl:choose&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;port&#39; and . = "
+"&#39;8080&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"port\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$port\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;port&#39; and . = "
+"&#39;8009&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"port\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$portAJP\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;redirectPort&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"redirectPort\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$portHttps\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:when test=\"(name() = &#39;port&#39; and . = "
+"&#39;8443&#39;)\"&gt;\n"
+"                  &lt;xsl:attribute name=\"port\"&gt;\n"
+"                      &lt;xsl:value-of select=\"$portHttps\" /&gt;\n"
+"                  &lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:when&gt;\n"
+"               &lt;xsl:otherwise&gt;\n"
+"                  &lt;xsl:attribute name=\"{name()}\"&gt;&lt;xsl:value-of "
+"select=\".\" /&gt;&lt;/xsl:attribute&gt;\n"
+"               &lt;/xsl:otherwise&gt;\n"
+"            &lt;/xsl:choose&gt;\n"
+"            &lt;/xsl:for-each&gt;\n"
+"            &lt;xsl:apply-templates/&gt;\n"
+"         &lt;/Connector&gt;\n"
+"      &lt;/xsl:template&gt;\n"
+"\n"
+"     &lt;xsl:template match=\"*|@*\"&gt;\n"
+"       &lt;xsl:copy&gt;\n"
+"         &lt;xsl:apply-templates select=\"@*|node()\"/&gt;\n"
+"       &lt;/xsl:copy&gt;\n"
+"     &lt;/xsl:template&gt;\n"
+"   &lt;/xsl:stylesheet&gt;\n"
+"   ]]&gt;\n"
+"        &lt;/xslt-config&gt;\n"
+"    &lt;/delegate-config&gt;\n"
+"    &lt;binding port=\"8280\"/&gt;\n"
+"&lt;/service-config&gt;"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:279
@@ -852,7 +1008,7 @@
 #: J2EE_Additional_Services.xml:283
 #, no-c-format
 msgid "[examples]$ ant -Dchap=misc -Dex=1 run-example"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=misc -Dex=1 run-example"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:284
@@ -880,6 +1036,16 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.services.binding.ServiceBindingManager\"\n"
+"       name=\"jboss.system:service=ServiceBindingManager\"&gt;\n"
+"    &lt;attribute name=\"ServerName\"&gt;${jboss.server.name}&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"StoreURL\"&gt;${jboss.server.base.dir}/misc-ex1-"
+"bindings.xml&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"StoreFactoryClassName\"&gt;\n"
+"        org.jboss.services.binding.XMLServicesStoreFactory\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:288
@@ -1029,7 +1195,7 @@
 #: J2EE_Additional_Services.xml:351
 #, no-c-format
 msgid "org.jboss.varia.scheduler.Scheduler"
-msgstr ""
+msgstr "org.jboss.varia.scheduler.Scheduler"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:352
@@ -1251,6 +1417,24 @@
 "                \n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;server&gt;\n"
+"                \n"
+"    &lt;mbean code=\"org.jboss.varia.scheduler.Scheduler\"\n"
+"           name=\"jboss.docs:service=Scheduler\"&gt;\n"
+"        &lt;attribute name=\"StartAtStartup\"&gt;true&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"SchedulableClass\"&gt;org.jboss.book.misc.ex2."
+"ExSchedulable&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"SchedulableArguments\"&gt;TheName,123456789&lt;/"
+"attribute&gt;\n"
+"        &lt;attribute name=\"SchedulableArgumentTypes\"&gt;java.lang.String,"
+"long&lt;/attribute&gt;\n"
+"                \n"
+"        &lt;attribute name=\"InitialStartDate\"&gt;NOW&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"SchedulePeriod\"&gt;60000&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"InitialRepetitions\"&gt;-1&lt;/attribute&gt;\n"
+"    &lt;/mbean&gt;\n"
+"                \n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:453
@@ -1299,6 +1483,40 @@
 "    }\n"
 "}"
 msgstr ""
+"package org.jboss.book.misc.ex2;\n"
+"\n"
+"import java.util.Date;\n"
+"import org.jboss.varia.scheduler.Schedulable;\n"
+"\n"
+"import org.apache.log4j.Logger;\n"
+"\n"
+"/**\n"
+" * A simple Schedulable example.\n"
+" * @author Scott.Stark at jboss.org\n"
+" * @version $Revision: 1.4 $\n"
+" */\n"
+"public class ExSchedulable implements Schedulable\n"
+"{\n"
+"    private static final Logger log = Logger.getLogger(ExSchedulable."
+"class);\n"
+"\n"
+"    private String name;\n"
+"    private long value;\n"
+"\n"
+"    public ExSchedulable(String name, long value)\n"
+"    {\n"
+"        this.name = name;\n"
+"        this.value = value;\n"
+"        log.info(\"ctor, name: \" + name + \", value: \" + value);\n"
+"    }\n"
+"\n"
+"    public void perform(Date now, long remainingRepetitions)\n"
+"    {\n"
+"        log.info(\"perform, now: \" + now +\n"
+"                 \", remainingRepetitions: \" + remainingRepetitions +\n"
+"                 \", name: \" + name + \", value: \" + value);\n"
+"    }\n"
+"}"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:457
@@ -1310,7 +1528,7 @@
 #: J2EE_Additional_Services.xml:460
 #, no-c-format
 msgid "[examples]$ ant -Dchap=misc -Dex=2 run-example"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=misc -Dex=2 run-example"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:461
@@ -1335,6 +1553,16 @@
 "2004, \n"
 "  remainingRepetitions: -1, name: TheName, value: 123456789"
 msgstr ""
+"21:09:27,716 INFO  [ExSchedulable] ctor, name: TheName, value: 123456789\n"
+"21:09:28,925 INFO  [ExSchedulable] perform, now: Mon Dec 20 21:09:28 CST "
+"2004, \n"
+"  remainingRepetitions: -1, name: TheName, value: 123456789\n"
+"21:10:28,899 INFO  [ExSchedulable] perform, now: Mon Dec 20 21:10:28 CST "
+"2004, \n"
+"  remainingRepetitions: -1, name: TheName, value: 123456789\n"
+"21:11:28,897 INFO  [ExSchedulable] perform, now: Mon Dec 20 21:11:28 CST "
+"2004, \n"
+"  remainingRepetitions: -1, name: TheName, value: 123456789"
 
 #. Tag: title
 #: J2EE_Additional_Services.xml:470
@@ -1358,6 +1586,8 @@
 "&lt;mbean code=\"javax.management.timer.Timer\" name=\"jboss.monitor:"
 "name=Heartbeat,type=Timer\"/&gt;"
 msgstr ""
+"&lt;mbean code=\"javax.management.timer.Timer\" name=\"jboss.monitor:"
+"name=Heartbeat,type=Timer\"/&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:475
@@ -1452,6 +1682,17 @@
 "    &lt;/depends&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.monitor.services.TimerService\" \n"
+"       name=\"jboss.monitor:name=Heartbeat,type=TimerService\"&gt;\n"
+"    &lt;attribute name=\"NotificationType\"&gt;jboss.monitor.heartbeat&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"NotificationMessage\"&gt;JBoss is alive!&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"TimerPeriod\"&gt;60sec&lt;/attribute&gt;\n"
+"    &lt;depends optional-attribute-name=\"TimerMBean\"&gt;\n"
+"        jboss.monitor:name=Heartbeat,type=Timer\n"
+"    &lt;/depends&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:509
@@ -1490,6 +1731,15 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.monitor.services.NotificationListener\" \n"
+"       name=\"jboss.monitor:service=NotificationListener\"&gt;\n"
+"    &lt;attribute name=\"SubscriptionList\"&gt;\n"
+"        &lt;subscription-list&gt;\n"
+"            &lt;mbean name=\"jboss.monitor:name=Heartbeat,type=Timer\" /"
+"&gt;\n"
+"        &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:516
@@ -1524,6 +1774,19 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.monitor.services.NotificationListener\"\n"
+"      name=\"jboss.monitor:service=NotificationListener\"&gt;\n"
+"    &lt;attribute name=\"SubscriptionList\"&gt;\n"
+"        &lt;subscription-list&gt;\n"
+"            &lt;mbean name=\"jboss.monitor:name=Heartbeat,type=Timer\"&gt;\n"
+"                &lt;filter factory=\"NotificationFilterSupportFactory\"&gt;\n"
+"                    &lt;enable type=\"jboss.monitor.heartbeat\"/"
+"&gt;                        \n"
+"                &lt;/filter&gt;\n"
+"            &lt;/mbean&gt;\n"
+"        &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:520
@@ -1604,6 +1867,28 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.monitor.services.ScriptingListener\" \n"
+"       name=\"jboss.monitor:service=ScriptingListener\"&gt; \n"
+"    &lt;attribute name=\"SubscriptionList\"&gt;\n"
+"        &lt;subscription-list&gt;\n"
+"            &lt;mbean name=\"jboss.monitor:name=Heartbeat,type=Timer\"/&gt;\n"
+"        &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"ScriptLanguage\"&gt;beanshell&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"Script\"&gt;\n"
+"                &lt;![CDATA[\n"
+"   import javax.management.ObjectName;\n"
+"\n"
+"   /* poll free memory and thread count */   \n"
+"   ObjectName target = new ObjectName(\"jboss.system:type=ServerInfo\");\n"
+"\n"
+"   long freeMemory = server.getAttribute(target, \"FreeMemory\");\n"
+"   long threadCount = server.getAttribute(target, \"ActiveThreadCount\");\n"
+"\n"
+"   log.info(\"freeMemory\" + freeMemory + \", threadCount\" + threadCount);\n"
+"]]&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:544
@@ -1817,6 +2102,78 @@
 "  \n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n"
+"...\n"
+"&lt;server&gt;\n"
+"  &lt;!--\n"
+"    In this example we have the BarrierController controlling a Barrier\n"
+"    that is started when we receive the \"jboss.tomcat.connectors.started\"\n"
+"    notification from the Tomcat mbean, and stopped when we receive the\n"
+"    \"org.jboss.system.server.stopped\" notification from the server mbean.\n"
+"    \n"
+"    The dependent services need only define a dependency on the Barrier "
+"mbean!\n"
+"  --&gt;\n"
+"  &lt;mbean code=\"org.jboss.system.BarrierController\"\n"
+"         name=\"jboss:service=BarrierController\"&gt;\n"
+"    \n"
+"    &lt;!-- Whether to have the Barrier initially started or not --&gt;\n"
+"    &lt;attribute name=\"BarrierEnabledOnStartup\"&gt;false&lt;/"
+"attribute&gt;\n"
+"    \n"
+"    &lt;!-- Whether to subscribe for notifications after startup --&gt;\n"
+"    &lt;attribute name=\"DynamicSubscriptions\"&gt;true&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- Dependent services will depend on this mbean --&gt;\n"
+"    &lt;attribute name=\"BarrierObjectName\"&gt;jboss:name=TomcatConnector,"
+"type=Barrier&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- The notification subscription handback that starts the barrier --"
+"&gt;\n"
+"    &lt;attribute name=\"StartBarrierHandback\"&gt;start&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- The notification subscription handback that stops the barrier --"
+"&gt;\n"
+"    &lt;attribute name=\"StopBarrierHandback\"&gt;stop&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;!-- The notifications to subscribe for, along with their handbacks --"
+"&gt;\n"
+"    &lt;attribute name=\"SubscriptionList\"&gt;\n"
+"      &lt;subscription-list&gt;\n"
+"        &lt;mbean name=\"jboss.web:service=WebServer\" handback=\"start"
+"\"&gt;\n"
+"          &lt;filter factory=\"NotificationFilterSupportFactory\"&gt;\n"
+"            &lt;enable type=\"jboss.tomcat.connectors.started\"/&gt;\n"
+"          &lt;/filter&gt;\n"
+"        &lt;/mbean&gt;\n"
+"        &lt;mbean name=\"jboss.system:type=Server\" handback=\"stop\"&gt;\n"
+"          &lt;filter factory=\"NotificationFilterSupportFactory\"&gt;\n"
+"            &lt;enable type=\"org.jboss.system.server.stopped\"/&gt;\n"
+"          &lt;/filter&gt;\n"
+"        &lt;/mbean&gt;        \n"
+"      &lt;/subscription-list&gt;\n"
+"    &lt;/attribute&gt;\n"
+"  &lt;/mbean&gt;\n"
+"\n"
+"  &lt;!--\n"
+"    An example service that depends on the Barrier we declared above.\n"
+"    This services creates a background thread and monitors the memory\n"
+"    usage. When it exceeds the defined thresholds it emits notifications\n"
+"  --&gt;\n"
+"  &lt;mbean code=\"org.jboss.monitor.services.MemoryMonitor\"\n"
+"         name=\"jboss.monitor:service=MemoryMonitor\"&gt;\n"
+"\n"
+"    &lt;attribute name=\"FreeMemoryWarningThreshold\"&gt;20m&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"FreeMemoryCriticalThreshold\"&gt;15m&lt;/"
+"attribute&gt;\n"
+"    \n"
+"    &lt;!-- The BarrierObjectName configured in the BarrierController --"
+"&gt;\n"
+"    &lt;depends&gt;jboss:name=TomcatConnector,type=Barrier&lt;/depends&gt;\n"
+"  &lt;/mbean&gt;\n"
+"  \n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: J2EE_Additional_Services.xml:579
@@ -1991,3 +2348,4 @@
 "<literal>SnmpAgentService</literal> and <literal>TrapdService</literal> are "
 "not dependent on each other."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po	2008-02-01 05:00:26 UTC (rev 69522)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po	2008-02-01 05:45:23 UTC (rev 69523)
@@ -1,24 +1,26 @@
+# translation of J2EE_Security_On_JBOSS.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 # Automatically generated, 2007.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: J2EE_Security_On_JBOSS\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-06 22:32+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-02-01 15:30+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:6
 #, no-c-format
 msgid "Security on JBoss"
-msgstr ""
+msgstr "Seguridad en JBoss"
 
 #. Tag: subtitle
 #: J2EE_Security_On_JBOSS.xml:7
@@ -84,7 +86,7 @@
 #: J2EE_Security_On_JBOSS.xml:20
 #, no-c-format
 msgid "Security References"
-msgstr ""
+msgstr "Referencias de seguridad"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:21
@@ -107,17 +109,19 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:25
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The security-role-ref element"
-msgstr "El elemento Connector"
+msgstr ""
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:32
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "shows the use of <literal>security-role-ref</literal> in an <literal>ejb-jar."
 "xml</literal>."
-msgstr "<literal>coalesce()</literal> y <literal>nullif()</literal>"
+msgstr ""
+"muestra el uso de <literal>security-role-ref</literal> en un <literal>ejb-jar."
+"xml</literal>."
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:35
@@ -146,14 +150,30 @@
 "  ...\n"
 "&lt;/ejb-jar&gt;"
 msgstr ""
+"&lt;!-- A sample ejb-jar.xml fragment --&gt;\n"
+"&lt;ejb-jar&gt;\n"
+"  &lt;enterprise-beans&gt;\n"
+"    &lt;session&gt;\n"
+"      &lt;ejb-name&gt;ASessionBean&lt;/ejb-name&gt;\n"
+"      ...\n"
+"      &lt;security-role-ref&gt;\n"
+"          &lt;role-name&gt;TheRoleICheck&lt;/role-name&gt;\n"
+"          &lt;role-link&gt;TheApplicationRole&lt;/role-link&gt;\n"
+"      &lt;/security-role-ref&gt;\n"
+"    &lt;/session&gt;\n"
+"  &lt;/enterprise-beans&gt;\n"
+"  ...\n"
+"&lt;/ejb-jar&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:37
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "shows the use of <literal>security-role-ref</literal> in a <literal>web.xml</"
 "literal>."
-msgstr "<literal>coalesce()</literal> y <literal>nullif()</literal>"
+msgstr ""
+"muestra el uso de <literal>security-role-ref</literal> en un <literal>web.xml</"
+"literal>."
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:40
@@ -179,12 +199,23 @@
 "    ...\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;web-app&gt;\n"
+"    &lt;servlet&gt;\n"
+"        &lt;servlet-name&gt;AServlet&lt;/servlet-name&gt;\n"
+"        ...\n"
+"        &lt;security-role-ref&gt;\n"
+"            &lt;role-name&gt;TheServletRole&lt;/role-name&gt;\n"
+"            &lt;role-link&gt;TheApplicationRole&lt;/role-link&gt;\n"
+"        &lt;/security-role-ref&gt;\n"
+"    &lt;/servlet&gt;\n"
+"    ...\n"
+"&lt;/web-app&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:46
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Security Identity"
-msgstr "identity"
+msgstr "Identidad de seguridad"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:47
@@ -264,6 +295,30 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/ejb-jar&gt;"
 msgstr ""
+"&lt;!-- A sample ejb-jar.xml fragment --&gt;\n"
+"&lt;ejb-jar&gt;\n"
+"    &lt;enterprise-beans&gt;\n"
+"        &lt;session&gt;\n"
+"            &lt;ejb-name&gt;ASessionBean&lt;/ejb-name&gt;\n"
+"            &lt;!-- ... --&gt;\n"
+"            &lt;security-identity&gt;\n"
+"                &lt;use-caller-identity/&gt;\n"
+"            &lt;/security-identity&gt;\n"
+"        &lt;/session&gt;\n"
+"        &lt;session&gt;\n"
+"            &lt;ejb-name&gt;RunAsBean&lt;/ejb-name&gt;\n"
+"            &lt;!-- ... --&gt;\n"
+"            &lt;security-identity&gt;\n"
+"                &lt;run-as&gt;\n"
+"                    &lt;description&gt;A private internal role&lt;/"
+"description&gt;\n"
+"                    &lt;role-name&gt;InternalRole&lt;/role-name&gt;\n"
+"                &lt;/run-as&gt;\n"
+"            &lt;/security-identity&gt;\n"
+"        &lt;/session&gt;\n"
+"    &lt;/enterprise-beans&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/ejb-jar&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:65
@@ -289,6 +344,12 @@
 "    &lt;/security-identity&gt;\n"
 "&lt;/session&gt;"
 msgstr ""
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;RunAsBean&lt;/ejb-name&gt;\n"
+"    &lt;security-identity&gt;\n"
+"        &lt;run-as-principal&gt;internal&lt;/run-as-principal&gt;\n"
+"    &lt;/security-identity&gt;\n"
+"&lt;/session&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:69
@@ -301,7 +362,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:72
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;servlet&gt;\n"
 "    &lt;servlet-name&gt;AServlet&lt;/servlet-name&gt;\n"
@@ -312,16 +373,12 @@
 "&lt;/servlet&gt;"
 msgstr ""
 "&lt;servlet&gt;\n"
-"    &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;\n"
-"    &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-"
-"class&gt;\n"
-"    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;\n"
-"&lt;/servlet&gt;\n"
-"\n"
-"&lt;servlet-mapping&gt;\n"
-"    &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;\n"
-"    &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;\n"
-"&lt;/servlet-mapping&gt;"
+"    &lt;servlet-name&gt;AServlet&lt;/servlet-name&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;run-as&gt; \n"
+"        &lt;role-name&gt;InternalRole&lt;/role-name&gt;\n"
+"    &lt;/run-as&gt;\n"
+"&lt;/servlet&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:73
@@ -344,6 +401,10 @@
 "    &lt;run-as-principal&gt;internal&lt;/run-as-principal&gt;\n"
 "&lt;/servlet&gt;"
 msgstr ""
+"&lt;servlet&gt;\n"
+"    &lt;servlet-name&gt;AServlet&lt;/servlet-name&gt;\n"
+"    &lt;run-as-principal&gt;internal&lt;/run-as-principal&gt;\n"
+"&lt;/servlet&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:80
@@ -426,16 +487,27 @@
 "    &lt;/assembly-descriptor&gt;\n"
 "&lt;/ejb-jar&gt;"
 msgstr ""
+"&lt;!-- A sample ejb-jar.xml fragment --&gt;\n"
+"&lt;ejb-jar&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;assembly-descriptor&gt;\n"
+"        &lt;security-role&gt;\n"
+"            &lt;description&gt;The single application role&lt;/"
+"description&gt;\n"
+"            &lt;role-name&gt;TheApplicationRole&lt;/role-name&gt;\n"
+"        &lt;/security-role&gt;\n"
+"    &lt;/assembly-descriptor&gt;\n"
+"&lt;/ejb-jar&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:100
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "shows the usage of the <literal>security-role</literal> in an <literal>web."
 "xml</literal> file."
 msgstr ""
-"La colección de <literal>OrderLine</literal>s en <literal>Order</literal> "
-"utilizaría:"
+"muestra el uso de <literal>security-role</literal> en un archivo <literal>web."
+"xml</literal>."
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:103
@@ -458,12 +530,20 @@
 "    &lt;/security-role&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;!-- A sample web.xml fragment --&gt;\n"
+"&lt;web-app&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;security-role&gt;\n"
+"        &lt;description&gt;The single application role&lt;/description&gt;\n"
+"        &lt;role-name&gt;TheApplicationRole&lt;/role-name&gt;\n"
+"    &lt;/security-role&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:109
 #, no-c-format
 msgid "EJB method permissions"
-msgstr ""
+msgstr "Permisos de métodos EJB"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:110
@@ -499,9 +579,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:125
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The method element"
-msgstr "El elemento Connector"
+msgstr "El elemento method"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:132
@@ -519,17 +599,17 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:138
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;method&gt;\n"
 "    &lt;ejb-name&gt;EJBNAME&lt;/ejb-name&gt;\n"
 "    &lt;method-name&gt;*&lt;/method-name&gt;\n"
 "&lt;/method&gt;"
 msgstr ""
-"&lt;login-config&gt;\n"
-"    &lt;auth-method&gt;DIGEST&lt;/auth-method&gt;\n"
-"    &lt;realm-name&gt;My Aplication&lt;/realm-name&gt;\n"
-"&lt;/login-config&gt;"
+"&lt;method&gt;\n"
+"    &lt;ejb-name&gt;EJBNAME&lt;/ejb-name&gt;\n"
+"    &lt;method-name&gt;*&lt;/method-name&gt;\n"
+"&lt;/method&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:139
@@ -548,6 +628,10 @@
 "    &lt;method-name&gt;METHOD&lt;/method-name&gt;\n"
 "                &lt;/method&gt;"
 msgstr ""
+"&lt;method&gt;\n"
+"    &lt;ejb-name&gt;EJBNAME&lt;/ejb-name&gt;\n"
+"    &lt;method-name&gt;METHOD&lt;/method-name&gt;\n"
+"                &lt;/method&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:143
@@ -579,6 +663,15 @@
 "    &lt;/method-params&gt;\n"
 "&lt;/method&gt;"
 msgstr ""
+"&lt;method&gt;\n"
+"    &lt;ejb-name&gt;EJBNAME&lt;/ejb-name&gt;\n"
+"    &lt;method-name&gt;METHOD&lt;/method-name&gt;\n"
+"    &lt;method-params&gt;\n"
+"        &lt;method-param&gt;PARAMETER_1&lt;/method-param&gt;\n"
+"        &lt;!-- ... --&gt;\n"
+"        &lt;method-param&gt;PARAMETER_N&lt;/method-param&gt;\n"
+"    &lt;/method-params&gt;\n"
+"&lt;/method&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:150
@@ -688,6 +781,73 @@
 "    &lt;/assembly-descriptor&gt;\n"
 "&lt;/ejb-jar&gt;"
 msgstr ""
+"&lt;ejb-jar&gt;\n"
+"    &lt;assembly-descriptor&gt;\n"
+"        &lt;method-permission&gt;\n"
+"            &lt;description&gt;The employee and temp-employee roles may "
+"access any\n"
+"                method of the EmployeeService bean &lt;/description&gt;\n"
+"            &lt;role-name&gt;employee&lt;/role-name&gt;\n"
+"            &lt;role-name&gt;temp-employee&lt;/role-name&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;EmployeeService&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;*&lt;/method-name&gt;\n"
+"            &lt;/method&gt;\n"
+"        &lt;/method-permission&gt;\n"
+"        &lt;method-permission&gt;\n"
+"            &lt;description&gt;The employee role may access the "
+"findByPrimaryKey,\n"
+"                getEmployeeInfo, and the updateEmployeeInfo(String) method "
+"of\n"
+"                the AardvarkPayroll bean &lt;/description&gt;\n"
+"            &lt;role-name&gt;employee&lt;/role-name&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;AardvarkPayroll&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;findByPrimaryKey&lt;/method-name&gt;\n"
+"            &lt;/method&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;AardvarkPayroll&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;getEmployeeInfo&lt;/method-name&gt;\n"
+"            &lt;/method&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;AardvarkPayroll&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;updateEmployeeInfo&lt;/method-name&gt;\n"
+"                &lt;method-params&gt;\n"
+"                    &lt;method-param&gt;java.lang.String&lt;/method-"
+"param&gt;\n"
+"                &lt;/method-params&gt;\n"
+"            &lt;/method&gt;\n"
+"        &lt;/method-permission&gt;\n"
+"        &lt;method-permission&gt;\n"
+"            &lt;description&gt;The admin role may access any method of the\n"
+"                EmployeeServiceAdmin bean &lt;/description&gt;\n"
+"            &lt;role-name&gt;admin&lt;/role-name&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;EmployeeServiceAdmin&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;*&lt;/method-name&gt;\n"
+"            &lt;/method&gt;\n"
+"        &lt;/method-permission&gt;\n"
+"        &lt;method-permission&gt;\n"
+"            &lt;description&gt;Any authenticated user may access any method "
+"of the\n"
+"                EmployeeServiceHelp bean&lt;/description&gt;\n"
+"            &lt;unchecked/&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;EmployeeServiceHelp&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;*&lt;/method-name&gt;\n"
+"            &lt;/method&gt;\n"
+"        &lt;/method-permission&gt;\n"
+"        &lt;exclude-list&gt;\n"
+"            &lt;description&gt;No fireTheCTO methods of the EmployeeFiring "
+"bean may be\n"
+"                used in this deployment&lt;/description&gt;\n"
+"            &lt;method&gt;\n"
+"                &lt;ejb-name&gt;EmployeeFiring&lt;/ejb-name&gt;\n"
+"                &lt;method-name&gt;fireTheCTO&lt;/method-name&gt;\n"
+"            &lt;/method&gt;\n"
+"        &lt;/exclude-list&gt;\n"
+"    &lt;/assembly-descriptor&gt;\n"
+"&lt;/ejb-jar&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:165
@@ -761,9 +921,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:187
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The login-config element"
-msgstr "El elemento de la Máquina"
+msgstr "El elemento login-config"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:194
@@ -836,6 +996,33 @@
 "    &lt;/security-role&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;web-app&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;security-constraint&gt;\n"
+"        &lt;web-resource-collection&gt;\n"
+"            &lt;web-resource-name&gt;Secure Content&lt;/web-resource-"
+"name&gt;\n"
+"            &lt;url-pattern&gt;/restricted/*&lt;/url-pattern&gt;\n"
+"        &lt;/web-resource-collection&gt;\n"
+"        &lt;auth-constraint&gt;\n"
+"            &lt;role-name&gt;AuthorizedUser&lt;/role-name&gt;\n"
+"        &lt;/auth-constraint&gt;\n"
+"        &lt;user-data-constraint&gt;\n"
+"            &lt;transport-guarantee&gt;NONE&lt;/transport-guarantee&gt;\n"
+"        &lt;/user-data-constraint&gt;\n"
+"    &lt;/security-constraint&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;login-config&gt;\n"
+"        &lt;auth-method&gt;BASIC&lt;/auth-method&gt;\n"
+"        &lt;realm-name&gt;The Restricted Zone&lt;/realm-name&gt;\n"
+"    &lt;/login-config&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;security-role&gt;\n"
+"        &lt;description&gt;The role required to access restricted content "
+"&lt;/description&gt;\n"
+"        &lt;role-name&gt;AuthorizedUser&lt;/role-name&gt;\n"
+"    &lt;/security-role&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:206
@@ -861,9 +1048,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:215
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "An Introduction to JAAS"
-msgstr "Introducción"
+msgstr "Introducción a JAAS"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:216
@@ -880,7 +1067,7 @@
 #: J2EE_Security_On_JBOSS.xml:220
 #, no-c-format
 msgid "What is JAAS?"
-msgstr ""
+msgstr "¿Qué es JAAS?"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:221
@@ -927,39 +1114,37 @@
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:232
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The are the common classes:"
-msgstr "La cláusula from"
+msgstr "Las clases comunes son: "
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:237
-#, fuzzy, no-c-format
-msgid ""
-"<literal>Subject</literal> (<literal>javax.security.auth.Subject</literal>)"
-msgstr ""
-"Establecer propiedades <literal>System</literal> utilizando <literal>java -"
-"Dproperty=value</literal>."
+#, no-c-format
+msgid "<literal>Subject</literal> (<literal>javax.security.auth.Subject</literal>)"
+msgstr "<literal>Subject</literal> (<literal>javax.security.auth.Subject</literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:242
-#, fuzzy, no-c-format
-msgid ""
-"<literal>Principal</literal> (<literal>java.security.Principal</literal>)"
-msgstr "<literal>coalesce()</literal> y <literal>nullif()</literal>"
+#, no-c-format
+msgid "<literal>Principal</literal> (<literal>java.security.Principal</literal>)"
+msgstr "<literal>Principal</literal> (<literal>java.security.Principal</literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:247
 #, no-c-format
 msgid "These are the authentication classes:"
-msgstr ""
+msgstr "Estas son las clases de autenticación:"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:252
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<literal>Callback</literal> (<literal>javax.security.auth.callback.Callback</"
 "literal>)"
-msgstr "<literal>coalesce()</literal> y <literal>nullif()</literal>"
+msgstr ""
+"<literal>Callback</literal> (<literal>javax.security.auth.callback.Callback</"
+"literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:257
@@ -968,16 +1153,18 @@
 "<literal>CallbackHandler</literal> (<literal>javax.security.auth.callback."
 "CallbackHandler</literal>)"
 msgstr ""
+"<literal>CallbackHandler</literal> (<literal>javax.security.auth.callback."
+"CallbackHandler</literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:262
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<literal>Configuration</literal> (<literal>javax.security.auth.login."
 "Configuration</literal>)"
 msgstr ""
-"Una <literal>Configuration</literal> también le permite especificar las "
-"propiedades de configuración:"
+"<literal>Configuration</literal> (<literal>javax.security.auth.login."
+"Configuration</literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:267
@@ -986,14 +1173,18 @@
 "<literal>LoginContext</literal> (<literal>javax.security.auth.login."
 "LoginContext</literal>)"
 msgstr ""
+"<literal>LoginContext</literal> (<literal>javax.security.auth.login."
+"LoginContext</literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:272
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<literal>LoginModule</literal> (<literal>javax.security.auth.spi."
 "LoginModule</literal>)"
-msgstr "<literal>coalesce()</literal> y <literal>nullif()</literal>"
+msgstr ""
+"<literal>LoginModule</literal> (<literal>javax.security.auth.spi."
+"LoginModule</literal>)"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:278
@@ -1035,6 +1226,8 @@
 "public Set getPrincipals() {...}\n"
 "public Set getPrincipals(Class c) {...}"
 msgstr ""
+"public Set getPrincipals() {...}\n"
+"public Set getPrincipals(Class c) {...}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:286
@@ -1086,8 +1279,7 @@
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:308
 #, fuzzy, no-c-format
-msgid ""
-"The application invokes the <literal>LoginContext.login</literal> method."
+msgid "The application invokes the <literal>LoginContext.login</literal> method."
 msgstr "El mapeo de este <literal>Set</literal>:"
 
 #. Tag: para
@@ -1195,6 +1387,50 @@
 "    }\n"
 "}"
 msgstr ""
+"CallbackHandler handler = new MyHandler();\n"
+"LoginContext lc = new LoginContext(\"some-config\", handler);\n"
+"\n"
+"try {\n"
+"    lc.login();\n"
+"    Subject subject = lc.getSubject();\n"
+"} catch(LoginException e) {\n"
+"    System.out.println(\"authentication failed\");\n"
+"    e.printStackTrace();\n"
+"}\n"
+"                        \n"
+"// Perform work as authenticated Subject\n"
+"// ...\n"
+"\n"
+"// Scope of work complete, logout to remove authentication info\n"
+"try {\n"
+"    lc.logout();\n"
+"} catch(LoginException e) {\n"
+"    System.out.println(\"logout failed\");\n"
+"    e.printStackTrace();\n"
+"}\n"
+"                        \n"
+"// A sample MyHandler class\n"
+"class MyHandler \n"
+"    implements CallbackHandler\n"
+"{\n"
+"    public void handle(Callback[] callbacks) throws\n"
+"        IOException, UnsupportedCallbackException\n"
+"    {\n"
+"        for (int i = 0; i &lt; callbacks.length; i++) {\n"
+"            if (callbacks[i] instanceof NameCallback) {\n"
+"                NameCallback nc = (NameCallback)callbacks[i];\n"
+"                nc.setName(username);\n"
+"            } else if (callbacks[i] instanceof PasswordCallback) {\n"
+"                PasswordCallback pc = (PasswordCallback)callbacks[i];\n"
+"                pc.setPassword(password);\n"
+"            } else {\n"
+"                throw new UnsupportedCallbackException(callbacks[i],\n"
+"                                                       \"Unrecognized "
+"Callback\");\n"
+"            }\n"
+"        }\n"
+"    }\n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:337
@@ -1341,6 +1577,9 @@
 "    throws java.io.IOException, \n"
 "           UnsupportedCallbackException;"
 msgstr ""
+"void handle(Callback[] callbacks)\n"
+"    throws java.io.IOException, \n"
+"           UnsupportedCallbackException;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:379
@@ -1675,6 +1914,68 @@
 "    }\n"
 "}"
 msgstr ""
+"package org.jboss.book.security.ex1;\n"
+"                \n"
+"import java.lang.reflect.Method;\n"
+"import javax.ejb.EJBContext;\n"
+"                \n"
+"import org.apache.log4j.Category;\n"
+"                \n"
+"import org.jboss.security.SecurityProxy;\n"
+"                \n"
+"/** A simple example of a custom SecurityProxy implementation\n"
+" *  that demonstrates method argument based security checks.\n"
+" * @author Scott.Stark at jboss.org\n"
+" * @version $Revision: 1.12 $\n"
+" */\n"
+"public class EchoSecurityProxy implements SecurityProxy\n"
+"{\n"
+"    Category log = Category.getInstance(EchoSecurityProxy.class);\n"
+"    Method echo;\n"
+"    \n"
+"    public void init(Class beanHome, Class beanRemote,\n"
+"                     Object securityMgr)\n"
+"        throws InstantiationException\n"
+"    {\n"
+"        log.debug(\"init, beanHome=\"+beanHome\n"
+"                  + \", beanRemote=\"+beanRemote\n"
+"                  + \", securityMgr=\"+securityMgr);\n"
+"        // Get the echo method for equality testing in invoke\n"
+"        try {\n"
+"            Class[] params = {String.class};\n"
+"            echo = beanRemote.getDeclaredMethod(\"echo\", params);\n"
+"        } catch(Exception e) {\n"
+"            String msg = \"Failed to finde an echo(String) method\";\n"
+"            log.error(msg, e);\n"
+"            throw new InstantiationException(msg);\n"
+"        }\n"
+"    }\n"
+"    \n"
+"    public void setEJBContext(EJBContext ctx)\n"
+"    {\n"
+"        log.debug(\"setEJBContext, ctx=\"+ctx);\n"
+"    }\n"
+"    \n"
+"    public void invokeHome(Method m, Object[] args)\n"
+"        throws SecurityException\n"
+"    {\n"
+"        // We don&#39;t validate access to home methods\n"
+"    }\n"
+"\n"
+"    public void invoke(Method m, Object[] args, Object bean)\n"
+"        throws SecurityException\n"
+"    {\n"
+"        log.debug(\"invoke, m=\"+m);\n"
+"        // Check for the echo method\n"
+"        if (m.equals(echo)) {\n"
+"            // Validate that the msg arg is not 4 letter word\n"
+"            String arg = (String) args[0];\n"
+"            if (arg == null || arg.length() == 4)\n"
+"                throw new SecurityException(\"No 4 letter words\");\n"
+"        }\n"
+"        // We are not responsible for doing the invoke\n"
+"    }\n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:474
@@ -1732,6 +2033,17 @@
 "    &lt;/enterprise-beans&gt;\n"
 "&lt;/jboss&gt;"
 msgstr ""
+"&lt;jboss&gt;\n"
+"    &lt;security-domain&gt;java:/jaas/other&lt;/security-domain&gt;\n"
+"                \n"
+"    &lt;enterprise-beans&gt;\n"
+"        &lt;session&gt;\n"
+"            &lt;ejb-name&gt;EchoBean&lt;/ejb-name&gt;\n"
+"            &lt;security-proxy&gt;org.jboss.book.security.ex1."
+"EchoSecurityProxy&lt;/security-proxy&gt;\n"
+"        &lt;/session&gt;\n"
+"    &lt;/enterprise-beans&gt;\n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:482
@@ -1765,6 +2077,24 @@
 "    }\n"
 "}"
 msgstr ""
+"public class ExClient\n"
+"{\n"
+"    public static void main(String args[])\n"
+"        throws Exception\n"
+"    {\n"
+"        Logger log = Logger.getLogger(\"ExClient\");\n"
+"        log.info(\"Looking up EchoBean\");\n"
+"\n"
+"        InitialContext iniCtx = new InitialContext();\n"
+"        Object ref = iniCtx.lookup(\"EchoBean\");\n"
+"        EchoHome home = (EchoHome) ref;\n"
+"        Echo echo = home.create();\n"
+"\n"
+"        log.info(\"Created Echo\");\n"
+"        log.info(\"Echo.echo(&#39;Hello&#39;) = \"+echo.echo(\"Hello\"));\n"
+"        log.info(\"Echo.echo(&#39;Four&#39;) = \"+echo.echo(\"Four\"));\n"
+"    }\n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:486
@@ -1793,6 +2123,19 @@
 "     [java] Caused by: java.lang.SecurityException: No 4 letter words\n"
 "..."
 msgstr ""
+"[examples]$ ant -Dchap=security -Dex=1 run-example\n"
+"run-example1:\n"
+"...\n"
+"     [echo] Waiting for 5 seconds for deploy...\n"
+"     [java] [INFO,ExClient] Looking up EchoBean\n"
+"     [java] [INFO,ExClient] Created Echo\n"
+"     [java] [INFO,ExClient] Echo.echo(&#39;Hello&#39;) = Hello\n"
+"     [java] Exception in thread \"main\" java.rmi.AccessException: "
+"SecurityException; nested exception is: \n"
+"     [java]     java.lang.SecurityException: No 4 letter words\n"
+"...\n"
+"     [java] Caused by: java.lang.SecurityException: No 4 letter words\n"
+"..."
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:490
@@ -2150,7 +2493,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:612
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;jboss&gt;\n"
 "    &lt;!-- Configure all containers to be secured under the \"hades\" "
@@ -2159,9 +2502,12 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/jboss&gt;"
 msgstr ""
-"&lt;jboss-web&gt;\n"
-"    &lt;security-domain&gt;java:/jaas/digest&lt;/security-domain&gt;\n"
-"&lt;/jboss-web&gt;"
+"&lt;jboss&gt;\n"
+"    &lt;!-- Configure all containers to be secured under the \"hades\" "
+"security domain --&gt;\n"
+"    &lt;security-domain&gt;java:/jaas/hades&lt;/security-domain&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:613
@@ -2316,6 +2662,12 @@
 "String[] signature = {\"java.lang.String\"};\n"
 "server.invoke(jaasMgr, \"flushAuthenticationCache\", params, signature);"
 msgstr ""
+"MBeanServer server = ...;\n"
+"String jaasMgrName = \"jboss.security:service=JaasSecurityManager\";\n"
+"ObjectName jaasMgr = new ObjectName(jaasMgrName);\n"
+"Object[] params = {domainName};\n"
+"String[] signature = {\"java.lang.String\"};\n"
+"server.invoke(jaasMgr, \"flushAuthenticationCache\", params, signature);"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:666
@@ -2340,6 +2692,14 @@
 "\", \n"
 "                                  params, signature);"
 msgstr ""
+"MBeanServer server = ...;\n"
+"String jaasMgrName = \"jboss.security:service=JaasSecurityManager\";\n"
+"ObjectName jaasMgr = new ObjectName(jaasMgrName);\n"
+"Object[] params = {domainName};\n"
+"String[] signature = {\"java.lang.String\"};\n"
+"List users = (List) server.invoke(jaasMgr, \"getAuthenticationCachePrincipals"
+"\", \n"
+"                                  params, signature);"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:673
@@ -2360,6 +2720,14 @@
 "public Set getUserRoles(String securityDomain, Principal principal, Object "
 "credential);"
 msgstr ""
+"public boolean isValid(String securityDomain, Principal principal, Object "
+"credential);\n"
+"public Principal getPrincipal(String securityDomain, Principal principal);\n"
+"public boolean doesUserHaveRole(String securityDomain, Principal "
+"principal, \n"
+"                                Object credential, Set roles);\n"
+"public Set getUserRoles(String securityDomain, Principal principal, Object "
+"credential);"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:677
@@ -2568,7 +2936,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:779
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;application-policy name=\"jmx-console\"&gt;\n"
 "    &lt;authentication&gt;\n"
@@ -2582,28 +2950,14 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
-"&lt;application-policy name=\"digest\"&gt;\n"
+"&lt;application-policy name=\"jmx-console\"&gt;\n"
 "    &lt;authentication&gt;\n"
 "        &lt;login-module code=\"org.jboss.security.auth.spi."
-"UsersRolesLoginModule\"\n"
-"                      flag=\"required\"&gt;\n"
-"            &lt;module-option name=\"usersProperties\"&gt;digest-users."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"rolesProperties\"&gt;digest-roles."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashEncoding\"&gt;rfc2617&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashUserPassword\"&gt;false&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashStorePassword\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"passwordIsA1Hash\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"storeDigestCallback\"&gt;\n"
-"                org.jboss.security.auth.spi.RFC2617Digest\n"
-"            &lt;/module-option&gt;\n"
+"UsersRolesLoginModule\" flag=\"required\"&gt;\n"
+"            &lt;module-option name=\"usersProperties\"&gt;props/jmx-console-"
+"users.properties&lt;/module-option&gt;\n"
+"            &lt;module-option name=\"rolesProperties\"&gt;props/jmx-console-"
+"roles.properties&lt;/module-option&gt;\n"
 "        &lt;/login-module&gt;\n"
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
@@ -2679,7 +3033,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:811
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;application-policy name=\"todo\"&gt;\n"
 "    &lt;authentication&gt;\n"
@@ -2696,28 +3050,17 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
-"&lt;application-policy name=\"digest\"&gt;\n"
+"&lt;application-policy name=\"todo\"&gt;\n"
 "    &lt;authentication&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.auth.spi.LdapLoginModule"
+"\" \n"
+"                      flag=\"sufficient\"&gt;\n"
+"            &lt;!-- LDAP configuration --&gt;\n"
+"        &lt;/login-module&gt;\n"
 "        &lt;login-module code=\"org.jboss.security.auth.spi."
-"UsersRolesLoginModule\"\n"
-"                      flag=\"required\"&gt;\n"
-"            &lt;module-option name=\"usersProperties\"&gt;digest-users."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"rolesProperties\"&gt;digest-roles."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashEncoding\"&gt;rfc2617&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashUserPassword\"&gt;false&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashStorePassword\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"passwordIsA1Hash\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"storeDigestCallback\"&gt;\n"
-"                org.jboss.security.auth.spi.RFC2617Digest\n"
-"            &lt;/module-option&gt;\n"
+"DatabaseServerLoginModule\" \n"
+"                      flag=\"sufficient\"&gt;\n"
+"            &lt;!-- database configuration --&gt;\n"
 "        &lt;/login-module&gt;\n"
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
@@ -2759,6 +3102,11 @@
 "attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.security.auth.login.XMLLoginConfig\"\n"
+"       name=\"jboss.security:service=XMLLoginConfig\"&gt;\n"
+"    &lt;attribute name=\"ConfigResource\"&gt;login-config.xml&lt;/"
+"attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:821
@@ -2876,6 +3224,11 @@
 "service=XMLLoginConfig&lt;/attribute&gt;\n"
 "                 &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.security.plugins.SecurityConfig\" \n"
+"       name=\"jboss.security:service=SecurityConfig\"&gt;\n"
+"    &lt;attribute name=\"LoginConfig\"&gt;jboss.security:"
+"service=XMLLoginConfig&lt;/attribute&gt;\n"
+"                 &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:875
@@ -2917,6 +3270,8 @@
 "public void pushLoginConfig(String objectName) throws\n"
 "                JMException, MalformedObjectNameException;"
 msgstr ""
+"public void pushLoginConfig(String objectName) throws\n"
+"                JMException, MalformedObjectNameException;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:889
@@ -2931,7 +3286,7 @@
 #: J2EE_Security_On_JBOSS.xml:892
 #, no-c-format
 msgid "public void popLoginConfig() throws JMException;"
-msgstr ""
+msgstr "public void popLoginConfig() throws JMException;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:896
@@ -3027,6 +3382,27 @@
 "    &lt;/mbean&gt;\n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;server&gt;\n"
+"    &lt;mbean code=\"org.jboss.security.auth.login.DynamicLoginConfig\" name="
+"\"...\"&gt;\n"
+"        &lt;attribute name=\"AuthConfig\"&gt;login-config.xml&lt;/"
+"attribute&gt;\n"
+"\n"
+"        &lt;!-- The service which supports dynamic processing of login-"
+"config.xml\n"
+"         configurations.\n"
+"        --&gt;\n"
+"        &lt;depends optional-attribute-name=\"LoginConfigService\"&gt;\n"
+"            jboss.security:service=XMLLoginConfig &lt;/depends&gt;\n"
+"\n"
+"        &lt;!-- Optionally specify the security mgr service to use when\n"
+"         this service is stopped to flush the auth caches of the domains\n"
+"         registered by this service.\n"
+"        --&gt;\n"
+"        &lt;depends optional-attribute-name=\"SecurityManagerService\"&gt;\n"
+"            jboss.security:service=JaasSecurityManager &lt;/depends&gt;\n"
+"    &lt;/mbean&gt;\n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:924
@@ -3114,7 +3490,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:952
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;application-policy name=\"todo\"&gt;\n"
 "    &lt;authentication&gt;\n"
@@ -3135,28 +3511,21 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
-"&lt;application-policy name=\"digest\"&gt;\n"
+"&lt;application-policy name=\"todo\"&gt;\n"
 "    &lt;authentication&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.auth.spi.LdapLoginModule"
+"\" \n"
+"                      flag=\"required\"&gt;\n"
+"            &lt;!-- LDAP configuration --&gt;\n"
+"            &lt;module-option name=\"password-stacking\"&gt;useFirstPass&lt;/"
+"module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
 "        &lt;login-module code=\"org.jboss.security.auth.spi."
-"UsersRolesLoginModule\"\n"
+"DatabaseServerLoginModule\" \n"
 "                      flag=\"required\"&gt;\n"
-"            &lt;module-option name=\"usersProperties\"&gt;digest-users."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"rolesProperties\"&gt;digest-roles."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashEncoding\"&gt;rfc2617&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashUserPassword\"&gt;false&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashStorePassword\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"passwordIsA1Hash\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"storeDigestCallback\"&gt;\n"
-"                org.jboss.security.auth.spi.RFC2617Digest\n"
-"            &lt;/module-option&gt;\n"
+"            &lt;!-- database configuration --&gt;                \n"
+"            &lt;module-option name=\"password-stacking\"&gt;useFirstPass&lt;/"
+"module-option&gt;\n"
 "        &lt;/login-module&gt;\n"
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
@@ -3272,6 +3641,20 @@
 "    &lt;/application-policy&gt;\n"
 "&lt;/policy&gt;"
 msgstr ""
+"&lt;policy&gt;\n"
+"    &lt;application-policy name=\"testUsersRoles\"&gt;\n"
+"        &lt;authentication&gt;\n"
+"            &lt;login-module code=\"org.jboss.security.auth.spi."
+"UsersRolesLoginModule\"\n"
+"                          flag=\"required\"&gt;\n"
+"                &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
+"option&gt;\n"
+"                &lt;module-option name=\"hashEncoding\"&gt;base64&lt;/module-"
+"option&gt;          \n"
+"            &lt;/login-module&gt;\n"
+"        &lt;/authentication&gt;\n"
+"    &lt;/application-policy&gt;\n"
+"&lt;/policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:994
@@ -3292,19 +3675,23 @@
 "                                                null,\n"
 "                                                \"password\");"
 msgstr ""
+"String hashedPassword = Util.createPasswordHash(\"MD5\",\n"
+"                                                Util.BASE64_ENCODING,\n"
+"                                                null,\n"
+"                                                null,\n"
+"                                                \"password\");"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:998
 #, no-c-format
-msgid ""
-"OpenSSL provides an alternative way to quickly generate hashed passwords."
+msgid "OpenSSL provides an alternative way to quickly generate hashed passwords."
 msgstr ""
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1001
 #, no-c-format
 msgid "echo -n password | openssl dgst -md5 -binary | openssl base64"
-msgstr ""
+msgstr "echo -n password | openssl dgst -md5 -binary | openssl base64"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1002
@@ -3346,7 +3733,7 @@
 #: J2EE_Security_On_JBOSS.xml:1022
 #, no-c-format
 msgid "UsersRolesLoginModule"
-msgstr ""
+msgstr "UsersRolesLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1023
@@ -3385,6 +3772,9 @@
 "username2=password2\n"
 "..."
 msgstr ""
+"username1=password1\n"
+"username2=password2\n"
+"..."
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1030
@@ -3402,6 +3792,9 @@
 "username1.RoleGroup1=role3,role4,...\n"
 "username2=role1,role3,..."
 msgstr ""
+"username1=role1,role2,...\n"
+"username1.RoleGroup1=role3,role4,...\n"
+"username2=role1,role3,..."
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1034
@@ -3433,6 +3826,8 @@
 "jduke=TheDuke,AnimatedCharacter\n"
 "jduke.Roles=TheDuke,AnimatedCharacter"
 msgstr ""
+"jduke=TheDuke,AnimatedCharacter\n"
+"jduke.Roles=TheDuke,AnimatedCharacter"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1041 J2EE_Security_On_JBOSS.xml:1101
@@ -3477,7 +3872,7 @@
 #: J2EE_Security_On_JBOSS.xml:1062
 #, no-c-format
 msgid "LdapLoginModule"
-msgstr ""
+msgstr "LdapLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1063
@@ -3741,7 +4136,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1175
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;application-policy name=\"testLDAP\"&gt;\n"
 "        &lt;authentication&gt;\n"
@@ -3780,31 +4175,42 @@
 "        &lt;/authentication&gt;\n"
 "    &lt;/application-policy&gt;"
 msgstr ""
-"&lt;application-policy name=\"digest\"&gt;\n"
-"    &lt;authentication&gt;\n"
-"        &lt;login-module code=\"org.jboss.security.auth.spi."
-"UsersRolesLoginModule\"\n"
-"                      flag=\"required\"&gt;\n"
-"            &lt;module-option name=\"usersProperties\"&gt;digest-users."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"rolesProperties\"&gt;digest-roles."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
+"&lt;application-policy name=\"testLDAP\"&gt;\n"
+"        &lt;authentication&gt;\n"
+"            &lt;login-module code=\"org.jboss.security.auth.spi."
+"LdapLoginModule\"\n"
+"                          flag=\"required\"&gt;\n"
+"                &lt;module-option name=\"java.naming.factory.initial\"&gt; \n"
+"                    com.sun.jndi.ldap.LdapCtxFactory\n"
+"                    &lt;/module-option&gt;\n"
+"                &lt;module-option name=\"java.naming.provider.url\"&gt;\n"
+"                    ldap://ldaphost.jboss.org:1389/\n"
+"                &lt;/module-option&gt;\n"
+"                &lt;module-option name=\"java.naming.security.authentication"
+"\"&gt;\n"
+"                    simple\n"
+"                &lt;/module-option&gt;\n"
+"                &lt;module-option name=\"principalDNPrefix\"&gt;uid=&lt;/"
+"module-option&gt;                    \n"
+"                &lt;module-option name=\"principalDNSuffix\"&gt;\n"
+"                    ,ou=People,dc=jboss,dc=org\n"
+"                &lt;/module-option&gt;\n"
+"\n"
+"                &lt;module-option name=\"rolesCtxDN\"&gt;\n"
+"                    ou=Roles,dc=jboss,dc=org\n"
+"                &lt;/module-option&gt;\n"
+"                &lt;module-option name=\"uidAttributeID\"&gt;member&lt;/"
+"module-option&gt;\n"
+"                &lt;module-option name=\"matchOnUserDN\"&gt;true&lt;/module-"
 "option&gt;\n"
-"            &lt;module-option name=\"hashEncoding\"&gt;rfc2617&lt;/module-"
+"\n"
+"                &lt;module-option name=\"roleAttributeID\"&gt;cn&lt;/module-"
 "option&gt;\n"
-"            &lt;module-option name=\"hashUserPassword\"&gt;false&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashStorePassword\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"passwordIsA1Hash\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"storeDigestCallback\"&gt;\n"
-"                org.jboss.security.auth.spi.RFC2617Digest\n"
-"            &lt;/module-option&gt;\n"
-"        &lt;/login-module&gt;\n"
-"    &lt;/authentication&gt;\n"
-"&lt;/application-policy&gt;"
+"                &lt;module-option name=\"roleAttributeIsDN\"&gt;false &lt;/"
+"module-option&gt;\n"
+"            &lt;/login-module&gt;\n"
+"        &lt;/authentication&gt;\n"
+"    &lt;/application-policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1176
@@ -3851,6 +4257,38 @@
 "member: uid=jduke,ou=People,dc=jboss,dc=org\n"
 "description: the JBossAdmin group"
 msgstr ""
+"dn: dc=jboss,dc=org\n"
+"objectclass: top\n"
+"objectclass: dcObject\n"
+"objectclass: organization\n"
+"dc: jboss\n"
+"o: JBoss\n"
+"\n"
+"dn: ou=People,dc=jboss,dc=org\n"
+"objectclass: top\n"
+"objectclass: organizationalUnit\n"
+"ou: People\n"
+"\n"
+"dn: uid=jduke,ou=People,dc=jboss,dc=org\n"
+"objectclass: top\n"
+"objectclass: uidObject\n"
+"objectclass: person\n"
+"uid: jduke\n"
+"cn: Java Duke\n"
+"sn: Duke\n"
+"userPassword: theduke\n"
+"\n"
+"dn: ou=Roles,dc=jboss,dc=org\n"
+"objectclass: top\n"
+"objectclass: organizationalUnit\n"
+"ou: Roles\n"
+"\n"
+"dn: cn=JBossAdmin,ou=Roles,dc=jboss,dc=org\n"
+"objectclass: top\n"
+"objectclass: groupOfNames\n"
+"cn: JBossAdmin\n"
+"member: uid=jduke,ou=People,dc=jboss,dc=org\n"
+"description: the JBossAdmin group"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1180
@@ -3934,7 +4372,7 @@
 #: J2EE_Security_On_JBOSS.xml:1201
 #, no-c-format
 msgid "DatabaseServerLoginModule"
-msgstr ""
+msgstr "DatabaseServerLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1202
@@ -3954,6 +4392,8 @@
 "Table Principals(PrincipalID text, Password text)\n"
 "Table Roles(PrincipalID text, Role text, RoleGroup text)"
 msgstr ""
+"Table Principals(PrincipalID text, Password text)\n"
+"Table Roles(PrincipalID text, Role text, RoleGroup text)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1206
@@ -3992,6 +4432,10 @@
 "INSERT INTO Roles VALUES(&#39;java&#39;, &#39;caller_java&#39;, &#39;"
 "CallerPrincipal&#39;)"
 msgstr ""
+"INSERT INTO Principals VALUES(&#39;java&#39;, &#39;echoman&#39;)\n"
+"INSERT INTO Roles VALUES(&#39;java&#39;, &#39;Echo&#39;, &#39;Roles&#39;)\n"
+"INSERT INTO Roles VALUES(&#39;java&#39;, &#39;caller_java&#39;, &#39;"
+"CallerPrincipal&#39;)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1215
@@ -4061,6 +4505,8 @@
 "CREATE TABLE Users(username VARCHAR(64) PRIMARY KEY, passwd VARCHAR(64))\n"
 "CREATE TABLE UserRoles(username VARCHAR(64), userRoles VARCHAR(32))"
 msgstr ""
+"CREATE TABLE Users(username VARCHAR(64) PRIMARY KEY, passwd VARCHAR(64))\n"
+"CREATE TABLE UserRoles(username VARCHAR(64), userRoles VARCHAR(32))"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1244
@@ -4070,7 +4516,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1247
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;policy&gt;\n"
 "    &lt;application-policy name=\"testDB\"&gt;\n"
@@ -4091,31 +4537,24 @@
 "    &lt;/application-policy&gt;\n"
 "&lt;/policy&gt;"
 msgstr ""
-"&lt;application-policy name=\"digest\"&gt;\n"
-"    &lt;authentication&gt;\n"
-"        &lt;login-module code=\"org.jboss.security.auth.spi."
-"UsersRolesLoginModule\"\n"
-"                      flag=\"required\"&gt;\n"
-"            &lt;module-option name=\"usersProperties\"&gt;digest-users."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"rolesProperties\"&gt;digest-roles."
-"properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashEncoding\"&gt;rfc2617&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashUserPassword\"&gt;false&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashStorePassword\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"passwordIsA1Hash\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"storeDigestCallback\"&gt;\n"
-"                org.jboss.security.auth.spi.RFC2617Digest\n"
-"            &lt;/module-option&gt;\n"
-"        &lt;/login-module&gt;\n"
-"    &lt;/authentication&gt;\n"
-"&lt;/application-policy&gt;"
+"&lt;policy&gt;\n"
+"    &lt;application-policy name=\"testDB\"&gt;\n"
+"        &lt;authentication&gt;\n"
+"            &lt;login-module code=\"org.jboss.security.auth.spi."
+"DatabaseServerLoginModule\"\n"
+"                             flag=\"required\"&gt;\n"
+"                &lt;module-option name=\"dsJndiName\"&gt;java:/"
+"MyDatabaseDS&lt;/module-option&gt;\n"
+"                &lt;module-option name=\"principalsQuery\"&gt;\n"
+"                    select passwd from Users username where username=?&lt;/"
+"module-option&gt;\n"
+"                &lt;module-option name=\"rolesQuery\"&gt;\n"
+"                    select userRoles, &#39;Roles&#39; from UserRoles where "
+"username=?&lt;/module-option&gt;\n"
+"            &lt;/login-module&gt;\n"
+"        &lt;/authentication&gt;\n"
+"    &lt;/application-policy&gt;\n"
+"&lt;/policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1248
@@ -4129,7 +4568,7 @@
 #: J2EE_Security_On_JBOSS.xml:1254
 #, no-c-format
 msgid "BaseCertLoginModule"
-msgstr ""
+msgstr "BaseCertLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1255
@@ -4160,7 +4599,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1261
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;mbean code=\"org.jboss.security.plugins.JaasSecurityDomain\"\n"
 "       name=\"jboss.ch8:service=SecurityDomain\"&gt;\n"
@@ -4173,12 +4612,15 @@
 "attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
-"&lt;mbean code=\"org.jboss.ha.jndi.HANamingService\"    \n"
-"       name=\"jboss:service=HAJNDI\"&gt;    \n"
-"    &lt;depends&gt;jboss:service=MySpecialPartition&lt;/depends&gt;    \n"
-"    &lt;attribute name=\"PartitionName\"&gt;MySpecialPartition&lt;/"
-"attribute&gt;    \n"
-"    &lt;attribute name=\"Port\"&gt;56789&lt;/attribute&gt;  \n"
+"&lt;mbean code=\"org.jboss.security.plugins.JaasSecurityDomain\"\n"
+"       name=\"jboss.ch8:service=SecurityDomain\"&gt;\n"
+"    &lt;constructor&gt;\n"
+"        &lt;arg type=\"java.lang.String\" value=\"jmx-console\"/&gt;\n"
+"    &lt;/constructor&gt;\n"
+"    &lt;attribute name=\"KeyStoreURL\"&gt;resource:localhost.keystore&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"KeyStorePass\"&gt;unit-tests-server&lt;/"
+"attribute&gt;\n"
 "&lt;/mbean&gt;"
 
 #. Tag: para
@@ -4230,6 +4672,36 @@
 "    &lt;/security-role&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\"?&gt;\n"
+"&lt;!DOCTYPE web-app PUBLIC\n"
+"                  \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+"\"\n"
+"                  \"http://java.sun.com/dtd/web-app_2_3.dtd\"&gt;\n"
+"&lt;web-app&gt; \n"
+"    ... \n"
+"    &lt;security-constraint&gt;\n"
+"        &lt;web-resource-collection&gt;\n"
+"            &lt;web-resource-name&gt;HtmlAdaptor&lt;/web-resource-name&gt;\n"
+"            &lt;description&gt;An example security config that only allows "
+"users with\n"
+"                the role JBossAdmin to access the HTML JMX console web\n"
+"                application &lt;/description&gt;\n"
+"            &lt;url-pattern&gt;/*&lt;/url-pattern&gt;\n"
+"            &lt;http-method&gt;GET&lt;/http-method&gt;\n"
+"            &lt;http-method&gt;POST&lt;/http-method&gt;\n"
+"        &lt;/web-resource-collection&gt;\n"
+"        &lt;auth-constraint&gt;\n"
+"            &lt;role-name&gt;JBossAdmin&lt;/role-name&gt;\n"
+"        &lt;/auth-constraint&gt;\n"
+"    &lt;/security-constraint&gt;\n"
+"    &lt;login-config&gt;\n"
+"        &lt;auth-method&gt;CLIENT-CERT&lt;/auth-method&gt;\n"
+"        &lt;realm-name&gt;JBoss JMX Console&lt;/realm-name&gt;\n"
+"    &lt;/login-config&gt;\n"
+"    &lt;security-role&gt;\n"
+"        &lt;role-name&gt;JBossAdmin&lt;/role-name&gt;\n"
+"    &lt;/security-role&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1266
@@ -4243,14 +4715,14 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1269
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;jboss-web&gt;\n"
 "    &lt;security-domain&gt;java:/jaas/jmx-console&lt;/security-domain&gt;\n"
 "&lt;/jboss-web&gt;"
 msgstr ""
 "&lt;jboss-web&gt;\n"
-"    &lt;security-domain&gt;java:/jaas/digest&lt;/security-domain&gt;\n"
+"    &lt;security-domain&gt;java:/jaas/jmx-console&lt;/security-domain&gt;\n"
 "&lt;/jboss-web&gt;"
 
 #. Tag: para
@@ -4264,7 +4736,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1273
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;application-policy name=\"jmx-console\"&gt;\n"
 "    &lt;authentication&gt;\n"
@@ -4289,28 +4761,25 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
-"&lt;application-policy name=\"digest\"&gt;\n"
+"&lt;application-policy name=\"jmx-console\"&gt;\n"
 "    &lt;authentication&gt;\n"
 "        &lt;login-module code=\"org.jboss.security.auth.spi."
-"UsersRolesLoginModule\"\n"
+"BaseCertLoginModule\" \n"
 "                      flag=\"required\"&gt;\n"
-"            &lt;module-option name=\"usersProperties\"&gt;digest-users."
+"            &lt;module-option name=\"password-stacking\"&gt;useFirstPass&lt;/"
+"module-option&gt;\n"
+"            &lt;module-option name=\"securityDomain\"&gt;java:/jaas/jmx-"
+"console&lt;/module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.auth.spi."
+"UsersRolesLoginModule\" \n"
+"                      flag=\"required\"&gt;\n"
+"            &lt;module-option name=\"password-stacking\"&gt;useFirstPass&lt;/"
+"module-option&gt;\n"
+"            &lt;module-option name=\"usersProperties\"&gt;jmx-console-users."
 "properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"rolesProperties\"&gt;digest-roles."
+"            &lt;module-option name=\"rolesProperties\"&gt;jmx-console-roles."
 "properties&lt;/module-option&gt;\n"
-"            &lt;module-option name=\"hashAlgorithm\"&gt;MD5&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashEncoding\"&gt;rfc2617&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashUserPassword\"&gt;false&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"hashStorePassword\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"passwordIsA1Hash\"&gt;true&lt;/module-"
-"option&gt;\n"
-"            &lt;module-option name=\"storeDigestCallback\"&gt;\n"
-"                org.jboss.security.auth.spi.RFC2617Digest\n"
-"            &lt;/module-option&gt;\n"
 "        &lt;/login-module&gt;\n"
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
@@ -4347,6 +4816,19 @@
 "         MD5:  4A:9C:2B:CD:1B:50:AA:85:DD:89:F6:1D:F5:AF:9E:AB\n"
 "         SHA1: DE:DE:86:59:05:6C:00:E8:CC:C0:16:D3:C2:68:BF:95:B8:83:E9:58"
 msgstr ""
+"[starksm at banshee9100 conf]$ keytool -printcert -file unit-tests-client."
+"export\n"
+"Owner: CN=unit-tests-client, OU=JBoss Inc., O=JBoss Inc., ST=Washington, "
+"C=US\n"
+"Issuer: CN=jboss.com, C=US, ST=Washington, L=Snoqualmie Pass, "
+"EMAILADDRESS=admin\n"
+"@jboss.com, OU=QA, O=JBoss Inc.\n"
+"Serial number: 100103\n"
+"Valid from: Wed May 26 07:34:34 PDT 2004 until: Thu May 26 07:34:34 PDT "
+"2005\n"
+"Certificate fingerprints:\n"
+"         MD5:  4A:9C:2B:CD:1B:50:AA:85:DD:89:F6:1D:F5:AF:9E:AB\n"
+"         SHA1: DE:DE:86:59:05:6C:00:E8:CC:C0:16:D3:C2:68:BF:95:B8:83:E9:58"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1278
@@ -4370,12 +4852,16 @@
 "\\=Washington,\\ C\\=US=JBossAdmin\n"
 "admin=JBossAdmin"
 msgstr ""
+"# A sample roles.properties file for use with the UsersRolesLoginModule\n"
+"CN\\=unit-tests-client,\\ OU\\=JBoss\\ Inc.,\\ O\\=JBoss\\ Inc.,\\ ST"
+"\\=Washington,\\ C\\=US=JBossAdmin\n"
+"admin=JBossAdmin"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1285
 #, no-c-format
 msgid "IdentityLoginModule"
-msgstr ""
+msgstr "IdentityLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1286
@@ -4448,6 +4934,20 @@
 "    &lt;/application-policy&gt;\n"
 "&lt;/policy&gt;"
 msgstr ""
+"&lt;policy&gt;\n"
+"    &lt;application-policy name=\"testIdentity\"&gt;\n"
+"        &lt;authentication&gt;\n"
+"            &lt;login-module code=\"org.jboss.security.auth.spi."
+"IdentityLoginModule\"\n"
+"                         flag=\"required\"&gt;\n"
+"                &lt;module-option name=\"principal\"&gt;jduke&lt;/module-"
+"option&gt;\n"
+"                &lt;module-option name=\"roles\"&gt;TheDuke,"
+"AnimatedCharater&lt;/module-option&gt;\n"
+"            &lt;/login-module&gt;\n"
+"        &lt;/authentication&gt;\n"
+"    &lt;/application-policy&gt;\n"
+"&lt;/policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1308
@@ -4459,7 +4959,7 @@
 #: J2EE_Security_On_JBOSS.xml:1314
 #, no-c-format
 msgid "RunAsLoginModule"
-msgstr ""
+msgstr "RunAsLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1315
@@ -4497,7 +4997,7 @@
 #: J2EE_Security_On_JBOSS.xml:1331
 #, no-c-format
 msgid "ClientLoginModule"
-msgstr ""
+msgstr "ClientLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1332
@@ -4596,6 +5096,14 @@
 "    // Put your login modules that need jBoss here\n"
 "};"
 msgstr ""
+"other {\n"
+"    // Put your login modules that work without jBoss here\n"
+"                \n"
+"    // jBoss LoginModule\n"
+"    org.jboss.security.ClientLoginModule required;\n"
+"               \n"
+"    // Put your login modules that need jBoss here\n"
+"};"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1367
@@ -4639,6 +5147,12 @@
 "java.util.Set getPublicCredentials()\n"
 "java.util.Set getPublicCredentials(java.lang.Class c)"
 msgstr ""
+"java.util.Set getPrincipals()\n"
+"java.util.Set getPrincipals(java.lang.Class c)\n"
+"java.util.Set getPrivateCredentials()\n"
+"java.util.Set getPrivateCredentials(java.lang.Class c)\n"
+"java.util.Set getPublicCredentials()\n"
+"java.util.Set getPublicCredentials(java.lang.Class c)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1375
@@ -4820,6 +5334,104 @@
 "    abstract protected Group[] getRoleSets() throws LoginException;\n"
 "}"
 msgstr ""
+"package org.jboss.security.auth.spi;\n"
+"/**\n"
+" *  This class implements the common functionality required for a JAAS\n"
+" *  server-side LoginModule and implements the JBossSX standard\n"
+" *  Subject usage pattern of storing identities and roles. Subclass\n"
+" *  this module to create your own custom LoginModule and override the\n"
+" *  login(), getRoleSets(), and getIdentity() methods.\n"
+" */\n"
+"public abstract class AbstractServerLoginModule\n"
+"    implements javax.security.auth.spi.LoginModule\n"
+"{\n"
+"    protected Subject subject;\n"
+"    protected CallbackHandler callbackHandler;\n"
+"    protected Map sharedState;\n"
+"    protected Map options;\n"
+"    protected Logger log;\n"
+"\n"
+"    /** Flag indicating if the shared credential should be used */\n"
+"    protected boolean useFirstPass;\n"
+"    /** \n"
+"     * Flag indicating if the login phase succeeded. Subclasses that\n"
+"     * override the login method must set this to true on successful\n"
+"     * completion of login\n"
+"     */\n"
+"    protected boolean loginOk;\n"
+"                \n"
+"    // ...\n"
+"    /**\n"
+"     * Initialize the login module. This stores the subject,\n"
+"     * callbackHandler and sharedState and options for the login\n"
+"     * session. Subclasses should override if they need to process\n"
+"     * their own options. A call to super.initialize(...)  must be\n"
+"     * made in the case of an override.\n"
+"     *\n"
+"     * &lt;p&gt;\n"
+"     * The options are checked for the  &lt;em&gt;password-stacking&lt;/"
+"em&gt; parameter.\n"
+"     * If this is set to \"useFirstPass\", the login identity will be taken "
+"from the\n"
+"     * &lt;code&gt;javax.security.auth.login.name&lt;/code&gt; value of the "
+"sharedState map,\n"
+"     * and the proof of identity from the\n"
+"     * &lt;code&gt;javax.security.auth.login.password&lt;/code&gt; value of "
+"the sharedState map.\n"
+"     *\n"
+"     * @param subject the Subject to update after a successful login.\n"
+"     * @param callbackHandler the CallbackHandler that will be used to "
+"obtain the\n"
+"     * the user identity and credentials.\n"
+"     * @param sharedState a Map shared between all configured login module "
+"instances\n"
+"     * @param options the parameters passed to the login module.\n"
+"     */\n"
+"    public void initialize(Subject subject,\n"
+"                           CallbackHandler callbackHandler,\n"
+"                           Map sharedState,\n"
+"                           Map options)\n"
+"    {\n"
+"        // ...\n"
+"    }\n"
+"    \n"
+"\n"
+"    /**\n"
+"     *  Looks for javax.security.auth.login.name and\n"
+"     *  javax.security.auth.login.password values in the sharedState\n"
+"     *  map if the useFirstPass option was true and returns true if\n"
+"     *  they exist. If they do not or are null this method returns\n"
+"     *  false.  \n"
+"     *  Note that subclasses that override the login method\n"
+"     *  must set the loginOk var to true if the login succeeds in\n"
+"     *  order for the commit phase to populate the Subject. This\n"
+"     *  implementation sets loginOk to true if the login() method\n"
+"     *  returns true, otherwise, it sets loginOk to false.\n"
+"     */\n"
+"    public boolean login() \n"
+"        throws LoginException\n"
+"    {\n"
+"        // ...\n"
+"    }\n"
+"    \n"
+"    /**\n"
+"     *  Overridden by subclasses to return the Principal that\n"
+"     *  corresponds to the user primary identity.\n"
+"     */\n"
+"    abstract protected Principal getIdentity();\n"
+"                \n"
+"    /**\n"
+"     *  Overridden by subclasses to return the Groups that correspond\n"
+"     *  to the role sets assigned to the user. Subclasses should\n"
+"     *  create at least a Group named \"Roles\" that contains the roles\n"
+"     *  assigned to the user.  A second common group is\n"
+"     *  \"CallerPrincipal,\" which provides the application identity of\n"
+"     *  the user rather than the security domain identity.\n"
+"     * \n"
+"     *  @return Group[] containing the sets of roles\n"
+"     */\n"
+"    abstract protected Group[] getRoleSets() throws LoginException;\n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1396
@@ -4946,6 +5558,97 @@
 "        throws LoginException;\n"
 "}"
 msgstr ""
+"package org.jboss.security.auth.spi;\n"
+"\n"
+"/**\n"
+" *  An abstract subclass of AbstractServerLoginModule that imposes a\n"
+" *  an identity == String username, credentials == String password\n"
+" *  view on the login process. Subclasses override the\n"
+" *  getUsersPassword() and getUsersRoles() methods to return the\n"
+" *  expected password and roles for the user.\n"
+" */\n"
+"public abstract class UsernamePasswordLoginModule\n"
+"    extends AbstractServerLoginModule\n"
+"{\n"
+"    /** The login identity */\n"
+"    private Principal identity;\n"
+"    /** The proof of login identity */\n"
+"    private char[] credential;\n"
+"    /** The principal to use when a null username and password are seen */\n"
+"    private Principal unauthenticatedIdentity;\n"
+"\n"
+"    /**\n"
+"     * The message digest algorithm used to hash passwords. If null then\n"
+"     * plain passwords will be used. */\n"
+"    private String hashAlgorithm = null;\n"
+"\n"
+"    /**\n"
+"     *  The name of the charset/encoding to use when converting the\n"
+"     * password String to a byte array. Default is the platform&#39;s\n"
+"     * default encoding.\n"
+"     */\n"
+"     private String hashCharset = null;\n"
+"\n"
+"    /** The string encoding format to use. Defaults to base64. */\n"
+"    private String hashEncoding = null;\n"
+"                \n"
+"    // ...\n"
+"                \n"
+"    /** \n"
+"     *  Override the superclass method to look for an\n"
+"     *  unauthenticatedIdentity property. This method first invokes\n"
+"     *  the super version.\n"
+"     *\n"
+"     *  @param options,\n"
+"     *  @option unauthenticatedIdentity: the name of the principal to\n"
+"     *  assign and authenticate when a null username and password are\n"
+"     *  seen.\n"
+"     */\n"
+"    public void initialize(Subject subject,\n"
+"                           CallbackHandler callbackHandler,\n"
+"                           Map sharedState,\n"
+"                           Map options)\n"
+"    {\n"
+"        super.initialize(subject, callbackHandler, sharedState,\n"
+"                         options);\n"
+"        // Check for unauthenticatedIdentity option.\n"
+"        Object option = options.get(\"unauthenticatedIdentity\");\n"
+"        String name = (String) option;\n"
+"        if (name != null) {\n"
+"            unauthenticatedIdentity = new SimplePrincipal(name);\n"
+"        }\n"
+"    }\n"
+"                \n"
+"    // ...\n"
+"                \n"
+"    /**\n"
+"     *  A hook that allows subclasses to change the validation of the\n"
+"     *  input password against the expected password. This version\n"
+"     *  checks that neither inputPassword or expectedPassword are null\n"
+"     *  and that inputPassword.equals(expectedPassword) is true;\n"
+"     *\n"
+"     *  @return true if the inputPassword is valid, false otherwise.\n"
+"     */\n"
+"    protected boolean validatePassword(String inputPassword,\n"
+"                                       String expectedPassword)\n"
+"    {\n"
+"        if (inputPassword == null || expectedPassword == null) {\n"
+"            return false;\n"
+"        }\n"
+"        return inputPassword.equals(expectedPassword);\n"
+"    }\n"
+"    \n"
+"    /**\n"
+"     *  Get the expected password for the current username available\n"
+"     * via the getUsername() method. This is called from within the\n"
+"     * login() method after the CallbackHandler has returned the\n"
+"     * username and candidate password.\n"
+"     *\n"
+"     * @return the valid password String\n"
+"     */\n"
+"    abstract protected String getUsersPassword()\n"
+"        throws LoginException;\n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1403
@@ -5178,6 +5881,98 @@
 "    }   \n"
 "}"
 msgstr ""
+"package org.jboss.book.security.ex2;\n"
+"                    \n"
+"import java.security.acl.Group;\n"
+"import java.util.Map;\n"
+"import javax.naming.InitialContext;\n"
+"import javax.naming.NamingException;\n"
+"import javax.security.auth.Subject;\n"
+"import javax.security.auth.callback.CallbackHandler;\n"
+"import javax.security.auth.login.LoginException;\n"
+"\n"
+"import org.jboss.security.SimpleGroup;\n"
+"import org.jboss.security.SimplePrincipal;\n"
+"import org.jboss.security.auth.spi.UsernamePasswordLoginModule;\n"
+"\n"
+"/** \n"
+" *  An example custom login module that obtains passwords and roles\n"
+" *  for a user from a JNDI lookup.\n"
+" *     \n"
+" *  @author Scott.Stark at jboss.org\n"
+" *  @version $Revision: 1.12 $\n"
+"*/\n"
+"public class JndiUserAndPass \n"
+"    extends UsernamePasswordLoginModule\n"
+"{\n"
+"    /** The JNDI name to the context that handles the password/username "
+"lookup */\n"
+"    private String userPathPrefix;\n"
+"    /** The JNDI name to the context that handles the roles/ username lookup "
+"*/\n"
+"    private String rolesPathPrefix;\n"
+"    \n"
+"    /**\n"
+"     * Override to obtain the userPathPrefix and rolesPathPrefix options.\n"
+"     */\n"
+"    public void initialize(Subject subject, CallbackHandler "
+"callbackHandler,\n"
+"                           Map sharedState, Map options)\n"
+"    {\n"
+"        super.initialize(subject, callbackHandler, sharedState, options);\n"
+"        userPathPrefix = (String) options.get(\"userPathPrefix\");\n"
+"        rolesPathPrefix = (String) options.get(\"rolesPathPrefix\");\n"
+"    }\n"
+"    \n"
+"    /**\n"
+"     *  Get the roles the current user belongs to by querying the\n"
+"     * rolesPathPrefix + &#39;/&#39; + super.getUsername() JNDI location.\n"
+"     */\n"
+"    protected Group[] getRoleSets() throws LoginException\n"
+"    {\n"
+"        try {\n"
+"            InitialContext ctx = new InitialContext();\n"
+"            String rolesPath = rolesPathPrefix + &#39;/&#39; + super."
+"getUsername();\n"
+"\n"
+"            String[] roles = (String[]) ctx.lookup(rolesPath);\n"
+"            Group[] groups = {new SimpleGroup(\"Roles\")};\n"
+"            log.info(\"Getting roles for user=\"+super.getUsername());\n"
+"            for(int r = 0; r &lt; roles.length; r ++) {\n"
+"                SimplePrincipal role = new SimplePrincipal(roles[r]);\n"
+"                log.info(\"Found role=\"+roles[r]);\n"
+"                groups[0].addMember(role);\n"
+"            }\n"
+"            return groups;\n"
+"        } catch(NamingException e) {\n"
+"            log.error(\"Failed to obtain groups for\n"
+"                        user=\"+super.getUsername(), e);\n"
+"            throw new LoginException(e.toString(true));\n"
+"        }\n"
+"    }\n"
+"                    \n"
+"    /** \n"
+"     * Get the password of the current user by querying the\n"
+"     * userPathPrefix + &#39;/&#39; + super.getUsername() JNDI location.\n"
+"     */\n"
+"    protected String getUsersPassword() \n"
+"        throws LoginException\n"
+"    {\n"
+"        try {\n"
+"            InitialContext ctx = new InitialContext();\n"
+"            String userPath = userPathPrefix + &#39;/&#39; + super."
+"getUsername();\n"
+"            log.info(\"Getting password for user=\"+super.getUsername());\n"
+"            String passwd = (String) ctx.lookup(userPath);\n"
+"            log.info(\"Found password=\"+passwd);\n"
+"            return passwd;\n"
+"        } catch(NamingException e) {\n"
+"            log.error(\"Failed to obtain password for\n"
+"                        user=\"+super.getUsername(), e);\n"
+"            throw new LoginException(e.toString(true));\n"
+"        }\n"
+"    }   \n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1466
@@ -5219,6 +6014,14 @@
 "     [java] [INFO,ExClient] Created Echo\n"
 "     [java] [INFO,ExClient] Echo.echo(&#39;Hello&#39;) = Hello"
 msgstr ""
+"[examples]$ ant -Dchap=security -Dex=2 run-example\n"
+"...\n"
+"run-example2:\n"
+"     [echo] Waiting for 5 seconds for deploy...\n"
+"     [java] [INFO,ExClient] Login with username=jduke, password=theduke\n"
+"     [java] [INFO,ExClient] Looking up EchoBean2\n"
+"     [java] [INFO,ExClient] Created Echo\n"
+"     [java] [INFO,ExClient] Echo.echo(&#39;Hello&#39;) = Hello"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1473
@@ -5232,16 +6035,17 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1476
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;?xml version=\"1.0\"?&gt;\n"
 "&lt;jboss&gt;\n"
 "    &lt;security-domain&gt;java:/jaas/security-ex2&lt;/security-domain&gt;\n"
 "&lt;/jboss&gt;"
 msgstr ""
-"&lt;jboss-web&gt;\n"
-"    &lt;security-domain&gt;java:/jaas/digest&lt;/security-domain&gt;\n"
-"&lt;/jboss-web&gt;"
+"&lt;?xml version=\"1.0\"?&gt;\n"
+"&lt;jboss&gt;\n"
+"    &lt;security-domain&gt;java:/jaas/security-ex2&lt;/security-domain&gt;\n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1477
@@ -5270,6 +6074,18 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
+"&lt;application-policy name = \"security-ex2\"&gt;\n"
+"    &lt;authentication&gt;\n"
+"        &lt;login-module code=\"org.jboss.book.security.ex2.JndiUserAndPass"
+"\"\n"
+"                      flag=\"required\"&gt;\n"
+"            &lt;module-option name = \"userPathPrefix\"&gt;/security/store/"
+"password&lt;/module-option&gt;\n"
+"            &lt;module-option name = \"rolesPathPrefix\"&gt;/security/store/"
+"roles&lt;/module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
+"    &lt;/authentication&gt;\n"
+"&lt;/application-policy&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1488
@@ -5518,6 +6334,15 @@
 "    ;\n"
 "};"
 msgstr ""
+"srp {\n"
+"    org.jboss.security.srp.jaas.SRPLoginModule required\n"
+"    srpServerJndiName=\"SRPServerInterface\"\n"
+"    ;\n"
+"            \n"
+"    org.jboss.security.ClientLoginModule required\n"
+"    password-stacking=\"useFirstPass\"\n"
+"    ;\n"
+"};"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1587
@@ -5706,6 +6531,8 @@
 "public void addUser(String username, String password) throws IOException;\n"
 "public void delUser(String username) throws IOException;"
 msgstr ""
+"public void addUser(String username, String password) throws IOException;\n"
+"public void delUser(String username) throws IOException;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1661
@@ -5796,6 +6623,57 @@
 "         throws SecurityException;\n"
 "}"
 msgstr ""
+"package org.jboss.security.srp;\n"
+"\n"
+"import java.io.IOException;\n"
+"import java.io.Serializable;\n"
+"import java.security.KeyException;\n"
+"\n"
+"public interface SRPVerifierStore\n"
+"{\n"
+"    public static class VerifierInfo implements Serializable\n"
+"    {\n"
+"        /**\n"
+"         * The username the information applies to. Perhaps redundant\n"
+"         * but it makes the object self contained.\n"
+"         */\n"
+"        public String username;\n"
+"\n"
+"        /** The SRP password verifier hash */\n"
+"        public byte[] verifier;\n"
+"        /** The random password salt originally used to verify the password "
+"*/\n"
+"        public byte[] salt;\n"
+"        /** The SRP algorithm primitive generator */\n"
+"        public byte[] g;\n"
+"        /** The algorithm safe-prime modulus */\n"
+"        public byte[] N;\n"
+"    }\n"
+"    \n"
+"    /**\n"
+"     *  Get the indicated user&#39;s password verifier information.\n"
+"     */\n"
+"    public VerifierInfo getUserVerifier(String username)\n"
+"        throws KeyException, IOException;\n"
+"    /** \n"
+"     *  Set the indicated users&#39; password verifier information. This\n"
+"     *  is equivalent to changing a user&#39;s password and should\n"
+"     *  generally invalidate any existing SRP sessions and caches.\n"
+"     */\n"
+"    public void setUserVerifier(String username, VerifierInfo info)\n"
+"        throws IOException;\n"
+"\n"
+"    /** \n"
+"     * Verify an optional auxiliary challenge sent from the client to\n"
+"     * the server.  The auxChallenge object will have been decrypted\n"
+"     * if it was sent encrypted from the client. An example of a\n"
+"     * auxiliary challenge would be the validation of a hardware token\n"
+"     * (SafeWord, SecureID, iButton) that the server validates to\n"
+"     * further strengthen the SRP password exchange.\n"
+"     */\n"
+"     public void verifyUserChallenge(String username, Object auxChallenge)\n"
+"         throws SecurityException;\n"
+"}"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1671
@@ -6084,9 +6962,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1782
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "An SRP example"
-msgstr "Ejemplo simple de POJO"
+msgstr "Un ejemplo SRP"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1783
@@ -6124,6 +7002,16 @@
 "users.properties\n"
 "security-ex3.sar"
 msgstr ""
+"[examples]$ jar tf output/security/security-ex3.jar \n"
+"META-INF/MANIFEST.MF\n"
+"META-INF/ejb-jar.xml\n"
+"META-INF/jboss.xml\n"
+"org/jboss/book/security/ex3/Echo.class\n"
+"org/jboss/book/security/ex3/EchoBean.class\n"
+"org/jboss/book/security/ex3/EchoHome.class\n"
+"roles.properties\n"
+"users.properties\n"
+"security-ex3.sar"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1787
@@ -6190,6 +7078,45 @@
 "    &lt;/mbean&gt;\n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;server&gt;\n"
+"    &lt;!-- The custom JAAS login configuration that installs\n"
+"         a Configuration capable of dynamically updating the\n"
+"         config settings --&gt;\n"
+"\n"
+"    &lt;mbean code=\"org.jboss.book.security.service.SecurityConfig\" \n"
+"           name=\"jboss.docs.security:service=LoginConfig-EX3\"&gt;\n"
+"        &lt;attribute name=\"AuthConfig\"&gt;META-INF/login-config.xml&lt;/"
+"attribute&gt;\n"
+"        &lt;attribute name=\"SecurityConfigName\"&gt;jboss.security:"
+"name=SecurityConfig&lt;/attribute&gt;\n"
+"    &lt;/mbean&gt;\n"
+"\n"
+"    &lt;!-- The SRP service that provides the SRP RMI server and server "
+"side\n"
+"         authentication cache --&gt;\n"
+"    &lt;mbean code=\"org.jboss.security.srp.SRPService\" \n"
+"           name=\"jboss.docs.security:service=SRPService\"&gt;\n"
+"        &lt;attribute name=\"VerifierSourceJndiName\"&gt;srp-test/security-"
+"ex3&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"JndiName\"&gt;srp-test/SRPServerInterface&lt;/"
+"attribute&gt;\n"
+"        &lt;attribute name=\"AuthenticationCacheJndiName\"&gt;srp-test/"
+"AuthenticationCache&lt;/attribute&gt;\n"
+"        &lt;attribute name=\"ServerPort\"&gt;0&lt;/attribute&gt;\n"
+"        &lt;depends&gt;jboss.docs.security:"
+"service=PropertiesVerifierStore&lt;/depends&gt;\n"
+"    &lt;/mbean&gt;\n"
+"\n"
+"    &lt;!-- The SRP store handler service that provides the user password "
+"verifier\n"
+"         information --&gt;\n"
+"    &lt;mbean code=\"org.jboss.security.ex3.service.PropertiesVerifierStore"
+"\"\n"
+"           name=\"jboss.docs.security:service=PropertiesVerifierStore\"&gt;\n"
+"        &lt;attribute name=\"JndiName\"&gt;srp-test/security-ex3&lt;/"
+"attribute&gt;\n"
+"    &lt;/mbean&gt;\n"
+"&lt;/server&gt;"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1792
@@ -6211,6 +7138,15 @@
 "    ;\n"
 "};"
 msgstr ""
+"srp {\n"
+"    org.jboss.security.srp.jaas.SRPLoginModule required\n"
+"    srpServerJndiName=\"srp-test/SRPServerInterface\"\n"
+"    ;\n"
+"                    \n"
+"    org.jboss.security.ClientLoginModule required\n"
+"    password-stacking=\"useFirstPass\"\n"
+"    ;\n"
+"};"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1794
@@ -6239,6 +7175,22 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
+"&lt;application-policy name=\"security-ex3\"&gt;\n"
+"    &lt;authentication&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.srp.jaas."
+"SRPCacheLoginModule\"\n"
+"                      flag = \"required\"&gt;\n"
+"            &lt;module-option name=\"cacheJndiName\"&gt;srp-test/"
+"AuthenticationCache&lt;/module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.auth.spi."
+"UsersRolesLoginModule\"\n"
+"                      flag = \"required\"&gt;\n"
+"            &lt;module-option name=\"password-stacking\"&gt;useFirstPass&lt;/"
+"module-option&gt;\n"
+"        &lt;/login-module&gt;\n"
+"    &lt;/authentication&gt;\n"
+"&lt;/application-policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1796
@@ -6317,6 +7269,14 @@
 "     [java] Echo.echo()#1 = This is call 1\n"
 "     [java] Echo.echo()#2 = This is call 2"
 msgstr ""
+"[examples]$ ant -Dchap=security -Dex=3 run-example\n"
+"...\n"
+"run-example3:\n"
+"     [echo] Waiting for 5 seconds for deploy...\n"
+"     [java] Logging in using the &#39;srp&#39; configuration\n"
+"     [java] Created Echo\n"
+"     [java] Echo.echo()#1 = This is call 1\n"
+"     [java] Echo.echo()#2 = This is call 2"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1809
@@ -6422,6 +7382,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
@@ -6442,9 +7406,9 @@
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1854
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "TargetName"
-msgstr "Nombre de la Propiedad"
+msgstr "TargetName"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1857
@@ -6456,13 +7420,13 @@
 #: J2EE_Security_On_JBOSS.xml:1860
 #, no-c-format
 msgid "Risks"
-msgstr ""
+msgstr "Riesgos"
 
 #. 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
@@ -6482,7 +7446,7 @@
 #: 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
@@ -6502,7 +7466,7 @@
 #: 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
@@ -6522,7 +7486,7 @@
 #: 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
@@ -6573,6 +7537,25 @@
 "\n"
 "Note: Separate multiple options with a comma"
 msgstr ""
+"[bin]$ java -Djava.security.debug=help\n"
+"            \n"
+"all           turn on all debugging\n"
+"access        print all checkPermission results\n"
+"combiner      SubjectDomainCombiner debugging\n"
+"jar           jar verification\n"
+"logincontext  login context results\n"
+"policy        loading and granting\n"
+"provider      security provider debugging\n"
+"scl           permissions SecureClassLoader assigns\n"
+"\n"
+"The following can be used with access:\n"
+"\n"
+"stack     include stack trace\n"
+"domain    dumps all domains in context\n"
+"failure   before throwing exception, dump stack\n"
+"          and domain that didn&#39;t have permission\n"
+"\n"
+"Note: Separate multiple options with a comma"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1916
@@ -6689,6 +7672,32 @@
 "*******************************************\n"
 "*******************************************"
 msgstr ""
+"[examples]$ keytool -list -v -keystore src/main/org/jboss/book/security/"
+"example.keystore\n"
+"Enter keystore password:  rmi+ssl\n"
+"\n"
+"Keystore type: jks\n"
+"Keystore provider: SUN\n"
+"\n"
+"Your keystore contains 1 entry\n"
+"\n"
+"Alias name: example\n"
+"Creation date: Oct 31, 2006\n"
+"Entry type: keyEntry\n"
+"Certificate chain length: 1\n"
+"Certificate[1]:\n"
+"Owner: CN=example, OU=admin book, DC=jboss, DC=org\n"
+"Issuer: CN=example, OU=admin book, DC=jboss, DC=org\n"
+"Serial number: 45481c1b\n"
+"Valid from: Tue Oct 31 22:01:31 CST 2006 until: Fri Oct 28 23:01:31 CDT "
+"2016\n"
+"Certificate fingerprints:\n"
+"         MD5:  C2:CA:CA:D3:00:71:3E:32:CB:B3:C8:A8:4E:68:9A:BB\n"
+"         SHA1: A6:44:EF:66:2A:49:14:B0:A4:14:74:8B:64:61:E4:E6:AF:E3:70:41\n"
+"\n"
+"\n"
+"*******************************************\n"
+"*******************************************"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1946
@@ -6735,6 +7744,17 @@
 "    &lt;attribute name=\"KeyStorePass\"&gt;rmi+ssl&lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- The SSL domain setup --&gt;\n"
+"&lt;mbean code=\"org.jboss.security.plugins.JaasSecurityDomain\"\n"
+"       name=\"jboss.security:service=JaasSecurityDomain,domain=RMI+SSL"
+"\"&gt;\n"
+"    &lt;constructor&gt;\n"
+"        &lt;arg type=\"java.lang.String\" value=\"RMI+SSL\"/&gt;\n"
+"    &lt;/constructor&gt;\n"
+"    &lt;attribute name=\"KeyStoreURL\"&gt;example.keystore&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"KeyStorePass\"&gt;rmi+ssl&lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1951
@@ -6780,6 +7800,20 @@
 "+SSL&lt;/depends&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.invocation.jrmp.server.JRMPInvoker\"\n"
+"       name=\"jboss:service=invoker,type=jrmp,socketType=SSL\"&gt;\n"
+"    &lt;attribute name=\"RMIObjectPort\"&gt;14445&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"RMIClientSocketFactory\"&gt; \n"
+"        org.jboss.security.ssl.RMISSLClientSocketFactory\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"RMIServerSocketFactory\"&gt;\n"
+"        org.jboss.security.ssl.RMISSLServerSocketFactory\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"SecurityDomain\"&gt;java:/jaas/RMI+SSL&lt;/"
+"attribute&gt;\n"
+"    &lt;depends&gt;jboss.security:service=JaasSecurityDomain,domain=RMI"
+"+SSL&lt;/depends&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1958
@@ -6793,7 +7827,7 @@
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1961
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;?xml version=\"1.0\"?&gt;\n"
 "&lt;jboss&gt;\n"
@@ -6847,68 +7881,57 @@
 "    &lt;/invoker-proxy-bindings&gt;\n"
 "&lt;/jboss&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\"?&gt;\n"
 "&lt;jboss&gt;\n"
-"    &lt;session&gt;\n"
-"        &lt;ejb-name&gt;nextgen_RetryInterceptorStatelessSession&lt;/ejb-"
-"name&gt;\n"
-"        &lt;invoker-bindings&gt;\n"
-"            &lt;invoker&gt;\n"
-"                &lt;invoker-proxy-binding-name&gt;\n"
-"                    clustered-retry-stateless-rmi-invoker\n"
-"                &lt;/invoker-proxy-binding-name&gt;\n"
-"                &lt;jndi-name&gt;\n"
-"                    nextgen_RetryInterceptorStatelessSession\n"
-"                &lt;/jndi-name&gt;\n"
-"            &lt;/invoker&gt;\n"
-"        &lt;/invoker-bindings&gt;\n"
-"        &lt;clustered&gt;true&lt;/clustered&gt;\n"
-"    &lt;/session&gt;\n"
-"\n"
-"    &lt;invoker-proxy-binding&gt;\n"
-"        &lt;name&gt;clustered-retry-stateless-rmi-invoker&lt;/name&gt;\n"
-"        &lt;invoker-mbean&gt;jboss:service=invoker,type=jrmpha&lt;/invoker-"
-"mbean&gt;\n"
-"        &lt;proxy-factory&gt;org.jboss.proxy.ejb.ProxyFactoryHA&lt;/proxy-"
+"    &lt;enterprise-beans&gt;\n"
+"        &lt;session&gt;\n"
+"            &lt;ejb-name&gt;EchoBean4&lt;/ejb-name&gt;\n"
+"            &lt;configuration-name&gt;Standard Stateless SessionBean&lt;/"
+"configuration-name&gt;\n"
+"            &lt;invoker-bindings&gt;\n"
+"                &lt;invoker&gt;\n"
+"                    &lt;invoker-proxy-binding-name&gt;\n"
+"                        stateless-ssl-invoker\n"
+"                    &lt;/invoker-proxy-binding-name&gt;\n"
+"                &lt;/invoker&gt;\n"
+"            &lt;/invoker-bindings&gt;\n"
+"        &lt;/session&gt;\n"
+"    &lt;/enterprise-beans&gt;\n"
+"    \n"
+"    &lt;invoker-proxy-bindings&gt;\n"
+"        &lt;invoker-proxy-binding&gt;\n"
+"            &lt;name&gt;stateless-ssl-invoker&lt;/name&gt;\n"
+"            &lt;invoker-mbean&gt;jboss:service=invoker,type=jrmp,"
+"socketType=SSL&lt;/invoker-mbean&gt;\n"
+"            &lt;proxy-factory&gt;org.jboss.proxy.ejb.ProxyFactory&lt;/proxy-"
 "factory&gt;\n"
-"        &lt;proxy-factory-config&gt;\n"
+"            &lt;proxy-factory-config&gt;\n"
 "            &lt;client-interceptors&gt;\n"
 "                &lt;home&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.ejb.HomeInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.SecurityInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.TransactionInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.ejb.RetryInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.invocation.InvokerInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.proxy.ejb."
+"HomeInterceptor&lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.proxy."
+"SecurityInterceptor&lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.proxy."
+"TransactionInterceptor&lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.invocation."
+"InvokerInterceptor&lt;/interceptor&gt;\n"
 "                &lt;/home&gt;\n"
 "                &lt;bean&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.SecurityInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.TransactionInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.proxy.ejb.RetryInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
-"                    &lt;interceptor&gt;\n"
-"                        org.jboss.invocation.InvokerInterceptor\n"
-"                    &lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.proxy.ejb."
+"StatelessSessionInterceptor&lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.proxy."
+"SecurityInterceptor&lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.proxy."
+"TransactionInterceptor&lt;/interceptor&gt;\n"
+"                    &lt;interceptor&gt;org.jboss.invocation."
+"InvokerInterceptor&lt;/interceptor&gt;\n"
 "                &lt;/bean&gt;\n"
 "            &lt;/client-interceptors&gt;\n"
-"        &lt;/proxy-factory-config&gt;\n"
-"    &lt;/invoker-proxy-binding&gt;"
+"            &lt;/proxy-factory-config&gt;\n"
+"        &lt;/invoker-proxy-binding&gt;\n"
+"    &lt;/invoker-proxy-bindings&gt;\n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1962
@@ -6939,6 +7962,17 @@
 "n: No trusted certificate found\n"
 "..."
 msgstr ""
+"[examples]$ ant -Dchap=security -Dex=4b run-example\n"
+"...\n"
+"run-example4b:\n"
+"...\n"
+"     [java] Exception in thread \"main\" java.rmi.ConnectIOException: error "
+"during JRMP connect\n"
+"ion establishment; nested exception is: \n"
+"     [java]     javax.net.ssl.SSLHandshakeException: sun.security.validator."
+"ValidatorExceptio\n"
+"n: No trusted certificate found\n"
+"..."
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1966
@@ -6976,6 +8010,14 @@
 "        [java] Created Echo\n"
 "        [java] Echo.echo()#1 = This is call 1"
 msgstr ""
+"[examples]$ ant -Dchap=security -Dex=4 run-example\n"
+"...\n"
+"run-example4:\n"
+"        [copy] Copying 1 file to /tmp/jboss-4.2.0/server/production/deploy\n"
+"        [echo] Waiting for 5 seconds for deploy...\n"
+"...\n"
+"        [java] Created Echo\n"
+"        [java] Echo.echo()#1 = This is call 1"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1970
@@ -7009,6 +8051,9 @@
 "   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer\n"
 "..."
 msgstr ""
+"javax.naming.NameNotFoundException: EchoBean4 not bound\n"
+"   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer\n"
+"..."
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1977
@@ -7049,9 +8094,9 @@
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1995 J2EE_Security_On_JBOSS.xml:2106
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Port"
-msgstr "import"
+msgstr "Puerto"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1998 J2EE_Security_On_JBOSS.xml:2109
@@ -7061,15 +8106,15 @@
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2001 J2EE_Security_On_JBOSS.xml:2112
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Service"
-msgstr "Servicios HTTP"
+msgstr "Servicio"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2008
 #, no-c-format
 msgid "1098"
-msgstr ""
+msgstr "1098"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2011 J2EE_Security_On_JBOSS.xml:2022
@@ -7078,87 +8123,87 @@
 #: J2EE_Security_On_JBOSS.xml:2077 J2EE_Security_On_JBOSS.xml:2088
 #: J2EE_Security_On_JBOSS.xml:2122 J2EE_Security_On_JBOSS.xml:2133
 #: J2EE_Security_On_JBOSS.xml:2177 J2EE_Security_On_JBOSS.xml:2188
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "<entry>TCP</entry>"
-msgstr "<entry>DB2</entry>"
+msgstr "<entry>TCP</entry>"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2015 J2EE_Security_On_JBOSS.xml:2026
 #, no-c-format
 msgid "org.jboss.naming.NamingService"
-msgstr ""
+msgstr "org.jboss.naming.NamingService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2019
 #, no-c-format
 msgid "1099"
-msgstr ""
+msgstr "1099"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2030
 #, no-c-format
 msgid "4444"
-msgstr ""
+msgstr "4444"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2037
 #, no-c-format
 msgid "org.jboss.invocation.jrmp.server.JRMPInvoker"
-msgstr ""
+msgstr "org.jboss.invocation.jrmp.server.JRMPInvoker"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2041
 #, no-c-format
 msgid "4445"
-msgstr ""
+msgstr "4445"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2048
 #, no-c-format
 msgid "org.jboss.invocation.pooled.server.PooledInvoker"
-msgstr ""
+msgstr "org.jboss.invocation.pooled.server.PooledInvoker"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2052
 #, no-c-format
 msgid "8009"
-msgstr ""
+msgstr "8009"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2059 J2EE_Security_On_JBOSS.xml:2070
 #, no-c-format
 msgid "org.jboss.web.tomcat.tc4.EmbeddedTomcatService"
-msgstr ""
+msgstr "org.jboss.web.tomcat.tc4.EmbeddedTomcatService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2063
 #, no-c-format
 msgid "8080"
-msgstr ""
+msgstr "8080"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2074
 #, no-c-format
 msgid "8083"
-msgstr ""
+msgstr "8083"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2081
 #, no-c-format
 msgid "org.jboss.web.WebService"
-msgstr ""
+msgstr "org.jboss.web.WebService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2085
 #, no-c-format
 msgid "8093"
-msgstr ""
+msgstr "8093"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2092
 #, no-c-format
 msgid "org.jboss.mq.il.uil2.UILServerILService"
-msgstr ""
+msgstr "org.jboss.mq.il.uil2.UILServerILService"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2099
@@ -7170,87 +8215,87 @@
 #: J2EE_Security_On_JBOSS.xml:2119
 #, no-c-format
 msgid "1100"
-msgstr ""
+msgstr "1100"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2126 J2EE_Security_On_JBOSS.xml:2137
 #: J2EE_Security_On_JBOSS.xml:2148
 #, no-c-format
 msgid "org.jboss.ha.jndi.HANamingService"
-msgstr ""
+msgstr "org.jboss.ha.jndi.HANamingService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2130
 #, no-c-format
 msgid "1101"
-msgstr ""
+msgstr "1101"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2141
 #, no-c-format
 msgid "1102"
-msgstr ""
+msgstr "1102"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2144 J2EE_Security_On_JBOSS.xml:2155
 #: J2EE_Security_On_JBOSS.xml:2166 J2EE_Security_On_JBOSS.xml:2202
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "<entry>UDP</entry>"
-msgstr "<entry>DB2</entry>"
+msgstr "<entry>UDP</entry>"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2152
 #, no-c-format
 msgid "1161"
-msgstr ""
+msgstr "1161"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2159
 #, no-c-format
 msgid "org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService"
-msgstr ""
+msgstr "org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2163
 #, no-c-format
 msgid "1162"
-msgstr ""
+msgstr "1162"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2170
 #, no-c-format
 msgid "org.jboss.jmx.adaptor.snmp.trapd.TrapdService"
-msgstr ""
+msgstr "org.jboss.jmx.adaptor.snmp.trapd.TrapdService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2174
 #, no-c-format
 msgid "3528"
-msgstr ""
+msgstr "3528"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2181
 #, no-c-format
 msgid "org.jboss.invocation.iiop.IIOPInvoker"
-msgstr ""
+msgstr "org.jboss.invocation.iiop.IIOPInvoker"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2185
 #, no-c-format
 msgid "4447"
-msgstr ""
+msgstr "4447"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2192
 #, no-c-format
 msgid "org.jboss.invocation.jrmp.server.JRMPInvokerHA"
-msgstr ""
+msgstr "org.jboss.invocation.jrmp.server.JRMPInvokerHA"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2196
 #, no-c-format
 msgid "45566"
-msgstr ""
+msgstr "45566"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2197
@@ -7264,7 +8309,7 @@
 #: J2EE_Security_On_JBOSS.xml:2206
 #, no-c-format
 msgid "org.jboss.ha.framework.server.ClusterPartition"
-msgstr ""
+msgstr "org.jboss.ha.framework.server.ClusterPartition"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2215
@@ -7286,7 +8331,7 @@
 #: J2EE_Security_On_JBOSS.xml:2220
 #, no-c-format
 msgid "The JMX Console"
-msgstr ""
+msgstr "La consola JMX"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2221
@@ -7303,7 +8348,7 @@
 #: J2EE_Security_On_JBOSS.xml:2227
 #, no-c-format
 msgid "The Web Console"
-msgstr ""
+msgstr "La consola web"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2228
@@ -7324,7 +8369,7 @@
 #: J2EE_Security_On_JBOSS.xml:2234
 #, no-c-format
 msgid "The HTTP Invokers"
-msgstr ""
+msgstr "Los invocadores HTTP"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2235
@@ -7351,7 +8396,7 @@
 #: J2EE_Security_On_JBOSS.xml:2241
 #, no-c-format
 msgid "The JMX Invoker"
-msgstr ""
+msgstr "El invocador JMX"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2242
@@ -7365,3 +8410,4 @@
 "the future this service will be deployed as an XMBean with a security "
 "interceptor that supports role based access checks."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/Web_Services.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/Web_Services.po	2008-02-01 05:00:26 UTC (rev 69522)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/es-ES/Web_Services.po	2008-02-01 05:45:23 UTC (rev 69523)
@@ -1,18 +1,20 @@
+# translation of Web_Services.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 # Automatically generated, 2007.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Web_Services\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-03 01:15+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-02-01 15:44+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Web_Services.xml:6
@@ -59,6 +61,20 @@
 "                </operation>\n"
 "        </binding>]]>"
 msgstr ""
+"<![CDATA[\n"
+"<binding name='EndpointInterfaceBinding' type='tns:EndpointInterface'>\n"
+"        <soap:binding style='document' transport='http://schemas.xmlsoap.org/"
+"soap/http'/>\n"
+"                <operation name='concat'>\n"
+"                <soap:operation soapAction=''/>\n"
+"                        <input>\n"
+"                        <soap:body use='literal'/>\n"
+"                        </input>\n"
+"                        <output>\n"
+"                                <soap:body use='literal'/>\n"
+"                        </output>\n"
+"                </operation>\n"
+"        </binding>]]>"
 
 #. Tag: para
 #: Web_Services.xml:18
@@ -90,6 +106,23 @@
 "</message>\n"
 "                ]]>"
 msgstr ""
+"<![CDATA[\n"
+"<complexType name='concatType'>\n"
+"        <sequence>\n"
+"                <element name='String_1' nillable='true' type='string'/>\n"
+"                <element name='long_1' type='long'/>\n"
+"        </sequence>\n"
+"        </complexType>\n"
+"        <element name='concat' type='tns:concatType'/>\n"
+"        Therefore, message parts must refer to an element from the schema. \n"
+"        <message name='EndpointInterface_concat'>\n"
+"                <part name='parameters' element='tns:concat'/>\n"
+"        </message>\n"
+"The following message definition is invalid. \n"
+"<message name='EndpointInterface_concat'>\n"
+"        <part name='parameters' type='tns:concatType'/>\n"
+"</message>\n"
+"                ]]>"
 
 #. Tag: title
 #: Web_Services.xml:27
@@ -124,6 +157,18 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService\n"
+"@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n"
+"public class DocBareServiceImpl\n"
+"{\n"
+"@WebMethod\n"
+"public SubmitBareResponse submitPO(SubmitBareRequest poRequest)\n"
+"{\n"
+"                        ...\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:34
@@ -153,6 +198,21 @@
 "                        ...\n"
 "}]]>"
 msgstr ""
+"<![CDATA[\n"
+"        @XmlAccessorType(XmlAccessType.FIELD)\n"
+"        @XmlType(name = \"SubmitBareRequest\", namespace=\"http://"
+"soapbinding.samples.jaxws.ws.test.jboss.org/\", propOrder = { \"product"
+"\" })\n"
+"        @XmlRootElement(namespace=\"http://soapbinding.samples.jaxws.ws.test."
+"jboss.org/\", name = \"SubmitPO\")\n"
+"        public class SubmitBareRequest\n"
+"        {\n"
+"        @XmlElement(namespace=\"http://soapbinding.samples.jaxws.ws.test."
+"jboss.org/\",  required = true)\n"
+"        private String product;\n"
+"                        \n"
+"                        ...\n"
+"}]]>"
 
 #. Tag: title
 #: Web_Services.xml:40
@@ -225,6 +285,22 @@
 "         </operation>\n"
 " </binding>]]>"
 msgstr ""
+"<![CDATA[\n"
+" <binding name='EndpointInterfaceBinding' type='tns:EndpointInterface'>\n"
+"         <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/"
+"soap/http'/>\n"
+"         <operation name='echo'>\n"
+"                 <soap:operation soapAction=''/>\n"
+"                 <input>\n"
+"                         <soap:body namespace='http://org.jboss.ws/samples/"
+"jsr181pojo' use='literal'/>\n"
+"                 </input>\n"
+"                 <output>\n"
+"                         <soap:body namespace='http://org.jboss.ws/samples/"
+"jsr181pojo' use='literal'/>\n"
+"                 </output>\n"
+"         </operation>\n"
+" </binding>]]>"
 
 #. Tag: para
 #: Web_Services.xml:72
@@ -262,6 +338,37 @@
 "be defined using the JAX-WS Annotations#javax.jws.WebParam and JAX-WS "
 "Annotations#javax.jws.WebResult respectively."
 msgstr ""
+"With rpc style web services the portType names the operation (i.e. the java "
+"method on the endpoint) <programlisting>\n"
+"<![CDATA[ <portType name='EndpointInterface'>\n"
+"                 <operation name='echo' parameterOrder='String_1'>\n"
+"                 <input message='tns:EndpointInterface_echo'/>\n"
+"                         <output message='tns:"
+"EndpointInterface_echoResponse'/>\n"
+"                 </operation>\n"
+" </portType> ]]></programlisting> Operation parameters are defined by "
+"individual message parts. <programlisting><![CDATA[\n"
+" <message name='EndpointInterface_echo'>\n"
+"         <part name='String_1' type='xsd:string'/>\n"
+" </message>\n"
+" <message name='EndpointInterface_echoResponse'>\n"
+"         <part name='result' type='xsd:string'/>\n"
+" </message>]]></programlisting> Note, there is no complex type in XML schema "
+"that could validate the entire SOAP message payload. <programlisting>\n"
+"<![CDATA[\n"
+" @WebService\n"
+" @SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+" public class JSEBean01\n"
+" {\n"
+" @WebMethod\n"
+" @WebResult(name=\"result\")\n"
+" public String echo(@WebParam(name=\"String_1\") String input)\n"
+" {\n"
+" ...\n"
+" }\n"
+"} ]]></programlisting> The element names of RPC parameters/return values may "
+"be defined using the JAX-WS Annotations#javax.jws.WebParam and JAX-WS "
+"Annotations#javax.jws.WebResult respectively."
 
 #. Tag: title
 #: Web_Services.xml:89
@@ -288,9 +395,9 @@
 
 #. Tag: para
 #: Web_Services.xml:97
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "element references"
-msgstr "Arquitectura del Servicio "
+msgstr ""
 
 #. Tag: para
 #: Web_Services.xml:102
@@ -344,6 +451,16 @@
 "    }\n"
 " } ]]>"
 msgstr ""
+"<![CDATA[@WebService\n"
+"@SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+"public class JSEBean01\n"
+"   {\n"
+"    @WebMethod\n"
+"    public String echo(String input)\n"
+"    {\n"
+"    ...\n"
+"    }\n"
+" } ]]>"
 
 #. Tag: title
 #: Web_Services.xml:128
@@ -374,6 +491,18 @@
 "                         </servlet-mapping>\n"
 "</web-app> ]]>"
 msgstr ""
+"<![CDATA[\n"
+"<web-app ...>\n"
+"         <servlet>\n"
+"         <servlet-name>TestService</servlet-name>\n"
+"         <servlet-class>org.jboss.test.ws.jaxws.samples.jsr181pojo."
+"JSEBean01</servlet-class>\n"
+"         </servlet>\n"
+"         <servlet-mapping>\n"
+"                 <servlet-name>TestService</servlet-name>\n"
+"                 <url-pattern>/*</url-pattern>\n"
+"                         </servlet-mapping>\n"
+"</web-app> ]]>"
 
 #. Tag: title
 #: Web_Services.xml:138
@@ -420,6 +549,9 @@
 "http://yourhost:8080/jbossws/services\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"http://yourhost:8080/jbossws/services\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:158 Web_Services.xml:178
@@ -468,6 +600,21 @@
 "  }\n"
 "  }]]>"
 msgstr ""
+"<![CDATA[\n"
+"  @Stateless\n"
+"  @Remote(EJB3RemoteInterface.class)\n"
+"  @RemoteBinding(jndiBinding = &quot;/ejb3/EJB3EndpointInterface&quot;)\n"
+"          \n"
+"  @WebService\n"
+"  @SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+"  public class EJB3Bean01 implements EJB3RemoteInterface\n"
+"  {\n"
+"  @WebMethod\n"
+"  public String echo(String input)\n"
+"  {\n"
+"  ...\n"
+"  }\n"
+"  }]]>"
 
 #. Tag: para
 #: Web_Services.xml:167
@@ -486,8 +633,7 @@
 #. Tag: para
 #: Web_Services.xml:171
 #, no-c-format
-msgid ""
-"A JSR-181 EJB service endpoint is packaged as an ordinary ejb deployment."
+msgid "A JSR-181 EJB service endpoint is packaged as an ordinary ejb deployment."
 msgstr ""
 
 #. Tag: programlisting
@@ -505,6 +651,16 @@
 "&lt;/fileset&gt;\n"
 "&lt;/jar&gt;]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;jar jarfile=&quot;${build.dir}/libs/jbossws-samples-jsr181ejb.jar&quot;"
+"&gt;\n"
+"&lt;fileset dir=&quot;${build.dir}/classes&quot;&gt;\n"
+"&lt;include name=&quot;org/jboss/test/ws/samples/jsr181ejb/EJB3Bean01."
+"class&quot;/&gt;\n"
+"&lt;include name=&quot;org/jboss/test/ws/samples/jsr181ejb/"
+"EJB3RemoteInterface.class&quot;/&gt;\n"
+"&lt;/fileset&gt;\n"
+"&lt;/jar&gt;]]>"
 
 #. Tag: emphasis
 #: Web_Services.xml:174
@@ -519,6 +675,8 @@
 "<![CDATA[\n"
 "  http://yourhost:8080/jbossws/services]]>"
 msgstr ""
+"<![CDATA[\n"
+"  http://yourhost:8080/jbossws/services]]>"
 
 #. Tag: title
 #: Web_Services.xml:181
@@ -570,6 +728,16 @@
 " }\n"
 "}]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebServiceProvider\n"
+"@ServiceMode(value = Service.Mode.PAYLOAD)\n"
+"public class ProviderBeanPayload implements Provider&lt;Source&gt;\n"
+"{\n"
+"public Source invoke(Source req)\n"
+"{\n"
+"// Access the entire request PAYLOAD and return the response PAYLOAD\n"
+" }\n"
+"}]]>"
 
 #. Tag: para
 #: Web_Services.xml:186
@@ -582,9 +750,9 @@
 
 #. Tag: title
 #: Web_Services.xml:189
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "WebServiceContext"
-msgstr "Servicios HTTP"
+msgstr "WebServiceContext"
 
 #. Tag: para
 #: Web_Services.xml:190
@@ -631,6 +799,35 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService\n"
+"public class EndpointJSE\n"
+"{\n"
+"@Resource\n"
+"WebServiceContext wsCtx;\n"
+" \n"
+"@WebMethod\n"
+"public String testGetMessageContext()\n"
+"{\n"
+"SOAPMessageContext jaxwsContext = (SOAPMessageContext)wsCtx.getMessageContext"
+"();\n"
+"return jaxwsContext != null ? &quot;pass&quot; : &quot;fail&quot;;\n"
+"}\n"
+"..\n"
+"@WebMethod\n"
+"public String testGetUserPrincipal()\n"
+"{\n"
+"Principal principal = wsCtx.getUserPrincipal();\n"
+"return principal.getName();\n"
+"}\n"
+"  \n"
+"@WebMethod\n"
+"public boolean testIsUserInRole(String role)\n"
+"{\n"
+"return wsCtx.isUserInRole(role);\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:194
@@ -640,9 +837,9 @@
 
 #. Tag: title
 #: Web_Services.xml:196
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Service"
-msgstr "Servicios HTTP"
+msgstr "Servicio"
 
 #. Tag: para
 #: Web_Services.xml:197
@@ -739,6 +936,27 @@
 "...\n"
 "}]]>"
 msgstr ""
+"<![CDATA[\n"
+"// Generated Service Class\n"
+"  \n"
+" @WebServiceClient(name=&quot;StockQuoteService&quot;, targetNamespace=&quot;"
+"http://example.com/stocks&quot;, wsdlLocation=&quot;http://example.com/"
+"stocks.wsdl&quot;)\n"
+"public class StockQuoteService extends javax.xml.ws.Service \n"
+"{\n"
+"public StockQuoteService() \n"
+"{\n"
+"super(new URL(&quot;http://example.com/stocks.wsdl&quot;), new QName(&quot;"
+"http://example.com/stocks&quot;, &quot;StockQuoteService&quot;));\n"
+"}\n"
+"  \n"
+"public StockQuoteService(String wsdlLocation, QName serviceName) \n"
+"{\n"
+"super(wsdlLocation, serviceName);\n"
+"}\n"
+"  \n"
+"...\n"
+"}]]>"
 
 #. Tag: para
 #: Web_Services.xml:209
@@ -777,6 +995,11 @@
 "MyService&quot;);\n"
 "Service service = Service.create(wsdlLocation, serviceName);]]>"
 msgstr ""
+"<![CDATA[\n"
+"URL wsdlLocation = new URL(&quot;http://example.org/my.wsdl&quot;);\n"
+"QName serviceName = new QName(&quot;http://example.org/sample&quot;, &quot;"
+"MyService&quot;);\n"
+"Service service = Service.create(wsdlLocation, serviceName);]]>"
 
 #. Tag: para
 #: Web_Services.xml:216
@@ -882,6 +1105,34 @@
 " ...\n"
 "  }]]>"
 msgstr ""
+"<![CDATA[\n"
+" /** \n"
+" * The getPort method returns a proxy. A service client\n"
+" * uses this proxy to invoke operations on the target\n"
+" * service endpoint. The &lt;code&gt;serviceEndpointInterface&lt;/code&gt;\n"
+" * specifies the service endpoint interface that is supported by\n"
+" * the created dynamic proxy instance.\n"
+" **/\n"
+" public &lt;T&gt; T getPort(QName portName, Class&lt;T&gt; "
+"serviceEndpointInterface)\n"
+" {\n"
+"  ...\n"
+"  }\n"
+"  \n"
+"  /** \n"
+" * The getPort method returns a proxy. The parameter\n"
+" * &lt;code&gt;serviceEndpointInterface&lt;/code&gt; specifies the service\n"
+" * endpoint interface that is supported by the returned proxy.\n"
+" * In the implementation of this method, the JAX-WS\n"
+" * runtime system takes the responsibility of selecting a protocol\n"
+" * binding (and a port) and configuring the proxy accordingly.\n"
+" * The returned proxy should not be reconfigured by the client.\n"
+" *\n"
+" **/\n"
+" public &lt;T&gt; T getPort(Class&lt;T&gt; serviceEndpointInterface)\n"
+" {\n"
+" ...\n"
+"  }]]>"
 
 #. Tag: para
 #: Web_Services.xml:234
@@ -930,12 +1181,34 @@
 "  }\n"
 "  ]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebServiceClient(name = &quot;TestEndpointService&quot;, targetNamespace = "
+"&quot;http://org.jboss.ws/wsref&quot;, \n"
+"  wsdlLocation = &quot;http://localhost.localdomain:8080/jaxws-samples-"
+"webserviceref?wsdl&quot;)\n"
+"  \n"
+"        public class TestEndpointService extends Service\n"
+"        {\n"
+"        ...\n"
+"          \n"
+"        public TestEndpointService(URL wsdlLocation, QName serviceName) {\n"
+"        super(wsdlLocation, serviceName);\n"
+"        }\n"
+"          \n"
+"        @WebEndpoint(name = &quot;TestEndpointPort&quot;)\n"
+"        public TestEndpoint getTestEndpointPort() \n"
+"        {\n"
+"        return (TestEndpoint)super.getPort(TESTENDPOINTPORT, TestEndpoint."
+"class);\n"
+"        }\n"
+"  }\n"
+"  ]]>"
 
 #. Tag: title
 #: Web_Services.xml:239
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "WebServiceRef"
-msgstr "Servicios HTTP"
+msgstr "WebServiceRef"
 
 #. Tag: para
 #: Web_Services.xml:240
@@ -992,6 +1265,15 @@
 " public TestEndpoint port3;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"public class EJB3Client implements EJB3Remote\n"
+"{\n"
+" @WebServiceRef\n"
+" public TestEndpointService service4;\n"
+"   \n"
+" @WebServiceRef\n"
+" public TestEndpoint port3;\n"
+"]]>"
 
 #. Tag: emphasis
 #: Web_Services.xml:252
@@ -1029,7 +1311,7 @@
 #: Web_Services.xml:266
 #, no-c-format
 msgid "Example:"
-msgstr ""
+msgstr "Ejemplo:"
 
 #. Tag: programlisting
 #: Web_Services.xml:267
@@ -1073,6 +1355,43 @@
 "&lt;/service-ref&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;service-ref&gt;\n"
+"&lt;service-ref-name&gt;OrganizationService&lt;/service-ref-name&gt;\n"
+"&lt;wsdl-override&gt;file:/wsdlRepository/organization-service.wsdl&lt;/wsdl-"
+"override&gt;\n"
+"&lt;/service-ref&gt;\n"
+".. \n"
+"&lt;service-ref&gt;\n"
+"&lt;service-ref-name&gt;OrganizationService&lt;/service-ref-name&gt;\n"
+"&lt;config-name&gt;Secure Client Config&lt;/config-name&gt;\n"
+"&lt;config-file&gt;META-INF/jbossws-client-config.xml&lt;/config-file&gt;\n"
+"&lt;handler-chain&gt;META-INF/jbossws-client-handlers.xml&lt;/handler-"
+"chain&gt;\n"
+"&lt;/service-ref&gt;\n"
+"  \n"
+"&lt;service-ref&gt;\n"
+"&lt;service-ref-name&gt;SecureService&lt;/service-ref-name&gt;\n"
+"&lt;service-class-name&gt;org.jboss.tests.ws.jaxws.webserviceref."
+"SecureEndpointService&lt;/service-class-name&gt;\n"
+"&lt;service-qname&gt;{http://org.jboss.ws/wsref}SecureEndpointService&lt;/"
+"service-qname&gt;\n"
+"&lt;port-info&gt;\n"
+"&lt;service-endpoint-interface&gt;org.jboss.tests.ws.jaxws.webserviceref."
+"SecureEndpoint&lt;/service-endpoint-interface&gt;\n"
+"&lt;port-qname&gt;{http://org.jboss.ws/wsref}SecureEndpointPort&lt;/port-"
+"qname&gt;\n"
+"&lt;stub-property&gt;\n"
+"&lt;name&gt;javax.xml.ws.security.auth.username&lt;/name&gt;\n"
+"&lt;value&gt;kermit&lt;/value&gt;\n"
+"&lt;/stub-property&gt;\n"
+"&lt;stub-property&gt;\n"
+"&lt;name&gt;javax.xml.ws.security.auth.password&lt;/name&gt;\n"
+"&lt;value&gt;thefrog&lt;/value&gt;\n"
+"&lt;/stub-property&gt;\n"
+"&lt;/port-info&gt;\n"
+"&lt;/service-ref&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:268
@@ -1158,6 +1477,20 @@
 "(payload)));\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"Service service = Service.create(wsdlURL, serviceName);\n"
+"Dispatch dispatch = service.createDispatch(portName, StreamSource.class, "
+"Mode.PAYLOAD);\n"
+"  \n"
+"String payload = &quot;&lt;ns1:ping xmlns:ns1=&apos;http://oneway.samples."
+"jaxws.ws.test.jboss.org/&apos;/&gt;&quot;;\n"
+"dispatch.invokeOneWay(new StreamSource(new StringReader(payload)));\n"
+"  \n"
+"payload = &quot;&lt;ns1:feedback xmlns:ns1=&apos;http://oneway.samples.jaxws."
+"ws.test.jboss.org/&apos;/&gt;&quot;;\n"
+"Source retObj = (Source)dispatch.invoke(new StreamSource(new StringReader"
+"(payload)));\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:280
@@ -1206,6 +1539,22 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"public void testInvokeAsync() throws Exception\n"
+"{\n"
+"URL wsdlURL = new URL(&quot;http://&quot; + getServerHost() + &quot;:8080/"
+"jaxws-samples-asynchronous?wsdl&quot;);\n"
+"QName serviceName = new QName(targetNS, &quot;TestEndpointService&quot;);\n"
+"Service service = Service.create(wsdlURL, serviceName);\n"
+"TestEndpoint port = service.getPort(TestEndpoint.class);\n"
+"  \n"
+"Response response = port.echoAsync(&quot;Async&quot;);\n"
+"  \n"
+"// access future\n"
+"String retStr = (String) response.get();\n"
+"assertEquals(&quot;Async&quot;, retStr);\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:297
@@ -1250,6 +1599,29 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService (name=&quot;PingEndpoint&quot;)\n"
+"@SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+"public class PingEndpointImpl\n"
+"{\n"
+" private static String feedback;\n"
+".. \n"
+"@WebMethod\n"
+"@Oneway\n"
+"public void ping()\n"
+"{\n"
+"log.info(&quot;ping&quot;);\n"
+"feedback = &quot;ok&quot;;\n"
+"}\n"
+".. \n"
+"@WebMethod\n"
+"public String feedback()\n"
+"{\n"
+"log.info(&quot;feedback&quot;);\n"
+"return feedback;\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:303
@@ -1367,6 +1739,14 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService\n"
+"@HandlerChain(file = &quot;jaxws-server-source-handlers.xml&quot;)\n"
+"public class SOAPEndpointSourceImpl\n"
+"{\n"
+"...\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:333
@@ -1421,6 +1801,17 @@
 "bindingProvider.getBinding().setHandlerChain(handlerChain); // important!\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"Service service = Service.create(wsdlURL, serviceName);\n"
+"Endpoint port = (Endpoint)service.getPort(Endpoint.class);\n"
+"  \n"
+"BindingProvider bindingProvider = (BindingProvider)port;\n"
+"List&lt;Handler&gt; handlerChain = new ArrayList&lt;Handler&gt;();\n"
+"handlerChain.add(new LogHandler());\n"
+"handlerChain.add(new AuthorizationHandler());\n"
+"handlerChain.add(new RoutingHandler());\n"
+"bindingProvider.getBinding().setHandlerChain(handlerChain); // important!\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:344
@@ -1478,6 +1869,11 @@
 "msgContext.setProperty(&lt;Name&gt;, &lt;Value&gt;);\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"CommonMessageContext msgContext = MessageContextAssociation."
+"peekMessageContext(); \n"
+"msgContext.setProperty(&lt;Name&gt;, &lt;Value&gt;);\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:353
@@ -1543,6 +1939,17 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"public void throwSoapFaultException()\n"
+"{\n"
+"SOAPFactory factory = SOAPFactory.newInstance();\n"
+"SOAPFault fault = factory.createFault(&quot;this is a fault string!&quot;, "
+"new QName(&quot;http://foo&quot;, &quot;FooCode&quot;));\n"
+"fault.setFaultActor(&quot;mr.actor&quot;);\n"
+"fault.addDetail().addChildElement(&quot;test&quot;);\n"
+"throw new SOAPFaultException(fault);\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:365
@@ -1562,6 +1969,13 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"public void throwApplicationException() throws UserException\n"
+"{\n"
+"throw new UserException(&quot;validation&quot;, 123, &quot;Some validation "
+"error&quot;);\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:368 Web_Services.xml:460 Web_Services.xml:484
@@ -1634,7 +2048,7 @@
 #: Web_Services.xml:385
 #, no-c-format
 msgid "http://anonsvn.jboss.org/repos/jbossws/projects/jaxbintros/"
-msgstr ""
+msgstr "http://anonsvn.jboss.org/repos/jbossws/projects/jaxbintros/"
 
 #. Tag: para
 #: Web_Services.xml:389
@@ -1658,7 +2072,7 @@
 #: Web_Services.xml:402
 #, no-c-format
 msgid "MTOM/XOP"
-msgstr ""
+msgstr "MTOM/XOP"
 
 #. Tag: para
 #: Web_Services.xml:403
@@ -1698,37 +2112,37 @@
 #: Web_Services.xml:428
 #, no-c-format
 msgid "java.awt.Image"
-msgstr ""
+msgstr "java.awt.Image"
 
 #. Tag: para
 #: Web_Services.xml:433
 #, no-c-format
 msgid "text/xml"
-msgstr ""
+msgstr "text/xml"
 
 #. Tag: para
 #: Web_Services.xml:436 Web_Services.xml:444
 #, no-c-format
 msgid "javax.xml.transform.Source"
-msgstr ""
+msgstr "javax.xml.transform.Source"
 
 #. Tag: para
 #: Web_Services.xml:441
 #, no-c-format
 msgid "application/xml"
-msgstr ""
+msgstr "application/xml"
 
 #. Tag: para
 #: Web_Services.xml:449
 #, no-c-format
 msgid "application/octet-stream"
-msgstr ""
+msgstr "application/octet-stream"
 
 #. Tag: para
 #: Web_Services.xml:452
 #, no-c-format
 msgid "javax.activation.DataHandler"
-msgstr ""
+msgstr "javax.activation.DataHandler"
 
 #. Tag: para
 #: Web_Services.xml:458
@@ -1794,6 +2208,25 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"package org.jboss.test.ws.jaxws.samples.xop.doclit;\n"
+"  \n"
+"import javax.ejb.Remote;\n"
+"import javax.jws.WebService;\n"
+"import javax.jws.soap.SOAPBinding;\n"
+"import javax.xml.ws.BindingType;\n"
+"  \n"
+"@Remote\n"
+"@WebService(targetNamespace = &quot;http://org.jboss.ws/xop/doclit&quot;)\n"
+"@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = "
+"SOAPBinding.ParameterStyle.BARE)\n"
+"@BindingType(value=&quot;http://schemas.xmlsoap.org/wsdl/soap/http?"
+"mtom=true&quot;)                         (1)\n"
+"public interface MTOMEndpoint {\n"
+"  \n"
+"[...]\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:475
@@ -1830,6 +2263,15 @@
 "binding.setMTOMEnabled(true);\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"[...]\n"
+"Service service = Service.create(wsdlURL, serviceName);\n"
+"port = service.getPort(MTOMEndpoint.class);\n"
+"  \n"
+"// enable MTOM\n"
+"binding = (SOAPBinding)((BindingProvider)port).getBinding();\n"
+"binding.setMTOMEnabled(true);\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:486
@@ -1843,7 +2285,7 @@
 #: Web_Services.xml:492
 #, no-c-format
 msgid "SwaRef"
-msgstr ""
+msgstr "SwaRef"
 
 #. Tag: para
 #: Web_Services.xml:493
@@ -1918,6 +2360,37 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Payload bean that will use SwaRef encoding\n"
+"*/\n"
+"@XmlRootElement\n"
+"public class DocumentPayload\n"
+"{\n"
+"private DataHandler data;\n"
+"  \n"
+"public DocumentPayload()\n"
+"{\n"
+"}\n"
+"  \n"
+"public DocumentPayload(DataHandler data)\n"
+"{\n"
+"this.data = data;\n"
+"}\n"
+"  \n"
+"@XmlElement\n"
+"@XmlAttachmentRef\n"
+"public DataHandler getData()\n"
+"{\n"
+"return data;\n"
+"}\n"
+"  \n"
+"public void setData(DataHandler data)\n"
+"{\n"
+"this.data = data;\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:499
@@ -1947,6 +2420,20 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService\n"
+"public interface DocWrappedEndpoint\n"
+"{\n"
+"@WebMethod\n"
+"DocumentPayload beanAnnotation(DocumentPayload dhw, String test);\n"
+"  \n"
+"@WebMethod\n"
+"@XmlAttachmentRef\n"
+"DataHandler parameterAnnotation(@XmlAttachmentRef DataHandler data, String "
+"test);\n"
+"  \n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:501
@@ -1972,6 +2459,19 @@
 "&lt;/env:Envelope&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;env:Envelope xmlns:env=&apos;http://schemas.xmlsoap.org/soap/envelope/"
+"&apos;&gt;\n"
+"&lt;env:Header/&gt;\n"
+"&lt;env:Body&gt;\n"
+"&lt;ns2:parameterAnnotation xmlns:ns2=&apos;http://swaref.samples.jaxws.ws."
+"test.jboss.org/&apos;&gt;\n"
+"&lt;arg0&gt;cid:0-1180017772935-32455963 at ws.jboss.org&lt;/arg0&gt;\n"
+"&lt;arg1&gt;Wrapped test&lt;/arg1&gt;\n"
+"&lt;/ns2:parameterAnnotation&gt;\n"
+"&lt;/env:Body&gt;\n"
+"&lt;/env:Envelope&gt;\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:505
@@ -1997,6 +2497,10 @@
 "xmlns:wsi=&quot;http://ws-i.org/profiles/basic/1.1/xsd&quot;/&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;element name=&quot;data&quot; type=&quot;wsi:swaRef&quot; \n"
+"xmlns:wsi=&quot;http://ws-i.org/profiles/basic/1.1/xsd&quot;/&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:508
@@ -2041,8 +2545,7 @@
 #. Tag: para
 #: Web_Services.xml:521
 #, no-c-format
-msgid ""
-"Providing a new service, and you want the contract to be generated for you"
+msgid "Providing a new service, and you want the contract to be generated for you"
 msgstr ""
 
 #. Tag: para
@@ -2085,19 +2588,19 @@
 #: Web_Services.xml:545
 #, no-c-format
 msgid "Command"
-msgstr ""
+msgstr "Comando"
 
 #. Tag: emphasis
 #: Web_Services.xml:550
 #, no-c-format
 msgid "Description"
-msgstr ""
+msgstr "Descripción"
 
 #. Tag: ulink
 #: Web_Services.xml:557
 #, no-c-format
 msgid "wsprovide"
-msgstr ""
+msgstr "wsprovide"
 
 #. Tag: para
 #: Web_Services.xml:561
@@ -2111,7 +2614,7 @@
 #: Web_Services.xml:567
 #, no-c-format
 msgid "wsconsume"
-msgstr ""
+msgstr "wsconsume"
 
 #. Tag: para
 #: Web_Services.xml:571
@@ -2126,7 +2629,7 @@
 #: Web_Services.xml:577
 #, no-c-format
 msgid "wsrunclient"
-msgstr ""
+msgstr "wsrunclient"
 
 #. Tag: para
 #: Web_Services.xml:581
@@ -2175,6 +2678,18 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"package echo;\n"
+"  \n"
+"@javax.jws.WebService\n"
+"public class Echo\n"
+"{\n"
+"public String echo(String input)\n"
+"{\n"
+"return input;\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:592
@@ -2218,6 +2733,15 @@
 "echo/jaxws/EchoResponse.class\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"$ javac -d . -classpath jboss-jaxws.jar Echo.java\n"
+"$ wsprovide -w echo.Echo\n"
+"Generating WSDL:\n"
+"EchoService.wsdl\n"
+"Writing Classes:\n"
+"echo/jaxws/Echo.class\n"
+"echo/jaxws/EchoResponse.class\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:595
@@ -2237,6 +2761,13 @@
 "&lt;/service&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;service name=&apos;EchoService&apos;&gt;\n"
+"&lt;port binding=&apos;tns:EchoBinding&apos; name=&apos;EchoPort&apos;&gt;\n"
+"&lt;soap:address location=&apos;REPLACE_WITH_ACTUAL_URL&apos;/&gt;\n"
+"&lt;/port&gt;\n"
+"&lt;/service&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:597
@@ -2257,6 +2788,14 @@
 "&lt;/portType&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;portType name=&apos;Echo&apos;&gt;\n"
+"&lt;operation name=&apos;echo&apos; parameterOrder=&apos;echo&apos;&gt;\n"
+"&lt;input message=&apos;tns:Echo_echo&apos;/&gt;\n"
+"&lt;output message=&apos;tns:Echo_echoResponse&apos;/&gt;\n"
+"&lt;/operation&gt;\n"
+"&lt;/portType&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:601
@@ -2277,7 +2816,7 @@
 
 #. Tag: programlisting
 #: Web_Services.xml:606
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<![CDATA[\n"
 "&lt;web-app xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;\n"
@@ -2298,16 +2837,24 @@
 "&lt;/web-app&gt;\n"
 "]]>"
 msgstr ""
-"&lt;?xml version=\"1.0\"?&gt; \n"
-"&lt;web-app  xmlns=\"http://java.sun.com/xml/ns/j2ee\"\n"
-"          xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n"
-"          xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee \n"
-"                              http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
-"\" \n"
-"          version=\"2.4\"&gt;\n"
-"    <emphasis role=\"bold\">&lt;distributable/&gt;</emphasis>\n"
-"    &lt;!-- ... --&gt;\n"
-"&lt;/web-app&gt;"
+"<![CDATA[\n"
+"&lt;web-app xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;\n"
+"xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;\n"
+"xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/"
+"xml/ns/j2ee/web-app_2_4.xsd&quot;\n"
+"version=&quot;2.4&quot;&gt;\n"
+"  \n"
+"&lt;servlet&gt;\n"
+"&lt;servlet-name&gt;Echo&lt;/servlet-name&gt;\n"
+"&lt;servlet-class&gt;echo.Echo&lt;/servlet-class&gt;\n"
+"&lt;/servlet&gt;\n"
+"  \n"
+"&lt;servlet-mapping&gt;\n"
+"&lt;servlet-name&gt;Echo&lt;/servlet-name&gt;\n"
+"&lt;url-pattern&gt;/Echo&lt;/url-pattern&gt;\n"
+"&lt;/servlet-mapping&gt;\n"
+"&lt;/web-app&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:607
@@ -2332,6 +2879,18 @@
 "adding: WEB-INF/web.xml(in = 576) (out= 271)(deflated 52%)\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"$ mkdir -p WEB-INF/classes\n"
+"$ cp -rp echo WEB-INF/classes/\n"
+"$ cp web.xml WEB-INF\n"
+"$ jar cvf echo.war WEB-INF\n"
+"added manifest\n"
+"adding: WEB-INF/(in = 0) (out= 0)(stored 0%)\n"
+"adding: WEB-INF/classes/(in = 0) (out= 0)(stored 0%)\n"
+"adding: WEB-INF/classes/echo/(in = 0) (out= 0)(stored 0%)\n"
+"adding: WEB-INF/classes/echo/Echo.class(in = 340) (out= 247)(deflated 27%)\n"
+"adding: WEB-INF/web.xml(in = 576) (out= 271)(deflated 52%)\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:609
@@ -2347,6 +2906,9 @@
 " cp echo.war /usr/local/jboss-4.2.0.GA-ejb3/server/default/deploy\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+" cp echo.war /usr/local/jboss-4.2.0.GA-ejb3/server/default/deploy\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:611
@@ -2422,6 +2984,22 @@
 "echo/package-info.java\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"  \n"
+"$ wsconsume -k EchoService.wsdl\n"
+"echo/Echo.java\n"
+"echo/EchoResponse.java\n"
+"echo/EchoService.java\n"
+"echo/Echo_Type.java\n"
+"echo/ObjectFactory.java\n"
+"echo/package-info.java\n"
+"echo/Echo.java\n"
+"echo/EchoResponse.java\n"
+"echo/EchoService.java\n"
+"echo/Echo_Type.java\n"
+"echo/ObjectFactory.java\n"
+"echo/package-info.java\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:624
@@ -2445,7 +3023,7 @@
 #: Web_Services.xml:644
 #, no-c-format
 msgid "Echo.java"
-msgstr ""
+msgstr "Echo.java"
 
 #. Tag: para
 #: Web_Services.xml:647
@@ -2457,7 +3035,7 @@
 #: Web_Services.xml:652
 #, no-c-format
 msgid "Echo_Type.java"
-msgstr ""
+msgstr "Echo_Type.java"
 
 #. Tag: para
 #: Web_Services.xml:655
@@ -2469,7 +3047,7 @@
 #: Web_Services.xml:660
 #, no-c-format
 msgid "EchoResponse.java"
-msgstr ""
+msgstr "EchoResponse.java"
 
 #. Tag: para
 #: Web_Services.xml:663
@@ -2481,7 +3059,7 @@
 #: Web_Services.xml:668
 #, no-c-format
 msgid "ObjectFactory.java"
-msgstr ""
+msgstr "ObjectFactory.java"
 
 #. Tag: para
 #: Web_Services.xml:671
@@ -2493,7 +3071,7 @@
 #: Web_Services.xml:676
 #, no-c-format
 msgid "package-info.java"
-msgstr ""
+msgstr "package-info.java"
 
 #. Tag: para
 #: Web_Services.xml:679
@@ -2505,7 +3083,7 @@
 #: Web_Services.xml:684
 #, no-c-format
 msgid "EchoService.java"
-msgstr ""
+msgstr "EchoService.java"
 
 #. Tag: para
 #: Web_Services.xml:687
@@ -2543,6 +3121,22 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService(name = &quot;Echo&quot;, targetNamespace = &quot;http://echo/"
+"&quot;)\n"
+"public interface Echo {\n"
+"@WebMethod\n"
+"@WebResult(targetNamespace = &quot;&quot;)\n"
+"@RequestWrapper(localName = &quot;echo&quot;, targetNamespace = &quot;http://"
+"echo/&quot;, className = &quot;echo.Echo_Type&quot;)\n"
+"@ResponseWrapper(localName = &quot;echoResponse&quot;, targetNamespace = "
+"&quot;http://echo/&quot;, className = &quot;echo.EchoResponse&quot;)\n"
+"public String echo(\n"
+"@WebParam(name = &quot;arg0&quot;, targetNamespace = &quot;&quot;)\n"
+"String arg0);\n"
+"  \n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:695
@@ -2569,6 +3163,18 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"package echo;\n"
+"  \n"
+"@javax.jws.WebService(endpointInterface=&quot;echo.Echo&quot;)\n"
+"public class EchoImpl implements Echo\n"
+"{\n"
+"public String echo(String arg0)\n"
+"{\n"
+"return arg0;\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:699
@@ -2637,6 +3243,14 @@
 "&lt;/service&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;service name=&quot;EchoService&quot;&gt;\n"
+"&lt;port binding=&quot;tns:EchoBinding&quot; name=&quot;EchoPort&quot;&gt;\n"
+"&lt;soap:address location=&quot;http://localhost.localdomain:8080/echo/"
+"Echo&quot;/&gt;\n"
+"&lt;/port&gt;\n"
+"&lt;/service&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:712
@@ -2666,6 +3280,21 @@
 "echo/package-info.java\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"$ wsconsume -k http://localhost:8080/echo/Echo?wsdl\n"
+"echo/Echo.java\n"
+"echo/EchoResponse.java\n"
+"echo/EchoService.java\n"
+"echo/Echo_Type.java\n"
+"echo/ObjectFactory.java\n"
+"echo/package-info.java\n"
+"echo/Echo.java\n"
+"echo/EchoResponse.java\n"
+"echo/EchoService.java\n"
+"echo/Echo_Type.java\n"
+"echo/ObjectFactory.java\n"
+"echo/package-info.java\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:714
@@ -2714,6 +3343,40 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebServiceClient(name = &quot;EchoService&quot;, targetNamespace = &quot;"
+"http://echo/&quot;, wsdlLocation = &quot;http://localhost:8080/echo/Echo?"
+"wsdl&quot;)\n"
+"public class EchoService extends Service\n"
+"{\n"
+"private final static URL ECHOSERVICE_WSDL_LOCATION;\n"
+"  \n"
+"static {\n"
+"URL url = null;\n"
+"try {\n"
+"url = new URL(&quot;http://localhost:8080/echo/Echo?wsdl&quot;);\n"
+"} catch (MalformedURLException e) {\n"
+"e.printStackTrace();\n"
+"}\n"
+"ECHOSERVICE_WSDL_LOCATION = url;\n"
+"}\n"
+"  \n"
+"public EchoService(URL wsdlLocation, QName serviceName) {\n"
+"super(wsdlLocation, serviceName);\n"
+"}\n"
+"  \n"
+"public EchoService() {\n"
+"super(ECHOSERVICE_WSDL_LOCATION, new QName(&quot;http://echo/&quot;, &quot;"
+"EchoService&quot;));\n"
+"}\n"
+"  \n"
+"@WebEndpoint(name = &quot;EchoPort&quot;)\n"
+"public Echo getEchoPort() {\n"
+"return (Echo)super.getPort(new QName(&quot;http://echo/&quot;, &quot;"
+"EchoPort&quot;), Echo.class);\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:716
@@ -2767,6 +3430,25 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"import echo.*;\n"
+"..\n"
+"public class EchoClient\n"
+"{\n"
+"public static void main(String args[])\n"
+"{\n"
+"if (args.length != 1)\n"
+"{\n"
+"System.err.println(&quot;usage: EchoClient &lt;message&gt;&quot;);\n"
+"System.exit(1);\n"
+"}\n"
+"  \n"
+"EchoService service = new EchoService();\n"
+"Echo echo = service.getEchoPort();\n"
+"System.out.println(&quot;Server said: &quot; + echo.echo(args[0]));\n"
+"} \n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:726
@@ -2786,6 +3468,10 @@
 "Server said: Hello World!\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"$ wsrunclient EchoClient &apos;Hello World!&apos;\n"
+"Server said: Hello World!\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:728
@@ -2814,6 +3500,20 @@
 "...\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"...\n"
+"EchoService service = new EchoService();\n"
+"Echo echo = service.getEchoPort();\n"
+"  \n"
+"/* Set NEW Endpoint Location */\n"
+"String endpointURL = &quot;http://NEW_ENDPOINT_URL&quot;;\n"
+"BindingProvider bp = (BindingProvider)echo;\n"
+"bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "
+"endpointURL);\n"
+"  \n"
+"System.out.println(&quot;Server said: &quot; + echo.echo(args[0]));\n"
+"...\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:732
@@ -2855,7 +3555,7 @@
 #: Web_Services.xml:757
 #, no-c-format
 msgid "http://java.sun.com/webservices/docs/2.0/jaxws/customizations.html"
-msgstr ""
+msgstr "http://java.sun.com/webservices/docs/2.0/jaxws/customizations.html"
 
 #. Tag: para
 #: Web_Services.xml:761
@@ -2959,6 +3659,29 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService(name = &quot;StatefulEndpoint&quot;, targetNamespace = &quot;"
+"http://org.jboss.ws/samples/wsaddressing&quot;, serviceName = &quot;"
+"TestService&quot;)\n"
+"@EndpointConfig(configName = &quot;Standard WSAddressing Endpoint&quot;)\n"
+"@HandlerChain(file = &quot;WEB-INF/jaxws-handlers.xml&quot;)\n"
+"@SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+"public class StatefulEndpointImpl implements StatefulEndpoint, "
+"ServiceLifecycle\n"
+"{\n"
+"@WebMethod\n"
+"public void addItem(String item)\n"
+"{ ... }\n"
+"  \n"
+"@WebMethod\n"
+"public void checkout()\n"
+"{ ... }\n"
+"  \n"
+"@WebMethod\n"
+"public String getItems()\n"
+"{ ... }\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:796
@@ -2999,6 +3722,23 @@
 "&lt;/handler-chains&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;handler-chains xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; xmlns:"
+"xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;\n"
+"xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee "
+"javaee_web_services_1_2.xsd&quot;&gt;\n"
+"  \n"
+"&lt;handler-chain&gt;\n"
+"&lt;protocol-bindings&gt;##SOAP11_HTTP&lt;/protocol-bindings&gt;\n"
+"&lt;handler&gt;\n"
+"&lt;handler-name&gt;Application Server Handler&lt;/handler-name&gt;\n"
+"&lt;handler-class&gt;org.jboss.test.ws.jaxws.samples.wsaddressing."
+"ServerHandler&lt;/handler-class&gt;\n"
+"&lt;/handler&gt;\n"
+"&lt;/handler-chain&gt;\n"
+"  \n"
+"&lt;/handler-chains&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:799
@@ -3044,6 +3784,16 @@
 "bindingProvider.getBinding().setHandlerChain(customHandlerChain);\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"Service service = Service.create(wsdlURL, serviceName);\n"
+"port1 = (StatefulEndpoint)service.getPort(StatefulEndpoint.class);\n"
+"BindingProvider bindingProvider = (BindingProvider)port1;\n"
+"  \n"
+"List&lt;Handler&gt; customHandlerChain = new ArrayList&lt;Handler&gt;();\n"
+"customHandlerChain.add(new ClientHandler());\n"
+"customHandlerChain.add(new WSAddressingClientHandler());\n"
+"bindingProvider.getBinding().setHandlerChain(customHandlerChain);\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:807
@@ -3086,6 +3836,28 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"public class AddressingStatefulTestCase extends JBossWSTest\n"
+"{\n"
+"public void testAddItem() throws Exception\n"
+"{\n"
+"port1.addItem(&quot;Ice Cream&quot;);\n"
+"port1.addItem(&quot;Ferrari&quot;);\n"
+"  \n"
+"port2.addItem(&quot;Mars Bar&quot;);\n"
+"port2.addItem(&quot;Porsche&quot;);\n"
+"}\n"
+"  \n"
+"public void testGetItems() throws Exception\n"
+"{\n"
+"String items1 = port1.getItems();\n"
+"assertEquals(&quot;[Ice Cream, Ferrari]&quot;, items1);\n"
+"  \n"
+"String items2 = port2.getItems();\n"
+"assertEquals(&quot;[Mars Bar, Porsche]&quot;, items2);\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: emphasis
 #: Web_Services.xml:813 Web_Services.xml:1072
@@ -3179,12 +3951,87 @@
 "&lt;/env:Envelope&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;env:Envelope xmlns:env=&apos;http://schemas.xmlsoap.org/soap/envelope/"
+"&apos;&gt;\n"
+"&lt;env:Header xmlns:wsa=&apos;http://schemas.xmlsoap.org/ws/2004/08/"
+"addressing&apos;&gt;\n"
+"&lt;wsa:To&gt;uri:jbossws-samples-wsaddr/TestService&lt;/wsa:To&gt;\n"
+"&lt;wsa:Action&gt;http://org.jboss.ws/addressing/stateful/action&lt;/wsa:"
+"Action&gt;\n"
+"&lt;wsa:ReferenceParameters&gt;\n"
+"&lt;ns1:clientid xmlns:ns1=&apos;http://somens&apos;&gt;clientid-1&lt;/ns1:"
+"clientid&gt;\n"
+"&lt;/wsa:ReferenceParameters&gt;\n"
+"&lt;/env:Header&gt;\n"
+"&lt;env:Body&gt;\n"
+"&lt;ns1:addItem xmlns:ns1=&apos;http://org.jboss.ws/samples/wsaddr&apos;"
+"&gt;\n"
+"&lt;String_1&gt;Ice Cream&lt;/String_1&gt;\n"
+"&lt;/ns1:addItem&gt;\n"
+"&lt;/env:Body&gt;\n"
+"&lt;/env:Envelope&gt;\n"
+"  \n"
+"&lt;env:Envelope xmlns:env=&apos;http://schemas.xmlsoap.org/soap/envelope/"
+"&apos;&gt;\n"
+"&lt;env:Header xmlns:wsa=&apos;http://schemas.xmlsoap.org/ws/2004/08/"
+"addressing&apos;&gt;\n"
+"&lt;wsa:To&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/wsa:To&gt;\n"
+"&lt;wsa:Action&gt;http://org.jboss.ws/addressing/stateful/actionReply&lt;/"
+"wsa:Action&gt;\n"
+"&lt;ns1:clientid xmlns:ns1=&apos;http://somens&apos;&gt;clientid-1&lt;/ns1:"
+"clientid&gt;\n"
+"&lt;/env:Header&gt;\n"
+"&lt;env:Body&gt;\n"
+"&lt;ns1:addItemResponse xmlns:ns1=&apos;http://org.jboss.ws/samples/"
+"wsaddr&apos;/&gt;\n"
+"&lt;/env:Body&gt;\n"
+"&lt;/env:Envelope&gt;\n"
+"  \n"
+"...\n"
+"  \n"
+"&lt;env:Envelope xmlns:env=&apos;http://schemas.xmlsoap.org/soap/envelope/"
+"&apos;&gt;\n"
+"&lt;env:Header xmlns:wsa=&apos;http://schemas.xmlsoap.org/ws/2004/08/"
+"addressing&apos;&gt;\n"
+"&lt;wsa:To&gt;uri:jbossws-samples-wsaddr/TestService&lt;/wsa:To&gt;\n"
+"&lt;wsa:Action&gt;http://org.jboss.ws/addressing/stateful/action&lt;/wsa:"
+"Action&gt;\n"
+"&lt;wsa:ReferenceParameters&gt;\n"
+"&lt;ns1:clientid xmlns:ns1=&apos;http://somens&apos;&gt;clientid-1&lt;/ns1:"
+"clientid&gt;\n"
+"&lt;/wsa:ReferenceParameters&gt;\n"
+"&lt;/env:Header&gt;\n"
+"&lt;env:Body&gt;\n"
+"&lt;ns1:getItems xmlns:ns1=&apos;http://org.jboss.ws/samples/wsaddr&apos;/"
+"&gt;\n"
+"&lt;/env:Body&gt;\n"
+"&lt;/env:Envelope&gt;\n"
+"  \n"
+"&lt;env:Envelope xmlns:env=&apos;http://schemas.xmlsoap.org/soap/envelope/"
+"&apos;&gt;\n"
+"&lt;env:Header xmlns:wsa=&apos;http://schemas.xmlsoap.org/ws/2004/08/"
+"addressing&apos;&gt;\n"
+"&lt;wsa:To&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/wsa:To&gt;\n"
+"&lt;wsa:Action&gt;http://org.jboss.ws/addressing/stateful/actionReply&lt;/"
+"wsa:Action&gt;\n"
+"&lt;ns1:clientid xmlns:ns1=&apos;http://somens&apos;&gt;clientid-1&lt;/ns1:"
+"clientid&gt;\n"
+"&lt;/env:Header&gt;\n"
+"&lt;env:Body&gt;\n"
+"&lt;ns1:getItemsResponse xmlns:ns1=&apos;http://org.jboss.ws/samples/"
+"wsaddr&apos;&gt;\n"
+"&lt;result&gt;[Ice Cream, Ferrari]&lt;/result&gt;\n"
+"&lt;/ns1:getItemsResponse&gt;\n"
+"&lt;/env:Body&gt;\n"
+"&lt;/env:Envelope&gt;\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:820
 #, no-c-format
 msgid "WS-BPEL"
-msgstr ""
+msgstr "WS-BPEL"
 
 #. Tag: para
 #: Web_Services.xml:821
@@ -3213,8 +4060,7 @@
 #. Tag: para
 #: Web_Services.xml:828
 #, no-c-format
-msgid ""
-"WS-Eventing is defined by the combination of the following specifications:"
+msgid "WS-Eventing is defined by the combination of the following specifications:"
 msgstr ""
 
 #. Tag: ulink
@@ -3307,9 +4153,9 @@
 
 #. Tag: para
 #: Web_Services.xml:876
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The relevant steps are:"
-msgstr "Los atributos configurables son los siguientes:"
+msgstr "Los pasos relevantes son los siguientes:"
 
 #. Tag: para
 #: Web_Services.xml:879
@@ -3390,6 +4236,44 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"package org.jboss.test.ws.jaxws.samples.wseventing;\n"
+"..\n"
+"import javax.jws.WebService;\n"
+"\n"
+"import org.jboss.logging.Logger;\n"
+"import org.jboss.ws.annotation.EndpointConfig;\n"
+"import org.jboss.ws.extensions.eventing.jaxws.AbstractEventSourceEndpoint;\n"
+"  \n"
+"/**\n"
+"* @author Heiko.Braun at jboss.org\n"
+"* @version $Id$\n"
+"* @since 18.01.2007\n"
+"*/\n"
+"@WebService"
+"(                                                                   (1)\n"
+"name = &quot;EventSource&quot;,\n"
+"portName = &quot;EventSourcePort&quot;,\n"
+"targetNamespace = &quot;http://schemas.xmlsoap.org/ws/2004/08/"
+"eventing&quot;,\n"
+"wsdlLocation = &quot;/WEB-INF/wsdl/sysmon."
+"wsdl&quot;,                                 (2)\n"
+"endpointInterface = &quot;org.jboss.ws.extensions.eventing.jaxws."
+"EventSourceEndpoint&quot;)\n"
+"@EndpointConfig(configName = &quot;Standard WSAddressing "
+"Endpoint&quot;)                 (3)\n"
+"public class SysmonRegistrationEndpoint extends AbstractEventSourceEndpoint "
+"{  (4)\n"
+"  \n"
+"private static final Logger log = Logger.getLogger"
+"(SysmonRegistrationEndpoint.class);\n"
+"  \n"
+"protected Logger getLogger()\n"
+"{\n"
+"return log;\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:892
@@ -3406,8 +4290,7 @@
 #. Tag: para
 #: Web_Services.xml:898
 #, no-c-format
-msgid ""
-"You need to tell JBossWS that it requires WS-Addressing for this endpoint"
+msgid "You need to tell JBossWS that it requires WS-Addressing for this endpoint"
 msgstr ""
 
 #. Tag: para
@@ -3516,6 +4399,77 @@
 "&lt;/wsdl:definitions&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n"
+"  \n"
+"&lt;wsdl:definitions\n"
+"targetNamespace=&quot;http://www.jboss.org/sysmon&quot;\n"
+"xmlns:tns=&quot;http://www.jboss.org/sysmon&quot;\n"
+"xmlns:wse=&apos;http://schemas.xmlsoap.org/ws/2004/08/eventing&apos;\n"
+"xmlns:wsdl=&apos;http://schemas.xmlsoap.org/wsdl/&apos;\n"
+"xmlns:wsa10=&apos;http://www.w3.org/2005/08/addressing&apos;\n"
+"xmlns:xs=&apos;http://www.w3.org/2001/XMLSchema&apos;\n"
+"xmlns:soap=&quot;http://schemas.xmlsoap.org/wsdl/soap/&quot;&gt;\n"
+"  \n"
+"&lt;wsdl:import\n"
+"(1)        namespace=&apos;http://schemas.xmlsoap.org/ws/2004/08/"
+"eventing&apos;\n"
+"location=&apos;jbwse.wsdl&apos; /&gt;\n"
+"  \n"
+"&lt;wsdl:types&gt;\n"
+"  \n"
+"&lt;xs:schema targetNamespace=&apos;http://schemas.xmlsoap.org/ws/2004/08/"
+"eventing&apos;&gt;\n"
+"(2)      &lt;xs:include schemaLocation=&apos;jbwse.xsd&apos;/&gt;\n"
+"&lt;/xs:schema&gt;\n"
+"  \n"
+"(3)   &lt;xs:schema\n"
+"targetNamespace=&quot;http://www.jboss.org/sysmon&quot;\n"
+"elementFormDefault=&quot;qualified&quot;\n"
+"blockDefault=&quot;#all&quot;&gt;\n"
+"&lt;xs:element name=&quot;SystemStatus&quot;&gt;\n"
+"&lt;xs:complexType&gt;\n"
+"&lt;xs:sequence&gt;\n"
+"&lt;xs:element name=&quot;Time &quot; type=&quot;xs:dateTime&quot;/&gt;\n"
+"&lt;xs:element name=&quot;HostName&quot; type=&quot;xs:string&quot;/&gt;\n"
+"&lt;xs:element name=&quot;HostAddress&quot; type=&quot;xs:string&quot;/&gt;\n"
+"&lt;xs:element name=&quot;ActiveThreadCount&quot; type=&quot;xs:int&quot;/"
+"&gt;\n"
+"&lt;xs:element name=&quot;FreeMemory&quot; type=&quot;xs:string&quot;/&gt;\n"
+"&lt;xs:element name=&quot;MaxMemory&quot; type=&quot;xs:string&quot;/&gt;\n"
+"&lt;/xs:sequence&gt;\n"
+"&lt;/xs:complexType&gt;\n"
+"&lt;/xs:element&gt;\n"
+"&lt;/xs:schema&gt;\n"
+"  \n"
+"&lt;/wsdl:types&gt;\n"
+"  \n"
+"&lt;wsdl:message name=&apos;SystemInfoMsg&apos;&gt;\n"
+"&lt;wsdl:part name=&apos;body&apos; element=&apos;tns:SystemStatus&apos;/"
+"&gt;\n"
+"&lt;/wsdl:message&gt;\n"
+"  \n"
+"(4) &lt;wsdl:portType name=&apos;SystemInfo&apos; wse:EventSource=&apos;"
+"true&apos;&gt;\n"
+"&lt;wsdl:operation name=&apos;SysmonOp&apos;&gt;\n"
+"&lt;wsdl:output message=&apos;tns:SystemInfoMsg&apos;/&gt;\n"
+"&lt;/wsdl:operation&gt;\n"
+"&lt;/wsdl:portType&gt;\n"
+"  \n"
+"&lt;wsdl:binding name=&quot;SystemInfoBinding&quot; type=&quot;tns:"
+"SystemInfo&quot;&gt;\n"
+"&lt;soap:binding style=&quot;document&quot; transport=&quot;http://schemas."
+"xmlsoap.org/soap/http&quot;/&gt;\n"
+"&lt;wsdl:operation name=&quot;SysmonOp&quot;&gt;\n"
+"&lt;soap:operation soapAction=&quot;&quot;/&gt;\n"
+"&lt;wsdl:output&gt;\n"
+"&lt;soap:body use=&quot;literal&quot;/&gt;\n"
+"&lt;/wsdl:output&gt;\n"
+"&lt;/wsdl:operation&gt;\n"
+"&lt;/wsdl:binding&gt;\n"
+"  \n"
+"&lt;/wsdl:definitions&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:912
@@ -3567,6 +4521,9 @@
 "java:/EventDispatcher\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"java:/EventDispatcher\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:930
@@ -3585,6 +4542,12 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"public interface EventDispatcher\n"
+"{\n"
+"void dispatch(URI eventSourceNS, Element payload);\n"
+"}\n"
+"]]>"
 
 #. Tag: emphasis
 #: Web_Services.xml:934
@@ -3613,6 +4576,22 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"(1)   URI eventSourceURI = new URI(&quot;http://http://www.jboss.org/sysmon/"
+"SystemInfo&quot;);\n"
+"(2)   Element payload = DOMUtils.parse(&quot;SOME XML STRING&quot;);\n"
+"try\n"
+"{\n"
+"InitialContext iniCtx = getInitialContext();\n"
+"(3)      EventDispatcher delegate = (EventDispatcher)\n"
+"iniCtx.lookup(EventingConstants.DISPATCHER_JNDI_NAME);\n"
+"(4)      delegate.dispatch(eventSourceURI, payload);\n"
+"}\n"
+"catch (Exception e)\n"
+"{\n"
+"//\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:939
@@ -3654,6 +4633,9 @@
 "jboss.ws.eventing:service=SubscriptionManager\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"jboss.ws.eventing:service=SubscriptionManager\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:953
@@ -3680,8 +4662,7 @@
 #. Tag: para
 #: Web_Services.xml:962
 #, no-c-format
-msgid ""
-"eventKeepAlive - keep alive before an undelivered event message is discarded."
+msgid "eventKeepAlive - keep alive before an undelivered event message is discarded."
 msgstr ""
 
 #. Tag: title
@@ -3719,8 +4700,7 @@
 #. Tag: para
 #: Web_Services.xml:974
 #, no-c-format
-msgid ""
-"WS-Security is defined by the combination of the following specifications:"
+msgid "WS-Security is defined by the combination of the following specifications:"
 msgstr ""
 
 #. Tag: ulink
@@ -3828,6 +4808,25 @@
 "&lt;/jboss-ws-security&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;jboss-ws-security xmlns=&quot;http://www.jboss.com/ws-security/"
+"config&quot; \n"
+"xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;\n"
+"xsi:schemaLocation=&quot;http://www.jboss.com/ws-security/config \n"
+"http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd&quot;&gt;\n"
+"(1)  &lt;key-store-file&gt;WEB-INF/wsse.keystore&lt;/key-store-file&gt;\n"
+"(2)  &lt;key-store-password&gt;jbossws&lt;/key-store-password&gt;\n"
+"(3)  &lt;trust-store-file&gt;WEB-INF/wsse.truststore&lt;/trust-store-"
+"file&gt;\n"
+"(4)  &lt;trust-store-password&gt;jbossws&lt;/trust-store-password&gt;\n"
+"(5)  &lt;config&gt;\n"
+"(6)    &lt;sign type=&quot;x509v3&quot; alias=&quot;wsse&quot;/&gt;\n"
+"(7)    &lt;requires&gt;\n"
+"(8)      &lt;signature/&gt;\n"
+"&lt;/requires&gt;\n"
+"&lt;/config&gt;\n"
+"&lt;/jboss-ws-security&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1022
@@ -3921,6 +4920,14 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService\n"
+"@EndpointConfig(configName = &quot;Standard WSSecurity Endpoint&quot;)\n"
+"public class HelloJavaBean\n"
+"{\n"
+"...\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1050
@@ -3947,6 +4954,20 @@
 "&lt;/jboss-ws-security&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;jboss-ws-security xmlns=&quot;http://www.jboss.com/ws-security/"
+"config&quot; \n"
+"xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;\n"
+"xsi:schemaLocation=&quot;http://www.jboss.com/ws-security/config \n"
+"http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd&quot;&gt;\n"
+"(1)  &lt;config&gt;\n"
+"(2)    &lt;sign type=&quot;x509v3&quot; alias=&quot;wsse&quot;/&gt;\n"
+"(3)    &lt;requires&gt;\n"
+"(4)      &lt;signature/&gt;\n"
+"&lt;/requires&gt;\n"
+"&lt;/config&gt;\n"
+"&lt;/jboss-ws-security&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1054
@@ -4025,6 +5046,22 @@
 "jks&quot;/&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;sysproperty key=&quot;org.jboss.ws.wsse.keyStore&quot;\n"
+"value=&quot;${tests.output.dir}/resources/jaxrpc/samples/wssecurity/wsse."
+"keystore&quot;/&gt;\n"
+"&lt;sysproperty key=&quot;org.jboss.ws.wsse.trustStore&quot; \n"
+"value=&quot;${tests.output.dir}/resources/jaxrpc/samples/wssecurity/wsse."
+"truststore&quot;/&gt;\n"
+"&lt;sysproperty key=&quot;org.jboss.ws.wsse.keyStorePassword&quot; "
+"value=&quot;jbossws&quot;/&gt;\n"
+"&lt;sysproperty key=&quot;org.jboss.ws.wsse.trustStorePassword&quot; "
+"value=&quot;jbossws&quot;/&gt;\n"
+"&lt;sysproperty key=&quot;org.jboss.ws.wsse.keyStoreType&quot; value=&quot;"
+"jks&quot;/&gt;\n"
+"&lt;sysproperty key=&quot;org.jboss.ws.wsse.trustStoreType&quot; value=&quot;"
+"jks&quot;/&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1074
@@ -4073,6 +5110,32 @@
 "&lt;/env:Envelope&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;env:Envelope xmlns:env=&quot;http://schemas.xmlsoap.org/soap/envelope/"
+"&quot;&gt;\n"
+"&lt;env:Header&gt;\n"
+"&lt;wsse:Security env:mustUnderstand=&quot;1&quot; ...&gt;\n"
+"&lt;wsu:Timestamp wsu:Id=&quot;timestamp&quot;&gt;...&lt;/wsu:Timestamp&gt;\n"
+"&lt;wsse:BinarySecurityToken ...&gt;\n"
+"...\n"
+"&lt;/wsse:BinarySecurityToken&gt;\n"
+"&lt;ds:Signature xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot;"
+"&gt;\n"
+"...\n"
+"&lt;/ds:Signature&gt;\n"
+"&lt;/wsse:Security&gt;\n"
+"&lt;/env:Header&gt;\n"
+"&lt;env:Body wsu:Id=&quot;element-1-1140197309843-12388840&quot; ...&gt;\n"
+"&lt;ns1:echoUserType xmlns:ns1=&quot;http://org.jboss.ws/samples/"
+"wssecurity&quot;&gt;\n"
+"&lt;UserType_1 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-"
+"instance&quot;&gt;\n"
+"&lt;msg&gt;Kermit&lt;/msg&gt;\n"
+"&lt;/UserType_1&gt;\n"
+"&lt;/ns1:echoUserType&gt;\n"
+"&lt;/env:Body&gt;\n"
+"&lt;/env:Envelope&gt;\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1081
@@ -4109,6 +5172,10 @@
 "BouncyCastleProvider\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"security.provider.&lt;n&gt;=org.bouncycastle.jce.provider."
+"BouncyCastleProvider\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1085
@@ -4231,6 +5298,11 @@
 "attribute&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;!-- Datasource to Database--&gt;\n"
+"&lt;attribute name=&quot;DataSourceUrl&quot;&gt;java:/DefaultDS&lt;/"
+"attribute&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1118
@@ -4259,6 +5331,20 @@
 "name=&quot;DropOnStart&quot;&gt;false&lt;/attribute&gt;\n"
 "                                                          ]]>"
 msgstr ""
+"<![CDATA[\n"
+"                                                          &lt;!-- Should all "
+"tables be created on Start--&gt;\n"
+"                                                          &lt;attribute "
+"name=&quot;CreateOnStart&quot;&gt;false&lt;/attribute&gt;\n"
+"                                                          &lt;!-- Should all "
+"tables be dropped on Stop--&gt;\n"
+"                                                          &lt;attribute "
+"name=&quot;DropOnStop&quot;&gt;true&lt;/attribute&gt;\n"
+"                                                          &lt;!-- Should all "
+"tables be dropped on Start--&gt;\n"
+"                                                          &lt;attribute "
+"name=&quot;DropOnStart&quot;&gt;false&lt;/attribute&gt;\n"
+"                                                          ]]>"
 
 #. Tag: para
 #: Web_Services.xml:1120
@@ -4283,6 +5369,16 @@
 "&lt;attribute name=&quot;BindJaxr&quot;&gt;JAXR&lt;/attribute&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"&lt;!-- Should I bind a Context to which JaxrConnectionFactory bound--&gt;\n"
+"&lt;attribute name=&quot;ShouldBindJaxr&quot;&gt;true&lt;/attribute&gt;\n"
+"  \n"
+"&lt;!-- Context to which JaxrConnectionFactory to bind to. If you have "
+"remote clients, please bind it to the global namespace(default behavior). \n"
+"To just cater to clients running on the same VM as JBoss, change to java:/"
+"JAXR --&gt;\n"
+"&lt;attribute name=&quot;BindJaxr&quot;&gt;JAXR&lt;/attribute&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1122
@@ -4312,6 +5408,15 @@
 "true&apos;,&apos;true&apos;);\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"Look at the script META-INF/ddl/juddi_data.ddl for more details. Example for "
+"a user &apos;jboss&apos;\n"
+"  \n"
+"INSERT INTO PUBLISHER (PUBLISHER_ID,PUBLISHER_NAME,\n"
+"EMAIL_ADDRESS,IS_ENABLED,IS_ADMIN) \n"
+"VALUES (&apos;jboss&apos;,&apos;JBoss User&apos;,&apos;jboss at xxx&apos;,&apos;"
+"true&apos;,&apos;true&apos;);\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1127
@@ -4340,6 +5445,13 @@
 "juddi.proxy.transportClass=org.jboss.jaxr.juddi.transport.SaajTransport\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"javax.xml.registry.ConnectionFactoryClass=org.apache.ws.scout.registry."
+"ConnectionFactoryImpl \n"
+"jaxr.query.url=http://localhost:8080/juddi/inquiry \n"
+"jaxr.publish.url=http://localhost:8080/juddi/publish\n"
+"juddi.proxy.transportClass=org.jboss.jaxr.juddi.transport.SaajTransport\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1130
@@ -4381,6 +5493,9 @@
 "System.setProperty(propertyname, propertyvalue);\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"System.setProperty(propertyname, propertyvalue);\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1143
@@ -4476,6 +5591,28 @@
 "connection = factory.createConnection();\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"String queryurl = System.getProperty(&quot;jaxr.query.url&quot;, &quot;"
+"http://localhost:8080/juddi/inquiry&quot;);\n"
+"String puburl = System.getProperty(&quot;jaxr.publish.url&quot;, &quot;"
+"http://localhost:8080/juddi/publish&quot;);\n"
+".. \n"
+"Properties props = new Properties();\n"
+"props.setProperty(&quot;javax.xml.registry.queryManagerURL&quot;, "
+"queryurl);\n"
+"props.setProperty(&quot;javax.xml.registry.lifeCycleManagerURL&quot;, "
+"puburl);\n"
+"  \n"
+"String transportClass = System.getProperty(&quot;juddi.proxy."
+"transportClass&quot;, &quot;org.jboss.jaxr.juddi.transport."
+"SaajTransport&quot;);\n"
+"System.setProperty(&quot;juddi.proxy.transportClass&quot;, transportClass);\n"
+"  \n"
+"// Create the connection, passing it the configuration properties\n"
+"factory = ConnectionFactory.newInstance();\n"
+"factory.setProperties(props);\n"
+"connection = factory.createConnection();\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1159
@@ -4502,6 +5639,20 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Does authentication with the uddi registry\n"
+"*/\n"
+"protected void login() throws JAXRException\n"
+"{\n"
+"PasswordAuthentication passwdAuth = new PasswordAuthentication(userid, "
+"passwd.toCharArray());\n"
+"Set creds = new HashSet();\n"
+"creds.add(passwdAuth);\n"
+"  \n"
+"connection.setCredentials(creds);\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1161
@@ -4581,6 +5732,73 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Creates a Jaxr Organization with 1 or more services\n"
+"*/\n"
+"protected Organization createOrganization(String orgname) throws "
+"JAXRException\n"
+"{\n"
+"Organization org = blm.createOrganization(getIString(orgname));\n"
+"org.setDescription(getIString(&quot;JBoss Inc&quot;));\n"
+"Service service = blm.createService(getIString(&quot;JBOSS JAXR "
+"Service&quot;));\n"
+"service.setDescription(getIString(&quot;Services of XML Registry&quot;));\n"
+"//Create serviceBinding\n"
+"ServiceBinding serviceBinding = blm.createServiceBinding();\n"
+"serviceBinding.setDescription(blm.createInternationalString(&quot;Test "
+"Service Binding&quot;));\n"
+"  \n"
+"//Turn validation of URI off\n"
+"serviceBinding.setValidateURI(false);\n"
+"serviceBinding.setAccessURI(&quot;http://testjboss.org&quot;);\n"
+".. \n"
+"// Add the serviceBinding to the service\n"
+"service.addServiceBinding(serviceBinding);\n"
+"  \n"
+"User user = blm.createUser();\n"
+"org.setPrimaryContact(user);\n"
+"PersonName personName = blm.createPersonName(&quot;Anil S&quot;);\n"
+"TelephoneNumber telephoneNumber = blm.createTelephoneNumber();\n"
+"telephoneNumber.setNumber(&quot;111-111-7777&quot;);\n"
+"telephoneNumber.setType(null);\n"
+"PostalAddress address = blm.createPostalAddress(&quot;111&quot;, &quot;My "
+"Drive&quot;, &quot;BuckHead&quot;, &quot;GA&quot;, &quot;USA&quot;, "
+"&quot;1111-111&quot;, &quot;&quot;);\n"
+"Collection postalAddresses = new ArrayList();\n"
+"postalAddresses.add(address);\n"
+"Collection emailAddresses = new ArrayList();\n"
+"EmailAddress emailAddress = blm.createEmailAddress(&quot;anil at apache."
+"org&quot;);\n"
+"emailAddresses.add(emailAddress);\n"
+"  \n"
+"Collection numbers = new ArrayList();\n"
+"numbers.add(telephoneNumber);\n"
+"user.setPersonName(personName);\n"
+"user.setPostalAddresses(postalAddresses);\n"
+"user.setEmailAddresses(emailAddresses);\n"
+"user.setTelephoneNumbers(numbers);\n"
+"  \n"
+"ClassificationScheme cScheme = getClassificationScheme(&quot;ntis-gov:"
+"naics&quot;, &quot;&quot;);\n"
+"Key cKey = blm.createKey(&quot;uuid:C0B9FE13-324F-413D-5A5B-"
+"2004DB8E5CC2&quot;);\n"
+"cScheme.setKey(cKey);\n"
+"Classification classification = blm.createClassification(cScheme, &quot;"
+"Computer Systems Design and Related Services&quot;, &quot;5415&quot;);\n"
+"org.addClassification(classification);\n"
+"ClassificationScheme cScheme1 = getClassificationScheme(&quot;D-U-N-S&quot;, "
+"&quot;&quot;);\n"
+"Key cKey1 = blm.createKey(&quot;uuid:3367C81E-FF1F-4D5A-B202-"
+"3EB13AD02423&quot;);\n"
+"cScheme1.setKey(cKey1);\n"
+"ExternalIdentifier ei = blm.createExternalIdentifier(cScheme1, &quot;D-U-N-S "
+"number&quot;, &quot;08-146-6849&quot;);\n"
+"org.addExternalIdentifier(ei);\n"
+"org.addService(service);\n"
+"return org;\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1163
@@ -4647,6 +5865,60 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Locale aware Search a business in the registry\n"
+"*/\n"
+"public void searchBusiness(String bizname) throws JAXRException\n"
+"{\n"
+"try\n"
+"{\n"
+"// Get registry service and business query manager\n"
+"this.getJAXREssentials();\n"
+"  \n"
+"// Define find qualifiers and name patterns\n"
+"Collection findQualifiers = new ArrayList();\n"
+"findQualifiers.add(FindQualifier.SORT_BY_NAME_ASC);\n"
+"Collection namePatterns = new ArrayList();\n"
+"String pattern = &quot;%&quot; + bizname + &quot;%&quot;;\n"
+"LocalizedString ls = blm.createLocalizedString(Locale.getDefault(), "
+"pattern);\n"
+"namePatterns.add(ls);\n"
+"  \n"
+"// Find based upon qualifier type and values\n"
+"BulkResponse response = bqm.findOrganizations(findQualifiers, namePatterns, "
+"null, null, null, null);\n"
+"  \n"
+"// check how many organisation we have matched\n"
+"Collection orgs = response.getCollection();\n"
+"if (orgs == null)\n"
+"{\n"
+"log.debug(&quot; -- Matched 0 orgs&quot;);\n"
+"  \n"
+"}\n"
+"else\n"
+"{\n"
+"log.debug(&quot; -- Matched &quot; + orgs.size() + &quot; organizations -- "
+"&quot;);\n"
+"  \n"
+"// then step through them\n"
+"for (Iterator orgIter = orgs.iterator(); orgIter.hasNext();)\n"
+"{\n"
+"Organization org = (Organization)orgIter.next();\n"
+"log.debug(&quot;Org name: &quot; + getName(org));\n"
+"log.debug(&quot;Org description: &quot; + getDescription(org));\n"
+"log.debug(&quot;Org key id: &quot; + getKey(org));\n"
+"checkUser(org);\n"
+"checkServices(org);\n"
+"}\n"
+"}\n"
+"}\n"
+"finally\n"
+"{\n"
+"connection.close();\n"
+"}\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1165
@@ -4789,8 +6061,7 @@
 #. Tag: para
 #: Web_Services.xml:1214
 #, no-c-format
-msgid ""
-"WS-Policy is defined by the combination of the following specifications:"
+msgid "WS-Policy is defined by the combination of the following specifications:"
 msgstr ""
 
 #. Tag: programlisting
@@ -4804,6 +6075,12 @@
 "Policy-Attachment specification</ulink>\n"
 " ]]>"
 msgstr ""
+"<![CDATA[\n"
+"* <ulink url=\"http://www.w3.org/Submission/WS-Policy/\"> WS-Policy "
+"specification</ulink>\n"
+"* <ulink url=\"http://www.w3.org/Submission/WS-PolicyAttachment/\"> WS-"
+"Policy-Attachment specification</ulink>\n"
+" ]]>"
 
 #. Tag: title
 #: Web_Services.xml:1218
@@ -4929,6 +6206,100 @@
 "&lt;/definitions&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService(name = &quot;Hello&quot;, \n"
+"targetNamespace = &quot;http://org.jboss.ws/samples/wssecuritypolicy&quot;,\n"
+"wsdlLocation=&quot;WEB-INF/wsdl/HelloService.wsdl&quot;)\n"
+"@SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+"public class HelloJavaBean\n"
+"{\n"
+"private Logger log = Logger.getLogger(HelloJavaBean.class);\n"
+"..\n"
+"@WebMethod\n"
+"public UserType echoUserType(@WebParam(name = &quot;user&quot;) UserType "
+"in0)\n"
+"{\n"
+"log.info(in0);\n"
+"return in0;\n"
+"}\n"
+"}\n"
+"&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n"
+"&lt;definitions name=&apos;HelloService&apos; targetNamespace=&apos;http://"
+"org.jboss.ws/samples/wssecuritypolicy&apos; xmlns=&apos;http://schemas."
+"xmlsoap.org/wsdl/&apos; xmlns:ns1=&apos;http://org.jboss.ws/samples/"
+"wssecurity&apos; xmlns:soap=&apos;http://schemas.xmlsoap.org/wsdl/soap/"
+"&apos; xmlns:tns=&apos;http://org.jboss.ws/samples/wssecuritypolicy&apos; "
+"xmlns:wsp=&apos;http://schemas.xmlsoap.org/ws/2004/09/policy&apos; xmlns:"
+"xsd=&apos;http://www.w3.org/2001/XMLSchema&apos;&gt;\n"
+"&lt;types&gt;\n"
+"&lt;xs:schema targetNamespace=&apos;http://org.jboss.ws/samples/"
+"wssecurity&apos; version=&apos;1.0&apos; xmlns:xs=&apos;http://www.w3."
+"org/2001/XMLSchema&apos;&gt;\n"
+"&lt;xs:complexType name=&apos;UserType&apos;&gt;\n"
+"&lt;xs:sequence&gt;\n"
+"&lt;xs:element minOccurs=&apos;0&apos; name=&apos;msg&apos; type=&apos;xs:"
+"string&apos;/&gt;\n"
+"&lt;/xs:sequence&gt;\n"
+"&lt;/xs:complexType&gt;\n"
+"&lt;/xs:schema&gt;\n"
+"&lt;/types&gt;\n"
+"&lt;wsp:Policy wsu:Id=&apos;X509EndpointPolicy&apos; xmlns:wsu=&apos;http://"
+"docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0."
+"xsd&apos;&gt;\n"
+"&lt;wsp:All&gt;\n"
+"&lt;sp:jboss-ws-security xmlns:sp=&apos;http://www.jboss.com/ws-security/"
+"schema/jboss-ws-security_1_0.xsd&apos;&gt;\n"
+"&lt;sp:key-store-file&gt;WEB-INF/wsse.keystore&lt;/sp:key-store-file&gt;\n"
+"&lt;sp:key-store-password&gt;jbossws&lt;/sp:key-store-password&gt;\n"
+"&lt;sp:trust-store-file&gt;WEB-INF/wsse.truststore&lt;/sp:trust-store-"
+"file&gt;\n"
+"&lt;sp:trust-store-password&gt;jbossws&lt;/sp:trust-store-password&gt;\n"
+"&lt;sp:config&gt;\n"
+"&lt;sp:encrypt alias=&apos;wsse&apos; type=&apos;x509v3&apos;/&gt;\n"
+"&lt;sp:requires&gt;\n"
+"&lt;sp:encryption/&gt;\n"
+"&lt;/sp:requires&gt;\n"
+"&lt;/sp:config&gt;\n"
+"&lt;/sp:jboss-ws-security&gt;\n"
+"&lt;/wsp:All&gt;\n"
+"&lt;/wsp:Policy&gt;\n"
+"&lt;message name=&apos;Hello_echoUserType&apos;&gt;\n"
+"&lt;part name=&apos;user&apos; type=&apos;ns1:UserType&apos;/&gt;\n"
+"&lt;/message&gt;\n"
+"&lt;message name=&apos;Hello_echoUserTypeResponse&apos;&gt;\n"
+"&lt;part name=&apos;return&apos; type=&apos;ns1:UserType&apos;/&gt;\n"
+"&lt;/message&gt;\n"
+"&lt;portType name=&apos;Hello&apos;&gt;\n"
+"&lt;operation name=&apos;echoUserType&apos; parameterOrder=&apos;user&apos;"
+"&gt;\n"
+"&lt;input message=&apos;tns:Hello_echoUserType&apos;/&gt;\n"
+"&lt;output message=&apos;tns:Hello_echoUserTypeResponse&apos;/&gt;\n"
+"&lt;/operation&gt;\n"
+"&lt;/portType&gt;\n"
+"&lt;binding name=&apos;HelloBinding&apos; type=&apos;tns:Hello&apos;&gt;\n"
+"&lt;wsp:PolicyReference URI=&apos;#X509EndpointPolicy&apos;/&gt;\n"
+"&lt;soap:binding style=&apos;rpc&apos; transport=&apos;http://schemas."
+"xmlsoap.org/soap/http&apos;/&gt;\n"
+"&lt;operation name=&apos;echoUserType&apos;&gt;\n"
+"&lt;soap:operation soapAction=&apos;&apos;/&gt;\n"
+"&lt;input&gt;\n"
+"&lt;soap:body namespace=&apos;http://org.jboss.ws/samples/"
+"wssecuritypolicy&apos; use=&apos;literal&apos;/&gt;\n"
+"&lt;/input&gt;\n"
+"&lt;output&gt;\n"
+"&lt;soap:body namespace=&apos;http://org.jboss.ws/samples/"
+"wssecuritypolicy&apos; use=&apos;literal&apos;/&gt;\n"
+"&lt;/output&gt;\n"
+"&lt;/operation&gt;\n"
+"&lt;/binding&gt;\n"
+"&lt;service name=&apos;HelloService&apos;&gt;\n"
+"&lt;port binding=&apos;tns:HelloBinding&apos; name=&apos;HelloPort&apos;"
+"&gt;\n"
+"&lt;soap:address location=&apos;REPLACE_WITH_ACTUAL_URL&apos;/&gt;\n"
+"&lt;/port&gt;\n"
+"&lt;/service&gt;\n"
+"&lt;/definitions&gt;\n"
+"]]>"
 
 #. Tag: para
 #: Web_Services.xml:1223
@@ -5045,6 +6416,50 @@
 "&lt;/wsp:Policy&gt;\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@WebService(name = &quot;Hello&quot;, targetNamespace = &quot;http://org."
+"jboss.ws/samples/wssecurityAnnotatedpolicy&quot;)\n"
+"@PolicyAttachment({@Policy( policyFileLocation=&quot;WEB-INF/Policy."
+"xml&quot;, scope = PolicyScopeLevel.WSDL_PORT ) })\n"
+"@SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+"public class HelloJavaBean\n"
+"{\n"
+"private Logger log = Logger.getLogger(HelloJavaBean.class);\n"
+"   \n"
+"@WebMethod\n"
+"public UserType echoUserType(@WebParam(name = &quot;user&quot;) UserType "
+"in0)\n"
+"{\n"
+"log.info(in0);\n"
+"return in0;\n"
+"}\n"
+"}\n"
+"&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n"
+"...\n"
+"&lt;wsp:Policy wsu:Id=&quot;X509EndpointPolicy&quot;  xmlns:wsp=&quot;http://"
+"schemas.xmlsoap.org/ws/2004/09/policy&quot; \n"
+"xmlns:wsu=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-"
+"wssecurity-utility-1.0.xsd&quot;&gt;\n"
+"&lt;wsp:ExactlyOne&gt;\n"
+"&lt;wsp:All&gt;\n"
+"&lt;sp:jboss-ws-security xmlns:sp=&quot;http://www.jboss.com/ws-security/"
+"schema/jboss-ws-security_1_0.xsd&quot;&gt;\n"
+"&lt;sp:key-store-file&gt;WEB-INF/wsse.keystore&lt;/sp:key-store-file&gt;\n"
+"&lt;sp:key-store-password&gt;jbossws&lt;/sp:key-store-password&gt;\n"
+"&lt;sp:trust-store-file&gt;WEB-INF/wsse.truststore&lt;/sp:trust-store-"
+"file&gt;\n"
+"&lt;sp:trust-store-password&gt;jbossws&lt;/sp:trust-store-password&gt;\n"
+"&lt;sp:config&gt;\n"
+"&lt;sp:encrypt type=&quot;x509v3&quot; alias=&quot;wsse&quot;/&gt;\n"
+"&lt;sp:requires&gt;\n"
+"&lt;sp:encryption/&gt;\n"
+"&lt;/sp:requires&gt;\n"
+"&lt;/sp:config&gt;\n"
+"&lt;/sp:jboss-ws-security&gt;\n"
+"&lt;/wsp:All&gt;\n"
+"&lt;/wsp:ExactlyOne&gt;               \n"
+"&lt;/wsp:Policy&gt;\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1236
@@ -5116,6 +6531,38 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Defines an endpoint or client configuration. \n"
+"* This annotation is valid on an endpoint implementaion bean or a SEI.\n"
+"* \n"
+"* @author Heiko.Braun at jboss.org\n"
+"* @since 16.01.2007\n"
+"*/\n"
+"@Retention(value = RetentionPolicy.RUNTIME)\n"
+"@Target(value = { ElementType.TYPE })\n"
+"public @interface EndpointConfig {\n"
+"... \n"
+"/**\n"
+"* The optional config-name element gives the configuration name that must be "
+"present in\n"
+"* the configuration given by element config-file.\n"
+"* \n"
+"* Server side default: Standard Endpoint\n"
+"* Client side default: Standard Client\n"
+"*/\n"
+"String configName() default &quot;&quot;;\n"
+"...\n"
+"/**\n"
+"* The optional config-file element is a URL or resource name for the "
+"configuration.\n"
+"*\n"
+"* Server side default: standard-jaxws-endpoint-config.xml\n"
+"* Client side default: standard-jaxws-client-config.xml\n"
+"*/\n"
+"String configFile() default &quot;&quot;;\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1246
@@ -5202,6 +6649,80 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Provides web context specific meta data to EJB based web service "
+"endpoints.\n"
+"*\n"
+"* @author thomas.diesler at jboss.org\n"
+"* @since 26-Apr-2005\n"
+"*/\n"
+"@Retention(value = RetentionPolicy.RUNTIME)\n"
+"@Target(value = { ElementType.TYPE })\n"
+"public @interface WebContext {\n"
+"... \n"
+"/** \n"
+"* The contextRoot element specifies the context root that the web service "
+"endpoint is deployed to.\n"
+"* If it is not specified it will be derived from the deployment short name.\n"
+"* \n"
+"* Applies to server side port components only. \n"
+"*/\n"
+"String contextRoot() default &quot;&quot;;\n"
+"...\n"
+"/** \n"
+"* The virtual hosts that the web service endpoint is deployed to.\n"
+"* \n"
+"* Applies to server side port components only.\n"
+"*/\n"
+"String[] virtualHosts() default {};\n"
+"    \n"
+"/** \n"
+"* Relative path that is appended to the contextRoot to form fully qualified\n"
+"* endpoint address for the web service endpoint.\n"
+"* \n"
+"* Applies to server side port components only. \n"
+"*/\n"
+"String urlPattern() default &quot;&quot;;\n"
+"    \n"
+"/**\n"
+"* The authMethod is used to configure the authentication mechanism for the "
+"web service. \n"
+"* As a prerequisite to gaining access to any web service which are protected "
+"by an authorization\n"
+"* constraint, a user must have authenticated using the configured "
+"mechanism.\n"
+"*\n"
+"* Legal values for this element are &quot;BASIC&quot;, or &quot;CLIENT-"
+"CERT&quot;.\n"
+"*/\n"
+"String authMethod() default &quot;&quot;;\n"
+"   \n"
+"/**\n"
+"* The transportGuarantee specifies that the communication\n"
+"* between client and server should be NONE, INTEGRAL, or\n"
+"* CONFIDENTIAL. NONE means that the application does not require any\n"
+"* transport guarantees. A value of INTEGRAL means that the application\n"
+"* requires that the data sent between the client and server be sent in\n"
+"* such a way that it can&apos;t be changed in transit. CONFIDENTIAL means\n"
+"* that the application requires that the data be transmitted in a\n"
+"* fashion that prevents other entities from observing the contents of\n"
+"* the transmission. In most cases, the presence of the INTEGRAL or\n"
+"* CONFIDENTIAL flag will indicate that the use of SSL is required.\n"
+"*/\n"
+"String transportGuarantee() default &quot;&quot;;\n"
+"    \n"
+"/**\n"
+"* A secure endpoint does not by default publish it&apos;s wsdl on an "
+"unsecure transport.\n"
+"* You can override this behaviour by explicitly setting the secureWSDLAccess "
+"flag to false.\n"
+"* \n"
+"* Protect access to WSDL. See http://jira.jboss.org/jira/browse/JBWS-723   \n"
+"*/\n"
+"boolean secureWSDLAccess() default true;\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1250
@@ -5240,6 +6761,32 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"/**\n"
+"* Annotation for specifying the JBoss security domain for an EJB\n"
+"* \n"
+"* @author &lt;a href=&quot;mailto:bill at jboss.org&quot;&gt;Bill Burke&lt;/"
+"a&gt;\n"
+"**/\n"
+"@Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)\n"
+"public @interface SecurityDomain\n"
+"{\n"
+"/**\n"
+"* The required name for the security domain.\n"
+"* \n"
+"* Do not use the JNDI name\n"
+"* \n"
+"*    Good: &quot;MyDomain&quot;\n"
+"*    Bad:  &quot;java:/jaas/MyDomain&quot;\n"
+"*/\n"
+"String value();\n"
+"   \n"
+"/**\n"
+"* The name for the unauthenticated pricipal\n"
+"*/\n"
+"String unauthenticatedPrincipal() default &quot;&quot;;\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Web_Services.xml:1256
@@ -5313,76 +6860,3 @@
 msgid "JSR 181 - Web Services Metadata for the Java Platform"
 msgstr ""
 
-#, fuzzy
-#~ msgid ""
-#~ "Web service references are declared using a <literal>service-ref</"
-#~ "literal> element in inside an <literal>ejb-jar.xml</literal> file."
-#~ msgstr ""
-#~ "U.d. puede configurar aún más la replicación de sesión utilizando el "
-#~ "elemento <literal>replication-config</literal> en el archivo "
-#~ "<literal>jboss-web.xml</literal>. Este es un ejemplo:"
-
-#, fuzzy
-#~ msgid ""
-#~ "The following elements are supported by the <literal>service-ref</"
-#~ "literal>:"
-#~ msgstr ""
-#~ "El siguiente código podría ser usado para añadir un nuevo <literal>Child</"
-#~ "literal>"
-
-#, fuzzy
-#~ msgid ""
-#~ "<emphasis role=\"bold\">service-ref-name</emphasis>: This is the JNDI "
-#~ "name that the service object will be bound under in the bean&#39;s ENC. "
-#~ "It is relative to <literal>java:comp/env/</literal>."
-#~ msgstr ""
-#~ "<emphasis role=\"bold\">pattern</emphasis>: Este es un especificador de "
-#~ "patrones que define el formato de los mensajes de registro. Por defecto, "
-#~ "utiliza <literal>common</literal>."
-
-#, fuzzy
-#~ msgid ""
-#~ "<emphasis role=\"bold\">wsdl-file</emphasis>: This is the location of the "
-#~ "WSDL file. The WSDL file should be under <literal>META-INF/wsdl</literal>."
-#~ msgstr ""
-#~ "<emphasis role=\"bold\">prefix</emphasis>: Este es el prefijo que se debe "
-#~ "añadir a cada nombre de archivo de registro. Por defecto, usa "
-#~ "<literal>access_log</literal>."
-
-#, fuzzy
-#~ msgid ""
-#~ "<emphasis role=\"bold\">jaxrpc-mapping-file</emphasis>: This is the "
-#~ "location of the JAX-RPC mapping file. It must be under the <literal>META-"
-#~ "INF</literal> directory."
-#~ msgstr ""
-#~ "<emphasis role=\"bold\">prefix</emphasis>: Este es el prefijo que se debe "
-#~ "añadir a cada nombre de archivo de registro. Por defecto, usa "
-#~ "<literal>access_log</literal>."
-
-#, fuzzy
-#~ msgid ""
-#~ "<emphasis role=\"bold\">handler</emphasis>: This allows the specification "
-#~ "of handlers, which act like filters or interceptors on the current "
-#~ "request or response."
-#~ msgstr ""
-#~ "<emphasis role=\"bold\">directory</emphasis>: Esta es la ruta del "
-#~ "directorio en la que se crearán los archivos de registro."
-
-#, fuzzy
-#~ msgid ""
-#~ "<emphasis role=\"bold\">service-ref-name</emphasis>: This element should "
-#~ "match the <literal>service-ref-name</literal> in the <literal>ejb-jar."
-#~ "xml</literal> file that is being configured."
-#~ msgstr ""
-#~ "<emphasis role=\"bold\">LenientEjbLink</emphasis>: Esta bandera indica "
-#~ "que los errores <literal>ejb-link</literal> se deben ignorar para poder "
-#~ "favorecer el <literal>jndi-name</literal> en el <literal>jboss-web.xml</"
-#~ "literal>. Por defecto es verdadero."
-
-#, fuzzy
-#~ msgid ""
-#~ "<emphasis role=\"bold\">call-property</emphasis>: This sets properties on "
-#~ "the JAX-RPC stub."
-#~ msgstr ""
-#~ "<emphasis role=\"bold\">router_port</emphasis> específica el puerto en el "
-#~ "que GossipRouter está escuchando."




More information about the jboss-cvs-commits mailing list