[jboss-cvs] JBossAS SVN: r88596 - projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon May 11 03:00:53 EDT 2009


Author: agarcia at jboss.com
Date: 2009-05-11 03:00:53 -0400 (Mon, 11 May 2009)
New Revision: 88596

Modified:
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/Web_Services.po
Log:
SCG new chapter in progress

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po	2009-05-11 06:54:15 UTC (rev 88595)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/J2EE_Security_On_JBOSS.po	2009-05-11 07:00:53 UTC (rev 88596)
@@ -1,30 +1,32 @@
+# 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, 2009 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: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-05-11 10:25+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
 #, no-c-format
 msgid "J2EE Security Configuration and Architecture"
-msgstr ""
+msgstr "Arquitectura y configuración de seguridad de J2EE "
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:8
@@ -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,9 +109,9 @@
 
 #. 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 "El elemento security-role-ref"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:32
@@ -118,6 +120,8 @@
 "shows the use of <literal>security-role-ref</literal> in an <literal>ejb-jar."
 "xml</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,6 +150,20 @@
 "  ...\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
@@ -154,6 +172,8 @@
 "shows the use of <literal>security-role-ref</literal> in a <literal>web.xml</"
 "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,6 +199,17 @@
 "    ...\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
@@ -197,9 +228,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:51
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The security-identity element"
-msgstr "El elemento Host"
+msgstr "El elemento security-identity "
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:58
@@ -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
@@ -379,9 +440,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:88
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The security-role element"
-msgstr "El elemento Connector"
+msgstr "El elemento security-role"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:95
@@ -426,6 +487,17 @@
 "    &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
@@ -434,6 +506,8 @@
 "shows the usage of the <literal>security-role</literal> in an <literal>web."
 "xml</literal> file."
 msgstr ""
+"muestra el uso del <literal>security-role</literal> en un archivo <literal>web."
+"xml</literal> file."
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:103
@@ -456,6 +530,14 @@
 "    &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
@@ -474,9 +556,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:114
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The method-permissions element"
-msgstr "El elemento Connector"
+msgstr "El elemento method-permissions"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:121
@@ -497,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
@@ -517,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
@@ -546,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
@@ -577,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
@@ -686,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
@@ -705,9 +867,9 @@
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:170
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The security-constraint element"
-msgstr "El elemento Connector"
+msgstr "El elemento security-constraint"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:177
@@ -759,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
@@ -834,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
@@ -859,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
@@ -878,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
@@ -932,22 +1121,20 @@
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:237
 #, no-c-format
-msgid ""
-"<literal>Subject</literal> (<literal>javax.security.auth.Subject</literal>)"
-msgstr ""
+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
 #, no-c-format
-msgid ""
-"<literal>Principal</literal> (<literal>java.security.Principal</literal>)"
-msgstr ""
+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
@@ -956,6 +1143,8 @@
 "<literal>Callback</literal> (<literal>javax.security.auth.callback.Callback</"
 "literal>)"
 msgstr ""
+"<literal>Callback</literal> (<literal>javax.security.auth.callback.Callback</"
+"literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:257
@@ -964,6 +1153,8 @@
 "<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
@@ -972,6 +1163,8 @@
 "<literal>Configuration</literal> (<literal>javax.security.auth.login."
 "Configuration</literal>)"
 msgstr ""
+"<literal>Configuration</literal> (<literal>javax.security.auth.login."
+"Configuration</literal>)"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:267
@@ -980,6 +1173,8 @@
 "<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
@@ -988,6 +1183,8 @@
 "<literal>LoginModule</literal> (<literal>javax.security.auth.spi."
 "LoginModule</literal>)"
 msgstr ""
+"<literal>LoginModule</literal> (<literal>javax.security.auth.spi."
+"LoginModule</literal>)"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:278
@@ -1029,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
@@ -1080,8 +1279,7 @@
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:308
 #, no-c-format
-msgid ""
-"The application invokes the <literal>LoginContext.login</literal> method."
+msgid "The application invokes the <literal>LoginContext.login</literal> method."
 msgstr ""
 
 #. Tag: para
@@ -1189,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
@@ -1335,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
@@ -1669,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.4 $\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
@@ -1726,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
@@ -1759,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
@@ -1787,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
@@ -2144,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\" "
@@ -2153,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
@@ -2310,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
@@ -2334,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
@@ -2354,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
@@ -2578,6 +2952,17 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
+"&lt;application-policy name=\"jmx-console\"&gt;\n"
+"    &lt;authentication&gt;\n"
+"        &lt;login-module code=\"org.jboss.security.auth.spi."
+"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;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:780
@@ -2667,6 +3052,20 @@
 "    &lt;/authentication&gt;\n"
 "&lt;/application-policy&gt;"
 msgstr ""
+"&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."
+"DatabaseServerLoginModule\" \n"
+"                      flag=\"sufficient\"&gt;\n"
+"            &lt;!-- database configuration --&gt;\n"
+"        &lt;/login-module&gt;\n"
+"    &lt;/authentication&gt;\n"
+"&lt;/application-policy&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:812
@@ -2705,6 +3104,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
@@ -2822,6 +3226,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
@@ -2863,6 +3272,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
@@ -2877,7 +3288,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
@@ -2973,6 +3384,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
@@ -3060,7 +3492,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"
@@ -3081,28 +3513,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;"
@@ -3218,6 +3643,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
@@ -3238,19 +3677,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
@@ -3292,7 +3735,7 @@
 #: J2EE_Security_On_JBOSS.xml:1022
 #, no-c-format
 msgid "UsersRolesLoginModule"
-msgstr ""
+msgstr "UsersRolesLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1023
@@ -3328,6 +3771,9 @@
 "username2=password2\n"
 "..."
 msgstr ""
+"username1=password1\n"
+"username2=password2\n"
+"..."
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1030
@@ -3345,6 +3791,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
@@ -3374,6 +3823,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
@@ -3418,7 +3869,7 @@
 #: J2EE_Security_On_JBOSS.xml:1062
 #, no-c-format
 msgid "LdapLoginModule"
-msgstr ""
+msgstr "LdapLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1063
@@ -3680,7 +4131,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"
@@ -3719,31 +4170,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
@@ -3790,6 +4252,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
@@ -3873,7 +4367,7 @@
 #: J2EE_Security_On_JBOSS.xml:1201
 #, no-c-format
 msgid "DatabaseServerLoginModule"
-msgstr ""
+msgstr "DatabaseServerLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1202
@@ -3893,6 +4387,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
@@ -3931,6 +4427,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
@@ -4000,6 +4500,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
@@ -4009,7 +4511,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"
@@ -4030,31 +4532,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
@@ -4068,7 +4563,7 @@
 #: J2EE_Security_On_JBOSS.xml:1254
 #, no-c-format
 msgid "BaseCertLoginModule"
-msgstr ""
+msgstr "BaseCertLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1255
@@ -4099,7 +4594,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"
@@ -4112,12 +4607,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
@@ -4169,6 +4667,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
@@ -4180,14 +4708,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
@@ -4201,7 +4729,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"
@@ -4226,28 +4754,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;"
@@ -4284,6 +4809,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
@@ -4307,12 +4845,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
@@ -4385,6 +4927,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
@@ -4396,7 +4952,7 @@
 #: J2EE_Security_On_JBOSS.xml:1314
 #, no-c-format
 msgid "RunAsLoginModule"
-msgstr ""
+msgstr "RunAsLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1315
@@ -4434,7 +4990,7 @@
 #: J2EE_Security_On_JBOSS.xml:1331
 #, no-c-format
 msgid "ClientLoginModule"
-msgstr ""
+msgstr "ClientLoginModule"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1332
@@ -4533,6 +5089,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
@@ -4576,6 +5140,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
@@ -4757,6 +5327,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
@@ -4883,6 +5551,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
@@ -5115,6 +5874,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.4 $\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
@@ -5156,6 +6007,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
@@ -5169,16 +6028,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
@@ -5205,6 +6065,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
@@ -5453,6 +6325,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
@@ -5641,6 +6522,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
@@ -5731,6 +6614,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
@@ -6021,7 +6955,7 @@
 #: J2EE_Security_On_JBOSS.xml:1782
 #, no-c-format
 msgid "An SRP example"
-msgstr ""
+msgstr "Un ejemplo SRP"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1783
@@ -6059,6 +6993,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
@@ -6125,6 +7069,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
@@ -6146,6 +7129,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
@@ -6174,6 +7166,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
@@ -6252,6 +7260,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
@@ -6357,6 +7373,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
@@ -6379,7 +7399,7 @@
 #: J2EE_Security_On_JBOSS.xml:1854
 #, no-c-format
 msgid "TargetName"
-msgstr ""
+msgstr "TargetName"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:1857
@@ -6391,13 +7411,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
@@ -6417,7 +7437,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
@@ -6437,7 +7457,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
@@ -6457,7 +7477,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
@@ -6508,6 +7528,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
@@ -6526,7 +7565,7 @@
 #: J2EE_Security_On_JBOSS.xml:1922
 #, no-c-format
 msgid "Using SSL with JBoss"
-msgstr ""
+msgstr "Uso de SSL con JBoss"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1924
@@ -6604,6 +7643,10 @@
 "   Enter keystore password:  opensource\n"
 "   Certificate stored in file &lt;mycert.cer&gt;"
 msgstr ""
+"$ keytool -export -alias ejb3-ssl -file mycert.cer -keystore localhost."
+"keystore\n"
+"   Enter keystore password:  opensource\n"
+"   Certificate stored in file &lt;mycert.cer&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1939
@@ -6634,6 +7677,22 @@
 "   Trust this certificate? [no]:  yes\n"
 "   Certificate was added to keystore"
 msgstr ""
+"$ keytool -import -alias ejb3-ssl -file mycert.cer -keystore localhost."
+"truststore\n"
+"   Enter keystore password:  opensource\n"
+"   Owner: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, "
+"C=Unknown\n"
+"   Issuer: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, "
+"C=Unknown\n"
+"   Serial number: 43bff927\n"
+"   Valid from: Sat Jan 07 18:23:51 CET 2006 until: Fri Apr 07 19:23:51 CEST "
+"2006\n"
+"   Certificate fingerprints:\n"
+"            MD5:  CF:DC:71:A8:F4:EA:8F:5A:E9:94:E3:E6:5B:A9:C8:F3\n"
+"            SHA1: 0E:AD:F3:D6:41:5E:F6:84:9A:D1:54:3D:DE:A9:B2:01:28:"
+"F6:7C:26\n"
+"   Trust this certificate? [no]:  yes\n"
+"   Certificate was added to keystore"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1945 J2EE_Security_On_JBOSS.xml:1989
@@ -6670,6 +7729,21 @@
 "      &lt;/attribute&gt;\n"
 "   &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.remoting.transport.Connector\"\n"
+"      xmbean-dd=\"org/jboss/remoting/transport/Connector.xml\"\n"
+"      name=\"jboss.remoting:type=Connector,transport=socket3843,handler=ejb3"
+"\"&gt;\n"
+"      &lt;depends&gt;jboss.aop:service=AspectDeployer&lt;/depends&gt;\n"
+"      &lt;attribute name=\"InvokerLocator\"&gt;sslsocket://0.0.0.0:3843&lt;/"
+"attribute&gt;\n"
+"      &lt;attribute name=\"Configuration\"&gt;\n"
+"         &lt;handlers&gt;\n"
+"            &lt;handler subsystem=\"AOP\"&gt;\n"
+"             org.jboss.aspects.remoting.AOPRemotingInvocationHandler\n"
+"            &lt;/handler&gt;\n"
+"         &lt;/handlers&gt;\n"
+"      &lt;/attribute&gt;\n"
+"   &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1950 J2EE_Security_On_JBOSS.xml:1990
@@ -6691,6 +7765,10 @@
 "keystore \n"
 "          -Djavax.net.ssl.keyStorePassword=opensource"
 msgstr ""
+"$cd $JBOSS_HOME/bin\n"
+"  $ run -Djavax.net.ssl.keyStore=../server/production/conf/localhost."
+"keystore \n"
+"          -Djavax.net.ssl.keyStorePassword=opensource"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1956 J2EE_Security_On_JBOSS.xml:2001
@@ -6720,6 +7798,13 @@
 "      ...\n"
 "   }"
 msgstr ""
+"@RemoteBinding(clientBindUrl=\"sslsocket://0.0.0.0:3843\", jndiBinding="
+"\"StatefulSSL\"),\n"
+"   @Remote(BusinessInterface.class)\n"
+"   public class StatefulBean implements BusinessInterface\n"
+"   {\n"
+"      ...\n"
+"   }"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1961
@@ -6751,6 +7836,16 @@
 "      ...\n"
 "   }"
 msgstr ""
+"@RemoteBindings({\n"
+"      @RemoteBinding(clientBindUrl=\"sslsocket://0.0.0.0:3843\", jndiBinding="
+"\"StatefulSSL\"),\n"
+"      @RemoteBinding(jndiBinding=\"StatefulNormal\")\n"
+"   })\n"
+"   @Remote(BusinessInterface.class)\n"
+"   public class StatefulBean implements BusinessInterface\n"
+"   {\n"
+"      ...\n"
+"   }"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:1968
@@ -6786,6 +7881,8 @@
 "java -Djavax.net.ssl.trustStore=${resources}/test/ssl/localhost.truststore\n"
 " -Djavax.net.ssl.trustStorePassword=opensource com.acme.RunClient"
 msgstr ""
+"java -Djavax.net.ssl.trustStore=${resources}/test/ssl/localhost.truststore\n"
+" -Djavax.net.ssl.trustStorePassword=opensource com.acme.RunClient"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:1981
@@ -6849,6 +7946,42 @@
 "      &lt;attribute name=\"KeyStoreType\"&gt;JKS&lt;/attribute&gt;\n"
 "   &lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- This section is for custom (SSL) server socket factory  --&gt;\n"
+"   &lt;mbean code=\"org.jboss.remoting.security.SSLSocketBuilder\"\n"
+"      name=\"jboss.remoting:service=SocketBuilder,type=SSL\"\n"
+"      display-name=\"SSL Server Socket Factory Builder\"&gt;\n"
+"      &lt;!-- IMPORTANT - If making ANY customizations, this MUST be set to "
+"false. --&gt;\n"
+"      &lt;!-- Otherwise, will used default settings and the following "
+"attributes will be ignored. --&gt;\n"
+"      &lt;attribute name=\"UseSSLServerSocketFactory\"&gt;false&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- This is the url string to the key store to use --&gt;\n"
+"      &lt;attribute name=\"KeyStoreURL\"&gt;localhost.keystore&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- The password for the key store --&gt;\n"
+"      &lt;attribute name=\"KeyStorePassword\"&gt;sslsocket&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- The password for the keys (will use KeystorePassword if this "
+"is not set explicitly. --&gt;\n"
+"      &lt;attribute name=\"KeyPassword\"&gt;sslsocket&lt;/attribute&gt;\n"
+"      &lt;!-- The protocol for the SSLContext.  Default is TLS. --&gt;\n"
+"      &lt;attribute name=\"SecureSocketProtocol\"&gt;TLS&lt;/attribute&gt;\n"
+"      &lt;!-- The algorithm for the key manager factory.  Default is "
+"SunX509. --&gt;\n"
+"      &lt;attribute name=\"KeyManagementAlgorithm\"&gt;SunX509&lt;/"
+"attribute&gt;\n"
+"      &lt;!-- The type to be used for the key store. --&gt;\n"
+"      &lt;!-- Defaults to JKS.  Some acceptable values are JKS (Java "
+"Keystore - Sun's keystore format), --&gt;\n"
+"      &lt;!-- JCEKS (Java Cryptography Extension keystore - More secure "
+"version of JKS), and --&gt;\n"
+"      &lt;!-- PKCS12 (Public-Key Cryptography Standards #12 \n"
+"                 keystore - RSA's Personal Information Exchange Syntax "
+"Standard). --&gt;\n"
+"      &lt;!-- These are not case sensitive. --&gt;\n"
+"      &lt;attribute name=\"KeyStoreType\"&gt;JKS&lt;/attribute&gt;\n"
+"   &lt;/mbean&gt;"
 
 #. Tag: programlisting
 #: J2EE_Security_On_JBOSS.xml:1997
@@ -6863,6 +7996,14 @@
 "type=SSL&lt;/depends&gt;\n"
 "  &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.remoting.security.SSLServerSocketFactoryService"
+"\"\n"
+"     name=\"jboss.remoting:service=ServerSocketFactory,type=SSL\"\n"
+"     display-name=\"SSL Server Socket Factory\"&gt;\n"
+"     &lt;depends optional-attribute-name=\"SSLSocketBuilder\"\n"
+"        proxy-type=\"attribute\"&gt;jboss.remoting:service=SocketBuilder,"
+"type=SSL&lt;/depends&gt;\n"
+"  &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2002
@@ -7026,6 +8167,36 @@
 "     &lt;depends&gt;jboss.remoting:service=NetworkRegistry&lt;/depends&gt;\n"
 "  &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.remoting.transport.Connector\"\n"
+"         xmbean-dd=\"org/jboss/remoting/transport/Connector.xml\"\n"
+"         name=\"jboss.remoting:service=Connector,transport=sslsocket\"&gt; \n"
+"         display-name=\"SSL Socket transport Connector\"&gt;\n"
+"\n"
+"     &lt;attribute name=\"Configuration\"&gt;\n"
+"        &lt;config&gt;\n"
+"            &lt;invoker transport=\"sslsocket\"&gt;\n"
+"              &lt;attribute name=\"serverSocketFactory\"&gt;\n"
+"              jboss.remoting:service=ServerSocketFactory,type=SSL\n"
+"              &lt;/attribute&gt;\n"
+"              &lt;attribute name=\"serverBindAddress\"&gt;${jboss.bind."
+"address}&lt;/attribute&gt;\n"
+"              &lt;attribute name=\"serverBindPort\"&gt;3843&lt;/"
+"attribute&gt;\n"
+"           &lt;/invoker&gt;\n"
+"           &lt;handlers&gt;\n"
+"              &lt;handler subsystem=\"invoker\"&gt;jboss:service=invoker,"
+"type=unified&lt;/handler&gt;           \n"
+"           &lt;/handlers&gt;\n"
+"        &lt;/config&gt;\n"
+"     &lt;/attribute&gt;\n"
+"     &lt;!--If you specify the keystore and password in the command line and "
+"you're \n"
+"        not using the custom ServerSocketFactory, you should take out the "
+"following line--&gt;\n"
+"     &lt;depends&gt;jboss.remoting:service=ServerSocketFactory,type=SSL&lt;/"
+"depends&gt;\n"
+"     &lt;depends&gt;jboss.remoting:service=NetworkRegistry&lt;/depends&gt;\n"
+"  &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2011
@@ -7063,7 +8234,7 @@
 #: J2EE_Security_On_JBOSS.xml:2031 J2EE_Security_On_JBOSS.xml:2170
 #, no-c-format
 msgid "Port"
-msgstr ""
+msgstr "Puerto"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2034 J2EE_Security_On_JBOSS.xml:2173
@@ -7073,9 +8244,9 @@
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2037 J2EE_Security_On_JBOSS.xml:2176
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Service"
-msgstr "Servicios HTTP"
+msgstr "Servicio"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2040 J2EE_Security_On_JBOSS.xml:2179
@@ -7087,7 +8258,7 @@
 #: J2EE_Security_On_JBOSS.xml:2047
 #, no-c-format
 msgid "1098"
-msgstr ""
+msgstr "1098"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2050 J2EE_Security_On_JBOSS.xml:2061
@@ -7100,80 +8271,79 @@
 #: J2EE_Security_On_JBOSS.xml:2269
 #, no-c-format
 msgid "<entry>TCP</entry>"
-msgstr ""
+msgstr "<entry>TCP</entry>"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2054 J2EE_Security_On_JBOSS.xml:2065
 #, no-c-format
 msgid "org.jboss.naming.NamingService"
-msgstr ""
+msgstr "org.jboss.naming.NamingService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2058
 #, no-c-format
 msgid "1099"
-msgstr ""
+msgstr "1099"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2069
 #, no-c-format
 msgid "3873"
-msgstr ""
+msgstr "3873"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2075
 #, no-c-format
 msgid "<literal>org.jboss.remoting.transport.Connector</literal> (EJB3)"
-msgstr ""
+msgstr "<literal>org.jboss.remoting.transport.Connector</literal> (EJB3)"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2080
 #, no-c-format
 msgid "4444"
-msgstr ""
+msgstr "4444"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2087
 #, 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:2091
 #, no-c-format
 msgid "4445"
-msgstr ""
+msgstr "4445"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2098
 #, 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:2102
 #, no-c-format
 msgid "4446"
-msgstr ""
+msgstr "4446"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2108
 #, no-c-format
-msgid ""
-"<literal>org.jboss.remoting.transport.Connector</literal> (UnifiedInvoker)"
-msgstr ""
+msgid "<literal>org.jboss.remoting.transport.Connector</literal> (UnifiedInvoker)"
+msgstr "<literal>org.jboss.remoting.transport.Connector</literal> (UnifiedInvoker)"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2113
 #, no-c-format
 msgid "4457"
-msgstr ""
+msgstr "4457"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2119
 #, no-c-format
 msgid "<literal>org.jboss.remoting.transport.Connector</literal> (Messaging)"
-msgstr ""
+msgstr "<literal>org.jboss.remoting.transport.Connector</literal> (Messaging)"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2122
@@ -7188,31 +8358,31 @@
 #: J2EE_Security_On_JBOSS.xml:2127
 #, no-c-format
 msgid "8009"
-msgstr ""
+msgstr "8009"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2134 J2EE_Security_On_JBOSS.xml:2145
 #, no-c-format
 msgid "org.jboss.web.tomcat.service.JBossWeb"
-msgstr ""
+msgstr "org.jboss.web.tomcat.service.JBossWeb"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2138
 #, no-c-format
 msgid "8080"
-msgstr ""
+msgstr "8080"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2149
 #, no-c-format
 msgid "8083"
-msgstr ""
+msgstr "8083"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2156
 #, no-c-format
 msgid "org.jboss.web.WebService"
-msgstr ""
+msgstr "org.jboss.web.WebService"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2163
@@ -7224,26 +8394,26 @@
 #: J2EE_Security_On_JBOSS.xml:2186
 #, no-c-format
 msgid "1100"
-msgstr ""
+msgstr "1100"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2193 J2EE_Security_On_JBOSS.xml:2204
 #: J2EE_Security_On_JBOSS.xml:2215
 #, no-c-format
 msgid "org.jboss.ha.jndi.HANamingService"
-msgstr ""
+msgstr "org.jboss.ha.jndi.HANamingService"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2197
 #, no-c-format
 msgid "1101"
-msgstr ""
+msgstr "1101"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2208
 #, no-c-format
 msgid "1102"
-msgstr ""
+msgstr "1102"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2211 J2EE_Security_On_JBOSS.xml:2222
@@ -7253,19 +8423,19 @@
 #: J2EE_Security_On_JBOSS.xml:2350
 #, no-c-format
 msgid "<entry>UDP</entry>"
-msgstr ""
+msgstr "<entry>UDP</entry>"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2219
 #, no-c-format
 msgid "1161"
-msgstr ""
+msgstr "1161"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2226
 #, 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:2228
@@ -7279,43 +8449,43 @@
 #: J2EE_Security_On_JBOSS.xml:2233
 #, no-c-format
 msgid "1162"
-msgstr ""
+msgstr "1162"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2240
 #, 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:2244
 #, no-c-format
 msgid "3528"
-msgstr ""
+msgstr "3528"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2251
 #, no-c-format
 msgid "org.jboss.invocation.iiop.IIOPInvoker"
-msgstr ""
+msgstr "org.jboss.invocation.iiop.IIOPInvoker"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2255
 #, no-c-format
 msgid "4447"
-msgstr ""
+msgstr "4447"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2262
 #, 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:2266
 #, no-c-format
 msgid "7900"
-msgstr ""
+msgstr "7900"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2272
@@ -7337,13 +8507,13 @@
 #: J2EE_Security_On_JBOSS.xml:2280
 #, no-c-format
 msgid "43333"
-msgstr ""
+msgstr "43333"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2286
 #, no-c-format
 msgid "<literal>org.jboss.cache.TreeCache</literal> (EJB3Entity)"
-msgstr ""
+msgstr "<literal>org.jboss.cache.TreeCache</literal> (EJB3Entity)"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2289 J2EE_Security_On_JBOSS.xml:2303
@@ -7360,31 +8530,31 @@
 #: J2EE_Security_On_JBOSS.xml:2294
 #, no-c-format
 msgid "45551"
-msgstr ""
+msgstr "45551"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2300
 #, no-c-format
 msgid "<literal>org.jboss.cache.TreeCache</literal> (EJB3SFSB)"
-msgstr ""
+msgstr "<literal>org.jboss.cache.TreeCache</literal> (EJB3SFSB)"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2308
 #, no-c-format
 msgid "45566"
-msgstr ""
+msgstr "45566"
 
 #. Tag: literal
 #: J2EE_Security_On_JBOSS.xml:2315
 #, no-c-format
 msgid "org.jboss.ha.framework.server.ClusterPartition"
-msgstr ""
+msgstr "org.jboss.ha.framework.server.ClusterPartition"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2322
 #, no-c-format
 msgid "45567"
-msgstr ""
+msgstr "45567"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2328
@@ -7398,7 +8568,7 @@
 #: J2EE_Security_On_JBOSS.xml:2333
 #, no-c-format
 msgid "45568"
-msgstr ""
+msgstr "45568"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2339
@@ -7407,18 +8577,20 @@
 "<literal>org.jboss.messaging.core.jmx.MessagingPostOfficeService</literal> "
 "(Messaging, ControlChannel)"
 msgstr ""
+"<literal>org.jboss.messaging.core.jmx.MessagingPostOfficeService</literal> "
+"(Messaging, ControlChannel)"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2347
 #, no-c-format
 msgid "45577"
-msgstr ""
+msgstr "45577"
 
 #. Tag: entry
 #: J2EE_Security_On_JBOSS.xml:2353
 #, no-c-format
 msgid "<literal>org.jboss.cache.TreeCache</literal> (JBossWebCluster)"
-msgstr ""
+msgstr "<literal>org.jboss.cache.TreeCache</literal> (JBossWebCluster)"
 
 #. Tag: title
 #: J2EE_Security_On_JBOSS.xml:2366
@@ -7457,7 +8629,7 @@
 #: J2EE_Security_On_JBOSS.xml:2378
 #, no-c-format
 msgid "The Web Console"
-msgstr ""
+msgstr "La consola web"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2379
@@ -7478,7 +8650,7 @@
 #: J2EE_Security_On_JBOSS.xml:2385
 #, no-c-format
 msgid "The HTTP Invokers"
-msgstr ""
+msgstr "Los invocadores HTTP"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2386
@@ -7505,7 +8677,7 @@
 #: J2EE_Security_On_JBOSS.xml:2392
 #, no-c-format
 msgid "The JMX Invoker"
-msgstr ""
+msgstr "El invocador JMX"
 
 #. Tag: para
 #: J2EE_Security_On_JBOSS.xml:2393
@@ -7519,3 +8691,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/enterprise/4.3.3/Server_Configuration_Guide/es-ES/Web_Services.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/Web_Services.po	2009-05-11 06:54:15 UTC (rev 88595)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/es-ES/Web_Services.po	2009-05-11 07:00:53 UTC (rev 88596)
@@ -1,24 +1,26 @@
+# 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, 2009 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: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-05-11 11:21+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:5
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Web Services"
-msgstr "Servicios HTTP"
+msgstr "Servicios web"
 
 #. Tag: para
 #: Web_Services.xml:6
@@ -67,6 +69,20 @@
 "                &lt;/operation&gt;\n"
 "        &lt;/binding&gt;"
 msgstr ""
+"&lt;binding name=&#39;EndpointInterfaceBinding&#39; type=&#39;tns:"
+"EndpointInterface&#39;&gt;\n"
+"        &lt;soap:binding style=&#39;document&#39; transport=&#39;http://"
+"schemas.xmlsoap.org/soap/http&#39;/&gt;\n"
+"                &lt;operation name=&#39;concat&#39;&gt;\n"
+"                &lt;soap:operation soapAction=&#39;&#39;/&gt;\n"
+"                        &lt;input&gt;\n"
+"                        &lt;soap:body use=&#39;literal&#39;/&gt;\n"
+"                        &lt;/input&gt;\n"
+"                        &lt;output&gt;\n"
+"                                &lt;soap:body use=&#39;literal&#39;/&gt;\n"
+"                        &lt;/output&gt;\n"
+"                &lt;/operation&gt;\n"
+"        &lt;/binding&gt;"
 
 #. Tag: para
 #: Web_Services.xml:17
@@ -100,6 +116,25 @@
 "&gt;\n"
 "&lt;/message&gt;"
 msgstr ""
+"&lt;complexType name=&#39;concatType&#39;&gt;\n"
+"        &lt;sequence&gt;\n"
+"                &lt;element name=&#39;String_1&#39; nillable=&#39;true&#39; "
+"type=&#39;string&#39;/&gt;\n"
+"                &lt;element name=&#39;long_1&#39; type=&#39;long&#39;/&gt;\n"
+"        &lt;/sequence&gt;\n"
+"        &lt;/complexType&gt;\n"
+"        &lt;element name=&#39;concat&#39; type=&#39;tns:concatType&#39;/"
+"&gt;\n"
+"        Therefore, message parts must refer to an element from the schema. \n"
+"        &lt;message name=&#39;EndpointInterface_concat&#39;&gt;\n"
+"                &lt;part name=&#39;parameters&#39; element=&#39;tns:"
+"concat&#39;/&gt;\n"
+"        &lt;/message&gt;\n"
+"The following message definition is invalid. \n"
+"&lt;message name=&#39;EndpointInterface_concat&#39;&gt;\n"
+"        &lt;part name=&#39;parameters&#39; type=&#39;tns:concatType&#39;/"
+"&gt;\n"
+"&lt;/message&gt;"
 
 #. Tag: title
 #: Web_Services.xml:24
@@ -132,6 +167,16 @@
 "  }\n"
 " }"
 msgstr ""
+"@WebService\n"
+" @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n"
+" public class DocBareServiceImpl\n"
+" {\n"
+" @WebMethod\n"
+"  public SubmitBareResponse submitPO(SubmitBareRequest poRequest)\n"
+"  {\n"
+"    ...\n"
+"  }\n"
+" }"
 
 #. Tag: para
 #: Web_Services.xml:29
@@ -158,6 +203,18 @@
 "  ...\n"
 " }"
 msgstr ""
+"@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"
+" }"
 
 #. Tag: title
 #: Web_Services.xml:36
@@ -231,6 +288,22 @@
 "         &lt;/operation&gt;\n"
 " &lt;/binding&gt;"
 msgstr ""
+"&lt;binding name=&#39;EndpointInterfaceBinding&#39; type=&#39;tns:"
+"EndpointInterface&#39;&gt;\n"
+"         &lt;soap:binding style=&#39;rpc&#39; transport=&#39;http://schemas."
+"xmlsoap.org/soap/http&#39;/&gt;\n"
+"         &lt;operation name=&#39;echo&#39;&gt;\n"
+"                 &lt;soap:operation soapAction=&#39;&#39;/&gt;\n"
+"                 &lt;input&gt;\n"
+"                         &lt;soap:body namespace=&#39;http://org.jboss.ws/"
+"samples/jsr181pojo&#39; use=&#39;literal&#39;/&gt;\n"
+"                 &lt;/input&gt;\n"
+"                 &lt;output&gt;\n"
+"                         &lt;soap:body namespace=&#39;http://org.jboss.ws/"
+"samples/jsr181pojo&#39; use=&#39;literal&#39;/&gt;\n"
+"                 &lt;/output&gt;\n"
+"         &lt;/operation&gt;\n"
+" &lt;/binding&gt;"
 
 #. Tag: para
 #: Web_Services.xml:62
@@ -355,6 +428,16 @@
 "    }\n"
 " }"
 msgstr ""
+"@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:105
@@ -370,7 +453,7 @@
 
 #. Tag: programlisting
 #: Web_Services.xml:108
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;web-app ...&gt;\n"
 "         &lt;servlet&gt;\n"
@@ -384,17 +467,17 @@
 "                         &lt;/servlet-mapping&gt;\n"
 "&lt;/web-app&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;web-app ...&gt;\n"
+"         &lt;servlet&gt;\n"
+"         &lt;servlet-name&gt;TestService&lt;/servlet-name&gt;\n"
+"         &lt;servlet-class&gt;org.jboss.test.ws.jaxws.samples.jsr181pojo."
+"JSEBean01&lt;/servlet-class&gt;\n"
+"         &lt;/servlet&gt;\n"
+"         &lt;servlet-mapping&gt;\n"
+"                 &lt;servlet-name&gt;TestService&lt;/servlet-name&gt;\n"
+"                 &lt;url-pattern&gt;/*&lt;/url-pattern&gt;\n"
+"                         &lt;/servlet-mapping&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: title
 #: Web_Services.xml:113
@@ -440,7 +523,7 @@
 #: Web_Services.xml:127 Web_Services.xml:154
 #, no-c-format
 msgid "http://yourhost:8080/jbossws/services"
-msgstr ""
+msgstr "http://yourhost:8080/jbossws/services"
 
 #. Tag: para
 #: Web_Services.xml:127 Web_Services.xml:155
@@ -488,6 +571,20 @@
 "  }\n"
 "  }"
 msgstr ""
+"@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:138
@@ -506,8 +603,7 @@
 #. Tag: para
 #: Web_Services.xml:144
 #, 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
@@ -524,6 +620,15 @@
 "&lt;/fileset&gt;\n"
 "&lt;/jar&gt;"
 msgstr ""
+"&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:149
@@ -580,6 +685,15 @@
 " }\n"
 "}"
 msgstr ""
+"@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:172
@@ -592,9 +706,9 @@
 
 #. Tag: title
 #: Web_Services.xml:178
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "WebServiceContext"
-msgstr "Servir Contenido Estático"
+msgstr "WebServiceContext"
 
 #. Tag: para
 #: Web_Services.xml:179
@@ -639,6 +753,33 @@
 "}\n"
 "}"
 msgstr ""
+"@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"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:186
@@ -648,9 +789,9 @@
 
 #. Tag: title
 #: Web_Services.xml:188
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Service"
-msgstr "Servicios HTTP"
+msgstr "Servicio"
 
 #. Tag: para
 #: Web_Services.xml:189
@@ -673,9 +814,9 @@
 
 #. Tag: title
 #: Web_Services.xml:196
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Service Usage"
-msgstr "Servicios HTTP"
+msgstr "Uso del servicio"
 
 #. Tag: emphasis
 #: Web_Services.xml:198
@@ -746,6 +887,26 @@
 "...\n"
 "}"
 msgstr ""
+"// 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:213
@@ -783,6 +944,10 @@
 "MyService&quot;);\n"
 "Service service = Service.create(wsdlLocation, serviceName);"
 msgstr ""
+"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:223
@@ -933,12 +1098,32 @@
 "        }\n"
 "  }"
 msgstr ""
+"@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"
+"  }"
 
 #. Tag: title
 #: Web_Services.xml:263
 #, no-c-format
 msgid "WebServiceRef"
-msgstr ""
+msgstr "WebServiceRef"
 
 #. Tag: para
 #: Web_Services.xml:264
@@ -993,6 +1178,13 @@
 " @WebServiceRef\n"
 " public TestEndpoint port3;"
 msgstr ""
+"public class EJB3Client implements EJB3Remote\n"
+"{\n"
+" @WebServiceRef\n"
+" public TestEndpointService service4;\n"
+"   \n"
+" @WebServiceRef\n"
+" public TestEndpoint port3;"
 
 #. Tag: emphasis
 #: Web_Services.xml:284
@@ -1030,7 +1222,7 @@
 #: Web_Services.xml:306
 #, no-c-format
 msgid "Example:"
-msgstr ""
+msgstr "Ejemplo:"
 
 #. Tag: programlisting
 #: Web_Services.xml:309
@@ -1072,6 +1264,41 @@
 "&lt;/port-info&gt;\n"
 "&lt;/service-ref&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:310
@@ -1201,6 +1428,20 @@
 "assertEquals(&quot;Async&quot;, retStr);\n"
 "}"
 msgstr ""
+"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"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:347
@@ -1243,6 +1484,27 @@
 "}\n"
 "}"
 msgstr ""
+"@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"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:357
@@ -1358,6 +1620,12 @@
 "...\n"
 "}"
 msgstr ""
+"@WebService\n"
+"@HandlerChain(file = &quot;jaxws-server-source-handlers.xml&quot;)\n"
+"public class SOAPEndpointSourceImpl\n"
+"{\n"
+"...\n"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:392
@@ -1410,6 +1678,15 @@
 "handlerChain.add(new RoutingHandler());\n"
 "bindingProvider.getBinding().setHandlerChain(handlerChain); // important!"
 msgstr ""
+"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!"
 
 #. Tag: title
 #: Web_Services.xml:414
@@ -1504,6 +1781,15 @@
 "throw new SOAPFaultException(fault);\n"
 "}"
 msgstr ""
+"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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:443
@@ -1521,15 +1807,20 @@
 "error&quot;);\n"
 "}"
 msgstr ""
+"public void throwApplicationException() throws UserException\n"
+"{\n"
+"throw new UserException(&quot;validation&quot;, 123, &quot;Some validation "
+"error&quot;);\n"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:449 Web_Services.xml:576 Web_Services.xml:609
 #: Web_Services.xml:781 Web_Services.xml:814 Web_Services.xml:956
 #: Web_Services.xml:1128 Web_Services.xml:1362 Web_Services.xml:1486
 #: Web_Services.xml:1501
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Note"
-msgstr "Notas"
+msgstr "Nota"
 
 #. Tag: para
 #: Web_Services.xml:450
@@ -1543,7 +1834,7 @@
 #: Web_Services.xml:460
 #, no-c-format
 msgid "DataBinding"
-msgstr ""
+msgstr "DataBinding"
 
 #. Tag: title
 #: Web_Services.xml:462
@@ -1555,7 +1846,7 @@
 #: Web_Services.xml:463
 #, no-c-format
 msgid "Since 2.0.2"
-msgstr ""
+msgstr "Desde 2.0.2"
 
 #. Tag: para
 #: Web_Services.xml:466
@@ -1593,7 +1884,7 @@
 #: Web_Services.xml:478
 #, 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:482
@@ -1617,7 +1908,7 @@
 #: Web_Services.xml:499
 #, no-c-format
 msgid "MTOM/XOP"
-msgstr ""
+msgstr "MTOM/XOP"
 
 #. Tag: para
 #: Web_Services.xml:500
@@ -1657,19 +1948,19 @@
 #: Web_Services.xml:528
 #, no-c-format
 msgid "java.awt.Image"
-msgstr ""
+msgstr "java.awt.Image"
 
 #. Tag: para
 #: Web_Services.xml:535
 #, no-c-format
 msgid "text/xml"
-msgstr ""
+msgstr "texto/xml"
 
 #. Tag: para
 #: Web_Services.xml:540 Web_Services.xml:552
 #, no-c-format
 msgid "javax.xml.transform.Source"
-msgstr ""
+msgstr "javax.xml.transform.Source"
 
 #. Tag: para
 #: Web_Services.xml:547
@@ -1687,7 +1978,7 @@
 #: Web_Services.xml:564
 #, no-c-format
 msgid "javax.activation.DataHandler"
-msgstr ""
+msgstr "javax.activation.DataHandler"
 
 #. Tag: para
 #: Web_Services.xml:571
@@ -1751,6 +2042,23 @@
 "[...]\n"
 "}"
 msgstr ""
+"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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:595
@@ -1785,6 +2093,13 @@
 "binding = (SOAPBinding)((BindingProvider)port).getBinding();\n"
 "binding.setMTOMEnabled(true);"
 msgstr ""
+"[...]\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);"
 
 #. Tag: para
 #: Web_Services.xml:610
@@ -1798,13 +2113,13 @@
 #: Web_Services.xml:620
 #, no-c-format
 msgid "SwaRef"
-msgstr ""
+msgstr "SwaRef"
 
 #. Tag: para
 #: Web_Services.xml:621
 #, no-c-format
 msgid "Since 2.0"
-msgstr ""
+msgstr "Desde 2.0"
 
 #. Tag: para
 #: Web_Services.xml:624
@@ -1871,6 +2186,35 @@
 "}\n"
 "}"
 msgstr ""
+"/**\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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:633
@@ -1898,6 +2242,18 @@
 "  \n"
 "}"
 msgstr ""
+"@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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:637
@@ -1921,6 +2277,17 @@
 "&lt;/env:Body&gt;\n"
 "&lt;/env:Envelope&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: title
 #: Web_Services.xml:644
@@ -1944,6 +2311,8 @@
 "&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;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:649
@@ -1955,7 +2324,7 @@
 #: Web_Services.xml:659
 #, no-c-format
 msgid "Tools"
-msgstr ""
+msgstr "Herramientas"
 
 #. Tag: para
 #: Web_Services.xml:660
@@ -1988,8 +2357,7 @@
 #. Tag: para
 #: Web_Services.xml:673
 #, 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
@@ -2032,7 +2400,7 @@
 #: Web_Services.xml:708
 #, no-c-format
 msgid "Command"
-msgstr ""
+msgstr "Comando"
 
 #. Tag: emphasis
 #: Web_Services.xml:713
@@ -2044,7 +2412,7 @@
 #: Web_Services.xml:720
 #, no-c-format
 msgid "wsprovide"
-msgstr ""
+msgstr "wsprovide"
 
 #. Tag: para
 #: Web_Services.xml:724
@@ -2058,7 +2426,7 @@
 #: Web_Services.xml:732
 #, no-c-format
 msgid "wsconsume"
-msgstr ""
+msgstr "wsconsume"
 
 #. Tag: para
 #: Web_Services.xml:736
@@ -2071,9 +2439,9 @@
 
 #. Tag: ulink
 #: Web_Services.xml:744
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "wsrunclient"
-msgstr "client"
+msgstr "wsrunclient"
 
 #. Tag: para
 #: Web_Services.xml:748
@@ -2120,6 +2488,16 @@
 "}\n"
 "}"
 msgstr ""
+"package echo;\n"
+"  \n"
+"@javax.jws.WebService\n"
+"public class Echo\n"
+"{\n"
+"public String echo(String input)\n"
+"{\n"
+"return input;\n"
+"}\n"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:764
@@ -2161,6 +2539,13 @@
 "echo/jaxws/Echo.class\n"
 "echo/jaxws/EchoResponse.class"
 msgstr ""
+"$ 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"
 
 #. Tag: para
 #: Web_Services.xml:771
@@ -2178,6 +2563,11 @@
 "&lt;/port&gt;\n"
 "&lt;/service&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:775
@@ -2196,6 +2586,12 @@
 "&lt;/operation&gt;\n"
 "&lt;/portType&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:782
@@ -2235,6 +2631,22 @@
 "&lt;/servlet-mapping&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:791
@@ -2257,6 +2669,16 @@
 "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%)"
 msgstr ""
+"$ 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%)"
 
 #. Tag: para
 #: Web_Services.xml:795
@@ -2268,7 +2690,7 @@
 #: Web_Services.xml:798
 #, no-c-format
 msgid "cp echo.war jboss-as/server/default/deploy"
-msgstr ""
+msgstr "cp echo.war jboss-as/server/default/deploy"
 
 #. Tag: para
 #: Web_Services.xml:799
@@ -2341,6 +2763,19 @@
 "echo/ObjectFactory.java\n"
 "echo/package-info.java"
 msgstr ""
+"$ 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"
 
 #. Tag: para
 #: Web_Services.xml:824
@@ -2352,19 +2787,19 @@
 #: Web_Services.xml:834
 #, no-c-format
 msgid "File"
-msgstr ""
+msgstr "Archivo"
 
 #. Tag: emphasis
 #: Web_Services.xml:839
 #, no-c-format
 msgid "Purpose"
-msgstr ""
+msgstr "Propósito"
 
 #. Tag: para
 #: Web_Services.xml:845
 #, no-c-format
 msgid "Echo.java"
-msgstr ""
+msgstr "Echo.java"
 
 #. Tag: para
 #: Web_Services.xml:850
@@ -2376,7 +2811,7 @@
 #: Web_Services.xml:857
 #, no-c-format
 msgid "Echo_Type.java"
-msgstr ""
+msgstr "Echo_Type.java"
 
 #. Tag: para
 #: Web_Services.xml:862
@@ -2388,7 +2823,7 @@
 #: Web_Services.xml:869
 #, no-c-format
 msgid "EchoResponse.java"
-msgstr ""
+msgstr "EchoResponse.java"
 
 #. Tag: para
 #: Web_Services.xml:874
@@ -2400,7 +2835,7 @@
 #: Web_Services.xml:881
 #, no-c-format
 msgid "ObjectFactory.java"
-msgstr ""
+msgstr "ObjectFactory.java"
 
 #. Tag: para
 #: Web_Services.xml:886
@@ -2412,7 +2847,7 @@
 #: Web_Services.xml:893
 #, no-c-format
 msgid "package-info.java"
-msgstr ""
+msgstr "package-info.java"
 
 #. Tag: para
 #: Web_Services.xml:898
@@ -2424,7 +2859,7 @@
 #: Web_Services.xml:905
 #, no-c-format
 msgid "EchoService.java"
-msgstr ""
+msgstr "EchoService.java"
 
 #. Tag: para
 #: Web_Services.xml:910
@@ -2460,6 +2895,20 @@
 "  \n"
 "}"
 msgstr ""
+"@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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:921
@@ -2484,6 +2933,16 @@
 "}\n"
 "}"
 msgstr ""
+"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"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:928
@@ -2536,7 +2995,7 @@
 #: Web_Services.xml:939
 #, no-c-format
 msgid "Online version:"
-msgstr ""
+msgstr "Versión en línea:"
 
 #. Tag: programlisting
 #: Web_Services.xml:942
@@ -2549,6 +3008,12 @@
 "&lt;/port&gt;\n"
 "&lt;/service&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:943
@@ -2576,6 +3041,19 @@
 "echo/ObjectFactory.java\n"
 "echo/package-info.java"
 msgstr ""
+"$ 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"
 
 #. Tag: para
 #: Web_Services.xml:947
@@ -2622,6 +3100,38 @@
 "}\n"
 "}"
 msgstr ""
+"@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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:951
@@ -2673,6 +3183,23 @@
 "} \n"
 "}"
 msgstr ""
+"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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:966
@@ -2690,6 +3217,8 @@
 "$ wsrunclient EchoClient &apos;Hello World!&apos;\n"
 "Server said: Hello World!"
 msgstr ""
+"$ wsrunclient EchoClient &apos;Hello World!&apos;\n"
+"Server said: Hello World!"
 
 #. Tag: para
 #: Web_Services.xml:970
@@ -2716,6 +3245,18 @@
 "System.out.println(&quot;Server said: &quot; + echo.echo(args[0]));\n"
 "..."
 msgstr ""
+"...\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"
+"..."
 
 #. Tag: title
 #: Web_Services.xml:977
@@ -2727,19 +3268,19 @@
 #: Web_Services.xml:981
 #, no-c-format
 msgid "wsconsume reference page"
-msgstr ""
+msgstr "Página de referencia wsconsume"
 
 #. Tag: ulink
 #: Web_Services.xml:986
 #, no-c-format
 msgid "wsprovide reference page"
-msgstr ""
+msgstr "Página de referencia wsprovide"
 
 #. Tag: ulink
 #: Web_Services.xml:991
 #, no-c-format
 msgid "wsrunclient reference page"
-msgstr ""
+msgstr "Página de referencia wsrunclient"
 
 #. Tag: title
 #: Web_Services.xml:998
@@ -2757,7 +3298,7 @@
 #: Web_Services.xml:1005
 #, 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:1009
@@ -2793,9 +3334,9 @@
 
 #. Tag: title
 #: Web_Services.xml:1031 Web_Services.xml:1107
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "<title>Specifications</title>"
-msgstr "<title>FD</title>"
+msgstr "<title>Especificaciones</title>"
 
 #. Tag: para
 #: Web_Services.xml:1032
@@ -2860,6 +3401,28 @@
 "{ ... }\n"
 "}"
 msgstr ""
+"@WebService(name = &quot;StatefulEndpoint&quot;, targetNamespace = &quot;"
+"http://org.jboss.ws/samples/wsaddressing\n"
+"                                         &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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1055
@@ -2899,6 +3462,22 @@
 "  \n"
 "&lt;/handler-chains&gt;"
 msgstr ""
+"&lt;handler-chains xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; \n"
+"                                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;"
 
 #. Tag: para
 #: Web_Services.xml:1062
@@ -2942,6 +3521,14 @@
 "customHandlerChain.add(new WSAddressingClientHandler());\n"
 "bindingProvider.getBinding().setHandlerChain(customHandlerChain);"
 msgstr ""
+"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);"
 
 #. Tag: para
 #: Web_Services.xml:1076
@@ -2982,6 +3569,26 @@
 "}\n"
 "}"
 msgstr ""
+"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"
+"}"
 
 #. Tag: emphasis
 #: Web_Services.xml:1084 Web_Services.xml:1459
@@ -3073,6 +3680,79 @@
 "&lt;/env:Body&gt;\n"
 "&lt;/env:Envelope&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: title
 #: Web_Services.xml:1095
@@ -3107,8 +3787,7 @@
 #. Tag: para
 #: Web_Services.xml:1108
 #, 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
@@ -3129,8 +3808,7 @@
 msgid ""
 "The following section will introduce the main eventing actors and their "
 "responsiblities."
-msgstr ""
-"Los siguientes son los archivos en el directorio deploy y sus funciones:"
+msgstr "Los siguientes son los archivos en el directorio deploy y sus funciones:"
 
 #. Tag: para
 #: Web_Services.xml:1129
@@ -3145,7 +3823,7 @@
 #: Web_Services.xml:1137
 #, no-c-format
 msgid "Collaboration"
-msgstr ""
+msgstr "Colaboración"
 
 #. Tag: para
 #: Web_Services.xml:1141
@@ -3204,7 +3882,7 @@
 #: Web_Services.xml:1165
 #, no-c-format
 msgid "The relevant steps are:"
-msgstr ""
+msgstr "Los pasos relevantes son:"
 
 #. Tag: para
 #: Web_Services.xml:1170
@@ -3283,12 +3961,48 @@
 "}\n"
 "}"
 msgstr ""
+"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: Web_Services.xml,v 1.2 2007/11/22 13:30:13 vrenish Exp $\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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1190
 #, no-c-format
 msgid "Of course we need a <literal>@WebService</literal> annotation"
-msgstr ""
+msgstr "Por supuesto necesitamos una anotación <literal>@WebService</literal>"
 
 #. Tag: para
 #: Web_Services.xml:1195
@@ -3299,8 +4013,7 @@
 #. Tag: para
 #: Web_Services.xml:1200
 #, 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
@@ -3407,6 +4120,75 @@
 "  \n"
 "&lt;/wsdl:definitions&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:1223
@@ -3454,7 +4236,7 @@
 #: Web_Services.xml:1250
 #, no-c-format
 msgid "java:/EventDispatcher"
-msgstr ""
+msgstr "java:/EventDispatcher"
 
 #. Tag: para
 #: Web_Services.xml:1251
@@ -3471,12 +4253,16 @@
 "void dispatch(URI eventSourceNS, Element payload);\n"
 "}"
 msgstr ""
+"public interface EventDispatcher\n"
+"{\n"
+"void dispatch(URI eventSourceNS, Element payload);\n"
+"}"
 
 #. Tag: emphasis
 #: Web_Services.xml:1256
 #, no-c-format
 msgid "Example notification"
-msgstr ""
+msgstr "Notificación de ejemplo"
 
 #. Tag: programlisting
 #: Web_Services.xml:1258
@@ -3497,6 +4283,20 @@
 "//\n"
 "}"
 msgstr ""
+"(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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1261
@@ -3534,7 +4334,7 @@
 #: Web_Services.xml:1284
 #, no-c-format
 msgid "jboss.ws.eventing:service=SubscriptionManager"
-msgstr ""
+msgstr "jboss.ws.eventing:service=SubscriptionManager"
 
 #. Tag: para
 #: Web_Services.xml:1285
@@ -3556,20 +4356,19 @@
 #: Web_Services.xml:1295
 #, no-c-format
 msgid "maximumPoolSize - maximum number of threads"
-msgstr ""
+msgstr "maximumPoolSize - número máximo de hilos"
 
 #. Tag: para
 #: Web_Services.xml:1300
 #, 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
 #: Web_Services.xml:1310
 #, no-c-format
 msgid "WS-Security"
-msgstr ""
+msgstr "WS-Security"
 
 #. Tag: para
 #: Web_Services.xml:1311
@@ -3595,13 +4394,12 @@
 #: Web_Services.xml:1318
 #, no-c-format
 msgid "<emphasis>Specifications</emphasis>"
-msgstr ""
+msgstr "<emphasis>Especificaciones</emphasis>"
 
 #. Tag: para
 #: Web_Services.xml:1320
 #, 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
@@ -3707,6 +4505,23 @@
 "&lt;/config&gt;\n"
 "&lt;/jboss-ws-security&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:1378
@@ -3798,6 +4613,12 @@
 "...\n"
 "}"
 msgstr ""
+"@WebService\n"
+"@EndpointConfig(configName = &quot;Standard WSSecurity Endpoint&quot;)\n"
+"public class HelloJavaBean\n"
+"{\n"
+"...\n"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:1425
@@ -3822,6 +4643,18 @@
 "&lt;/config&gt;\n"
 "&lt;/jboss-ws-security&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:1429
@@ -3898,6 +4731,20 @@
 "&lt;sysproperty key=&quot;org.jboss.ws.wsse.trustStoreType&quot; value=&quot;"
 "jks&quot;/&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:1461
@@ -3944,6 +4791,30 @@
 "&lt;/env:Body&gt;\n"
 "&lt;/env:Envelope&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: title
 #: Web_Services.xml:1473
@@ -3978,6 +4849,8 @@
 "security.provider.&lt;n&gt;=org.bouncycastle.jce.provider."
 "BouncyCastleProvider"
 msgstr ""
+"security.provider.&lt;n&gt;=org.bouncycastle.jce.provider."
+"BouncyCastleProvider"
 
 #. Tag: para
 #: Web_Services.xml:1481
@@ -4086,9 +4959,9 @@
 
 #. Tag: para
 #: Web_Services.xml:1534
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "DataSources configuration"
-msgstr "Configuración de JBoss"
+msgstr "Configuración de DataSources"
 
 #. Tag: programlisting
 #: Web_Services.xml:1537
@@ -4098,6 +4971,9 @@
 "&lt;attribute name=&quot;DataSourceUrl&quot;&gt;java:/DefaultDS&lt;/"
 "attribute&gt;"
 msgstr ""
+"&lt;!-- Datasource to Database--&gt;\n"
+"&lt;attribute name=&quot;DataSourceUrl&quot;&gt;java:/DefaultDS&lt;/"
+"attribute&gt;"
 
 #. Tag: para
 #: Web_Services.xml:1538
@@ -4123,6 +4999,17 @@
 "                                                          &lt;attribute "
 "name=&quot;DropOnStart&quot;&gt;false&lt;/attribute&gt;"
 msgstr ""
+"&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;"
 
 #. Tag: para
 #: Web_Services.xml:1542
@@ -4149,9 +5036,9 @@
 
 #. Tag: para
 #: Web_Services.xml:1546
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "Other common configuration:"
-msgstr "Configuración del cliente"
+msgstr "Otra configuración común:"
 
 #. Tag: para
 #: Web_Services.xml:1549
@@ -4176,9 +5063,9 @@
 
 #. Tag: title
 #: Web_Services.xml:1556
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "JBoss JAXR Configuration"
-msgstr "Configuración de JBoss"
+msgstr "Configuración de JBoss JAXR"
 
 #. Tag: para
 #: Web_Services.xml:1557
@@ -4199,6 +5086,11 @@
 "jaxr.publish.url=http://localhost:8080/juddi/publish\n"
 "juddi.proxy.transportClass=org.jboss.jaxr.juddi.transport.SaajTransport"
 msgstr ""
+"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"
 
 #. Tag: para
 #: Web_Services.xml:1561
@@ -4236,7 +5128,7 @@
 #: Web_Services.xml:1579
 #, no-c-format
 msgid "System.setProperty(propertyname, propertyvalue);"
-msgstr ""
+msgstr "System.setProperty(propertyname, propertyvalue);"
 
 #. Tag: title
 #: Web_Services.xml:1583
@@ -4353,6 +5245,18 @@
 "connection.setCredentials(creds);\n"
 "}"
 msgstr ""
+"/**\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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1615
@@ -4431,6 +5335,72 @@
 "return org;\n"
 "}"
 msgstr ""
+"/**\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, \n"
+"                     &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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1619
@@ -4495,6 +5465,58 @@
 "}\n"
 "}"
 msgstr ""
+"/**\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"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1623
@@ -4552,7 +5574,7 @@
 #: Web_Services.xml:1655
 #, no-c-format
 msgid "Resources"
-msgstr ""
+msgstr "Recursos"
 
 #. Tag: ulink
 #: Web_Services.xml:1659
@@ -4564,7 +5586,7 @@
 #: Web_Services.xml:1664
 #, no-c-format
 msgid "J2EE 1.4 Tutorial"
-msgstr ""
+msgstr "Tutorial J2EE 1.4"
 
 #. Tag: ulink
 #: Web_Services.xml:1669
@@ -4576,7 +5598,7 @@
 #: Web_Services.xml:1678
 #, no-c-format
 msgid "WS-Policy"
-msgstr ""
+msgstr "WS-Policy"
 
 #. Tag: para
 #: Web_Services.xml:1679
@@ -4626,13 +5648,12 @@
 #: Web_Services.xml:1692
 #, no-c-format
 msgid "Specification"
-msgstr ""
+msgstr "Especificación"
 
 #. Tag: para
 #: Web_Services.xml:1693
 #, 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
@@ -4644,6 +5665,10 @@
 "* &lt;ulink url=\"http://www.w3.org/Submission/WS-PolicyAttachment/\"&gt; WS-"
 "Policy-Attachment specification&lt;/ulink&gt;"
 msgstr ""
+"* &lt;ulink url=\"http://www.w3.org/Submission/WS-Policy/\"&gt; WS-Policy "
+"specification&lt;/ulink&gt;\n"
+"* &lt;ulink url=\"http://www.w3.org/Submission/WS-PolicyAttachment/\"&gt; WS-"
+"Policy-Attachment specification&lt;/ulink&gt;"
 
 #. Tag: title
 #: Web_Services.xml:1700
@@ -4767,6 +5792,98 @@
 "&lt;/service&gt;\n"
 "&lt;/definitions&gt;"
 msgstr ""
+"@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; \n"
+"              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;\n"
+"        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;"
 
 #. Tag: para
 #: Web_Services.xml:1708
@@ -4780,7 +5897,7 @@
 #: Web_Services.xml:1714
 #, no-c-format
 msgid "Using policies with JBoss annotations"
-msgstr ""
+msgstr "Uso de políticas con anotaciones de JBoss"
 
 #. Tag: para
 #: Web_Services.xml:1715
@@ -4823,6 +5940,21 @@
 "public PolicyScopeLevel scope();\n"
 "}"
 msgstr ""
+"/**\n"
+"   \n"
+"@Target(ElementType.TYPE) \n"
+"@Retention(RetentionPolicy.RUNTIME)\n"
+"public @interface PolicyAttachment {\n"
+"Policy[] value();\n"
+"}\n"
+"...\n"
+"@Retention(RetentionPolicy.RUNTIME)\n"
+"public @interface Policy {\n"
+"   \n"
+"public String policyFileLocation();\n"
+"   \n"
+"public PolicyScopeLevel scope();\n"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:1722
@@ -4879,12 +6011,54 @@
 "&lt;/wsp:ExactlyOne&gt;               \n"
 "&lt;/wsp:Policy&gt;"
 msgstr ""
+"@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;"
 
 #. Tag: title
 #: Web_Services.xml:1733
 #, no-c-format
 msgid "JBossWS Extensions"
-msgstr ""
+msgstr "Extensiones JBossWS"
 
 #. Tag: para
 #: Web_Services.xml:1734
@@ -4911,7 +6085,7 @@
 #: Web_Services.xml:1743
 #, no-c-format
 msgid "EndpointConfig"
-msgstr ""
+msgstr "EndpointConfig"
 
 #. Tag: programlisting
 #: Web_Services.xml:1744
@@ -4948,12 +6122,42 @@
 "String configFile() default &quot;&quot;;\n"
 "}"
 msgstr ""
+"/**\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"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:1748
 #, no-c-format
 msgid "WebContext"
-msgstr ""
+msgstr "WebContext"
 
 #. Tag: programlisting
 #: Web_Services.xml:1749
@@ -5032,12 +6236,84 @@
 "boolean secureWSDLAccess() default true;\n"
 "}"
 msgstr ""
+"/**\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"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:1753
 #, no-c-format
 msgid "SecurityDomain"
-msgstr ""
+msgstr "SecurityDomain"
 
 #. Tag: programlisting
 #: Web_Services.xml:1754
@@ -5068,3 +6344,28 @@
 "String unauthenticatedPrincipal() default &quot;&quot;;\n"
 "}"
 msgstr ""
+"/**\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"
+"}"
+




More information about the jboss-cvs-commits mailing list