Seam SVN: r10725 - modules/trunk/parent.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-04-29 14:20:16 -0400 (Wed, 29 Apr 2009)
New Revision: 10725
Modified:
modules/trunk/parent/pom.xml
Log:
add modules
add description
Modified: modules/trunk/parent/pom.xml
===================================================================
--- modules/trunk/parent/pom.xml 2009-04-29 18:04:53 UTC (rev 10724)
+++ modules/trunk/parent/pom.xml 2009-04-29 18:20:16 UTC (rev 10725)
@@ -13,11 +13,17 @@
<packaging>pom</packaging>
<version>3.0.0-SNAPSHOT</version>
- <name>JBoss Seam</name>
+ <name>Seam, a next-generation Java EE framework</name>
<url>http://www.seamframework.org</url>
<description>
- JBoss Seam, an Enterprise Java Framework
+ Seam is a powerful open source development platform for building rich
+ Internet applications in Java. Seam integrates technologies such as Java
+ Contexts and Dependency Injection (JCDI), Asynchronous JavaScript and XML
+ (Ajax), JavaServer Faces (JSF 2.0), Java Persistence (JPA 2.0),
+ Enterprise Java Beans (EJB 3.1) and Business Process Management (BPM)
+ into a unified full-stack solution, complete with sophisticated tooling
+ provided by JBoss Tools.
</description>
<developers>
@@ -76,6 +82,14 @@
</developers>
+ <modules>
+ <!-- declarating version-matrix as a module forces it to be built first -->
+ <module>../version-matrix</module>
+ <module>../el</module>
+ <module>../international</module>
+ <module>../faces</module>
+ </modules>
+
<build>
<plugins>
<plugin>
14 years, 11 months
Seam SVN: r10724 - in modules/trunk/faces/src: main/java/org/jboss/seam/faces/lifecycle and 1 other directories.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-04-29 14:04:53 -0400 (Wed, 29 Apr 2009)
New Revision: 10724
Modified:
modules/trunk/faces/src/main/java/org/jboss/seam/faces/FacesStatusMessages.java
modules/trunk/faces/src/main/java/org/jboss/seam/faces/lifecycle/TransferStatusMessagesListener.java
modules/trunk/faces/src/test/java/org/jboss/seam/faces/FacesStatusMessagesTest.java
Log:
test that status messages for control are registered with proper client id
Modified: modules/trunk/faces/src/main/java/org/jboss/seam/faces/FacesStatusMessages.java
===================================================================
--- modules/trunk/faces/src/main/java/org/jboss/seam/faces/FacesStatusMessages.java 2009-04-29 17:13:23 UTC (rev 10723)
+++ modules/trunk/faces/src/main/java/org/jboss/seam/faces/FacesStatusMessages.java 2009-04-29 18:04:53 UTC (rev 10724)
@@ -80,7 +80,7 @@
String clientId = getClientId(messagesForKey.getKey(), facesContext);
if (clientId == null)
{
- log.warn("Could not locate clientId " + clientId + " when registering JSF messages for control. A global message will be created instead.");
+ log.warn("Could not locate control '" + messagesForKey.getKey() + "' when registering JSF message. A global message will be created as a fallback.");
}
for (StatusMessage statusMessage : messagesForKey.getValue())
{
@@ -142,7 +142,7 @@
private boolean isAbsoluteClientIdPresent(String targetId, FacesContext facesContext)
{
- return facesContext.getViewRoot().findComponent(":" + targetId) != null;
+ return facesContext.getViewRoot().findComponent(targetId) != null;
}
private String getClientId(UIComponent component, String targetLocalId, FacesContext facesContext)
Modified: modules/trunk/faces/src/main/java/org/jboss/seam/faces/lifecycle/TransferStatusMessagesListener.java
===================================================================
--- modules/trunk/faces/src/main/java/org/jboss/seam/faces/lifecycle/TransferStatusMessagesListener.java 2009-04-29 17:13:23 UTC (rev 10723)
+++ modules/trunk/faces/src/main/java/org/jboss/seam/faces/lifecycle/TransferStatusMessagesListener.java 2009-04-29 18:04:53 UTC (rev 10724)
@@ -1,30 +1,41 @@
package org.jboss.seam.faces.lifecycle;
import java.beans.Introspector;
-import javax.faces.context.FacesContext;
-import javax.faces.event.ComponentSystemEventListener;
import javax.faces.event.SystemEvent;
import javax.faces.event.SystemEventListener;
import org.jboss.seam.el.Expressions;
import org.jboss.seam.faces.FacesExpressions;
import org.jboss.seam.international.StatusMessages;
+import org.jboss.webbeans.log.LogProvider;
+import org.jboss.webbeans.log.Logging;
/**
* A {@link SystemEventListener} that observes the PreRenderViewEvent and
* transposes Seam StatusMessage objects into FacesMessage objects
* and transfers them to the FacesContext.
*
+ * FIXME currently losing messages over a redirect after conversation ends (and perhaps when no conversation present)
+ *
* @author Dan Allen
*/
//@ListenerFor(systemEventClass = PreRenderViewEvent.class, sourceClass = UIViewRoot.class)
public class TransferStatusMessagesListener implements SystemEventListener
{
+ private static final LogProvider log = Logging.getLogProvider(TransferStatusMessagesListener.class);
+
public void processEvent(SystemEvent preRenderViewEvent)
{
Expressions expressions = new FacesExpressions();
// FIXME this is kind of ugly...reminds me of the bad old days of JSF managed beans
StatusMessages statusMessages = (StatusMessages) expressions.createValueExpression(getBeanExpression(StatusMessages.class)).getValue();
- statusMessages.onBeforeRender();
+ if (statusMessages != null)
+ {
+ statusMessages.onBeforeRender();
+ }
+ else
+ {
+ log.warn("Could not locate StatusMessages bean. Status messages will not be transfered to FacesContext.");
+ }
}
public boolean isListenerForSource(Object source)
Modified: modules/trunk/faces/src/test/java/org/jboss/seam/faces/FacesStatusMessagesTest.java
===================================================================
--- modules/trunk/faces/src/test/java/org/jboss/seam/faces/FacesStatusMessagesTest.java 2009-04-29 17:13:23 UTC (rev 10723)
+++ modules/trunk/faces/src/test/java/org/jboss/seam/faces/FacesStatusMessagesTest.java 2009-04-29 18:04:53 UTC (rev 10724)
@@ -1,6 +1,11 @@
package org.jboss.seam.faces;
+import java.util.List;
import javax.faces.application.FacesMessage;
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIInput;
+import javax.faces.component.UINamingContainer;
+import javax.faces.component.UIViewRoot;
import static org.testng.Assert.*;
import javax.faces.context.FacesContext;
@@ -8,6 +13,7 @@
import org.jboss.seam.el.Expressions;
import org.jboss.seam.international.Interpolator;
import org.jboss.seam.international.LocaleProducer;
+import org.jboss.seam.international.StatusMessage;
import org.jboss.seam.international.StatusMessages;
import org.jboss.seam.mock.faces.MockFacesContext;
import org.jboss.testharness.impl.packaging.Artifact;
@@ -50,7 +56,7 @@
* upon the call to onBeforeRender().
*/
@Test
- public void testStatusMessagesTransferToFacesMessages()
+ public void testGlobalStatusMessagesGetTransferedToFacesMessages()
{
FacesContext facesContext = FacesContext.getCurrentInstance();
facesContext.setCurrentPhaseId(PhaseId.INVOKE_APPLICATION);
@@ -70,16 +76,58 @@
FacesMessage facesMessage = facesContext.getMessageList().get(0);
assertEquals(facesMessage.getSeverity(), FacesMessage.SEVERITY_INFO);
assertEquals(facesMessage.getSummary(), "You've booked a night at Mandalay Bay. Bon chance!");
- // this assignment happens inside the FacesMessage implementation
+ // NOTE this assignment happens inside the FacesMessage implementation
assertEquals(facesMessage.getSummary(), facesMessage.getDetail());
}
- // TODO test addToControl() because there is important logic in the getClientId() method
- // TODO either test TransferStatusMessagesListener here or create a dedicated test for it
+ /**
+ * Verify that a message can be added to a control based on either it's absolute client id
+ * or it's local id. Verify that if the component cannot be found, a global message is created.
+ */
+ @Test
+ public void testStatusMessagesForControlGetTransferedToFacesMessages()
+ {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ facesContext.setCurrentPhaseId(PhaseId.RESTORE_VIEW);
+ UIViewRoot viewRoot = new UIViewRoot();
+ UIComponent form = new UINamingContainer();
+ form.setId("form");
+ UIComponent input = new UIInput();
+ input.setId("input");
+ form.getChildren().add(input);
+ viewRoot.getChildren().add(form);
+ facesContext.setViewRoot(viewRoot);
+
+ facesContext.setCurrentPhaseId(PhaseId.INVOKE_APPLICATION);
+ StatusMessages statusMessages = getStatusMessagesInstance();
+ statusMessages.addToControl("input", StatusMessage.Severity.WARN, "First validation message for input");
+ statusMessages.addToControl("form:input", StatusMessage.Severity.WARN, "Second validation message for input");
+ statusMessages.addToControl("NO_SUCH_ID", StatusMessage.Severity.WARN, "Validation message that becomes global");
+
+ assertEquals(statusMessages.getKeyedMessages().size(), 3);
+ assertEquals(facesContext.getMessageList().size(), 0);
+
+ facesContext.setCurrentPhaseId(PhaseId.RENDER_RESPONSE);
+ statusMessages.onBeforeRender();
+
+ assertEquals(statusMessages.getGlobalMessages().size(), 0);
+ assertEquals(facesContext.getMessageList().size(), 3);
+ assertEquals(facesContext.getMessageList(null).size(), 1);
+ FacesMessage globalMessage = facesContext.getMessageList(null).get(0);
+ assertSame(globalMessage.getSeverity(), FacesMessage.SEVERITY_WARN);
+ assertEquals(globalMessage.getSummary(), "Validation message that becomes global");
+ List<FacesMessage> messagesForInput = facesContext.getMessageList("form:input");
+ assertEquals(messagesForInput.size(), 2);
+ assertEquals(messagesForInput.get(0).getSummary(), "First validation message for input");
+ assertEquals(messagesForInput.get(1).getSummary(), "Second validation message for input");
+ }
+
+ // TODO either test TransferStatusMessagesListener here or create a dedicated test for it; to test lookup of StatusMessages from listener
+
private void installMockFacesContext()
{
- new MockFacesContext().setCurrent();
+ new MockFacesContext(true).setCurrent();
}
private void activateConversationContext()
14 years, 11 months
Seam SVN: r10723 - modules/trunk/international/src/test/java/org/jboss/seam/international.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-04-29 13:13:23 -0400 (Wed, 29 Apr 2009)
New Revision: 10723
Removed:
modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerUnitTest.java
Modified:
modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerTest.java
Log:
unit test wasn't necessary
Modified: modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerTest.java
===================================================================
--- modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerTest.java 2009-04-29 16:34:16 UTC (rev 10722)
+++ modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerTest.java 2009-04-29 17:13:23 UTC (rev 10723)
@@ -9,8 +9,9 @@
import org.testng.annotations.Test;
/**
- * Ensure that the {@link LocaleProducer} returns the
- * default locale when the type {@link Locale} is resolved.
+ * Verify that the default {@link LocalProducer} returns the
+ * default locale of the JVM and is produced when {@link Locale}
+ * is resolved by JCDI.
*
* @author Dan Allen
*/
@@ -18,9 +19,26 @@
@Classes(LocaleProducer.class)
public class LocaleProducerTest extends AbstractWebBeansTest
{
+ /**
+ * Ensure that the producer method run in standalone
+ * mode produces the JVM default locale.
+ */
@Test
- public void testDefaultIsJvmDefault()
+ public void testProducerMethodReturnsJvmDefault()
{
+ LocaleProducer producer = new LocaleProducer();
+ Locale result = producer.getLocale();
+ assertNotNull(result);
+ assertEquals(result.toString(), Locale.getDefault().toString());
+ }
+
+ /**
+ * Ensure that the manager produces the JVM default locale
+ * for the type Locale.
+ */
+ @Test
+ public void testProducesJvmDefault()
+ {
Locale result = getCurrentManager().getInstanceByType(Locale.class);
assertEquals(result.toString(), Locale.getDefault().toString());
}
Deleted: modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerUnitTest.java
===================================================================
--- modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerUnitTest.java 2009-04-29 16:34:16 UTC (rev 10722)
+++ modules/trunk/international/src/test/java/org/jboss/seam/international/LocaleProducerUnitTest.java 2009-04-29 17:13:23 UTC (rev 10723)
@@ -1,23 +0,0 @@
-package org.jboss.seam.international;
-
-import java.util.Locale;
-import org.testng.annotations.Test;
-import static org.testng.Assert.*;
-
-/**
- * Verify that the default {@link LocalProducer} returns the
- * default locale of the JVM.
- *
- * @author Dan Allen
- */
-public class LocaleProducerUnitTest
-{
- @Test
- public void testLocaleIsJvmDefault()
- {
- LocaleProducer producer = new LocaleProducer();
- Locale result = producer.getLocale();
- assertNotNull(result);
- assertEquals(result.toString(), Locale.getDefault().toString());
- }
-}
14 years, 11 months
Seam SVN: r10721 - modules/trunk.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-04-29 12:28:36 -0400 (Wed, 29 Apr 2009)
New Revision: 10721
Added:
modules/trunk/readme.txt
Log:
add a readme
Added: modules/trunk/readme.txt
===================================================================
--- modules/trunk/readme.txt (rev 0)
+++ modules/trunk/readme.txt 2009-04-29 16:28:36 UTC (rev 10721)
@@ -0,0 +1,56 @@
+
+Seam - An integrated development platform based on the Java EE environment
+==========================================================================
+
+Seam is distributed under the terms of the GNU Lesser General Public License.
+ => license avaialble at dist/lgpl.txt
+
+Building Seam (for developers)
+------------------------------
+
+These instructions assume that you are working with a local checkout of the
+Seam repository (Seam 3 and above).
+
+The Seam source code is partitioned into several SVN roots. Starting with Seam
+3, the Seam framework is a modular set of add-ons for the Java EE environment,
+based primarily on the JSR-299 contexts and dependency injection services. As
+such, there is no longer a Seam "core". The core is JSR-299 and other parts of
+Java EE. This makes it easy to add Seam to an existing Java EE 5+ application.
+
+The first step to building Seam is to build the version-matrix module:
+
+ cd version-matrix
+ mvn install
+ cd ..
+
+After running an SVN update, it's always a good idea to install the
+version-matrix again.
+
+The version-matrix hosts the dependency management that all Seam modules and
+examples extend. This centralizes all version numbers and artifact-specific
+exclusions to avoid duplication and to establish a sanctioned version
+compatibility matrix (after all, Seam is about integration).
+
+The next step is to build the Seam parent.
+
+ cd parent
+ mvn -N install
+ cd ..
+
+The parent simply extends from the version-matrix and has some POM fragments
+that pertains specifically to the modules (such as test dependencies). If you
+are building a Seam application, you are encouraged to extend from the
+version-matrix, so a parent module is necessary ensure a clean separation from
+that goal.
+
+Now you can build any module you would like, though be aware that a module may
+have a dependency on another module. You can build all of them from the parent.
+
+ cd parent
+ mvn install
+ cd ..
+
+Furthur reading
+---------------
+
+* Read the documentation and FAQ online at http://seamframework.org
14 years, 11 months
Seam SVN: r10720 - in modules/trunk: dist and 1 other directory.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2009-04-29 12:16:22 -0400 (Wed, 29 Apr 2009)
New Revision: 10720
Added:
modules/trunk/dist/
modules/trunk/dist/lgpl.txt
modules/trunk/dist/release-process.txt
Log:
this will be the dist module that builds a distribution for the Seam modules (and perhaps more)
Added: modules/trunk/dist/lgpl.txt
===================================================================
--- modules/trunk/dist/lgpl.txt (rev 0)
+++ modules/trunk/dist/lgpl.txt 2009-04-29 16:16:22 UTC (rev 10720)
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
Added: modules/trunk/dist/release-process.txt
===================================================================
--- modules/trunk/dist/release-process.txt (rev 0)
+++ modules/trunk/dist/release-process.txt 2009-04-29 16:16:22 UTC (rev 10720)
@@ -0,0 +1,4 @@
+Release process for Seam modules
+================================
+
+The release process is that there isn't one yet.
14 years, 11 months
Seam SVN: r10719 - in branches/community/Seam_2_1/doc/Seam_Reference_Guide: bn-IN and 22 other directories.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-04-29 08:54:48 -0400 (Wed, 29 Apr 2009)
New Revision: 10719
Modified:
branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Annotations.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Author_Group.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Book_Info.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Cache.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Components.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Concepts.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Configuration.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Controls.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Conversations.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Dependencies.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Drools.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Elenhancements.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Events.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Excel.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Feedback.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Framework.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gettingstarted.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Glassfish.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Groovy.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Guice.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gwt.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Hsearch.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/I18n.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jbpm.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jms.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Mail.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Performance.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Persistence.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Preface.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Remoting.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Revision_History.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Rss.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Security.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Spring.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Testing.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Text.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tools.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tutorial.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Validation.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Weblogic.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Webservices.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Websphere.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Wicket.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Xml.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Webservices.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Webservices.po
Log:
Updated POT and PO
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-11-06 00:09+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-11-06 00:09+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Seam_-_Contextual_Components VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-11-06 00:10+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Framework\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2009-02-20 17:56+1000\n"
"Last-Translator: Noriko Mizumoto <noriko(a)redhat.com>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -722,14 +722,14 @@
#. Tag: para
#: Framework.xml:212
-#, no-c-format
+#, fuzzy, no-c-format
msgid ""
"The Home object raises an <literal>org.jboss.seam.afterTransactionSuccess</"
"literal> event when a transaction succeeds (a call to <literal>persist()</"
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -1200,11 +1200,11 @@
#. Tag: para
#: Framework.xml:320
-#, no-c-format
+#, fuzzy, no-c-format
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
"残念ながらクエリーのオブジェクトは <emphasis>join fetch</emphasis> クエリーで"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Tools\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2009-02-17 15:35+0900\n"
"Last-Translator: Ken Yamada <ken(a)tydfam.jp>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -1636,7 +1636,7 @@
msgstr "ユーザーエンティティアノテーション"
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr "アノテーション"
@@ -1649,8 +1649,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr "詳細"
@@ -2906,8 +2906,8 @@
msgstr "ID管理のAPI"
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr "メソッド"
@@ -2928,9 +2928,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr "ブール型 "
@@ -3285,13 +3285,13 @@
msgstr "ID管理 セキュリティパーミッション"
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr "パーミッションの対象"
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr "パーミッションのアクション"
@@ -4924,7 +4924,7 @@
msgstr "パーミッションリゾルバーインタフェース"
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr "戻り値の型"
@@ -4974,14 +4974,29 @@
"<literal>hasPermission()</literal>メソッドに同様の<literal>action</literal>を"
"パラメータ値として渡した場合には、falseを返します。 "
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr "リゾルバーチェーン"
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -4993,7 +5008,7 @@
"るいはパーミッション対象についてのパーミッションを解決します。"
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -5007,7 +5022,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -5024,7 +5039,7 @@
"呼び出されます。"
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -5035,7 +5050,7 @@
"hasPermission()</literal>が呼び出されることにより実行されます。"
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -5045,7 +5060,7 @@
"<literal>PermissionMapper.resolvePermission()</literal>を渡して呼び出します。"
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -5064,7 +5079,7 @@
"literal>sを読み込みます。"
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -5088,13 +5103,13 @@
"ば、 パーミッションチェックは失敗したことになります。"
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr "ルールベースのパーミッションリゾルバー"
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -5114,13 +5129,13 @@
"す。"
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr "要求条件"
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -5131,43 +5146,43 @@
"必要な下記のjarファイルをディストリビューション含める必要があります。"
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr "drools-compiler.jar"
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr "drools-core.jar"
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr "janino.jar"
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr "antlr-runtime.jar"
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr "mvel14.jar"
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr "設定"
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -5181,7 +5196,7 @@
"<literal>securityRules</literal>と命名されていることを仮定しています。"
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -5231,7 +5246,7 @@
" </components>]]>"
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -5242,7 +5257,7 @@
"literal>の<literal>security-rules</literal>属性で上書きする事ができます。"
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5254,7 +5269,7 @@
"{prodSecurityRules}\"/>]]>"
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -5264,13 +5279,13 @@
"の記述をします。"
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr "セキュリティルールの記述"
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -5286,7 +5301,7 @@
"事ができます。"
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -5298,7 +5313,7 @@
"しょう"
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -5328,7 +5343,7 @@
" end]]>"
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -5341,7 +5356,7 @@
"の名前は任意で構いません。"
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -5354,7 +5369,7 @@
"使うルールでこれらのクラスを参照する事をルールエンジンに対して伝えています。"
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -5368,7 +5383,7 @@
"で字の如く、顧客レコードの削除をできるかできないかのチェックに使用します。"
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -5390,7 +5405,7 @@
"は<literal>end</literal>で終了します。"
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -5400,7 +5415,7 @@
"を見てみましょう。"
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
@@ -5408,7 +5423,7 @@
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -5422,7 +5437,7 @@
"しています。"
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -5451,7 +5466,7 @@
"了するまで存在します。"
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -5477,7 +5492,7 @@
"security.Principal</literal>オブジェクトが保持されています。"
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -5494,7 +5509,7 @@
"ングメモリ中に長期に生存するファクトとする事はできません。"
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -5509,13 +5524,13 @@
"LHSの2行目には下の記述があります。"
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr "<![CDATA[Role(name == \"admin\")]]>"
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -5534,7 +5549,7 @@
"求めているのであれば、これを認めます」という事を示しています。"
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -5544,13 +5559,13 @@
"しょう。"
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr "<![CDATA[c.grant()]]>"
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -5577,13 +5592,13 @@
"クションについて実行することができるようになります。"
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr "非文字列のパーミッションターゲット"
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -5604,7 +5619,7 @@
"る、と表現されます。"
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -5634,13 +5649,13 @@
"]]>"
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr "ワイルドカードによるパーミッションチェック"
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -5654,7 +5669,7 @@
"とにより、実装できます。"
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -5676,7 +5691,7 @@
" ]]>"
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -5688,13 +5703,13 @@
"なパーミッションチェックになっています。"
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr "永続的パーミッションリゾルバー"
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -5713,7 +5728,7 @@
"パーミッションターゲットを指定して保存する事が可能です。"
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -5732,7 +5747,7 @@
"<literal>permission-store</literal>属性を下のように記述します。"
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -5742,13 +5757,13 @@
"{myCustomPermissionStore}\"/>]]>"
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr "パーミッションストアについて"
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -5768,26 +5783,26 @@
"パーミッションストアを作成する事も可能です。"
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr "パーミッションストアのインタフェース"
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr "List<Permission>"
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr "listPermissions(Object target)"
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -5799,13 +5814,13 @@
"す。"
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr "listPermissions(Object target, String action)"
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -5817,13 +5832,13 @@
"literal>を返します。"
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr "listPermissions(Set<Object> targets, String action)"
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -5835,13 +5850,13 @@
"<literal>List</literal>を返します"
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr "grantPermission(Permission)"
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -5851,13 +5866,13 @@
"ストレージに保持し、成功すればtrueを返します。"
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr "grantPermissions(List<Permission> permissions)"
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -5869,13 +5884,13 @@
"成功すればtrueを返します。"
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr "revokePermission(Permission permission)"
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -5885,13 +5900,13 @@
"から削除します。"
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr "revokePermissions(List<Permission> permissions)"
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -5901,19 +5916,19 @@
"ジェクトをストレージから削除します。"
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr "List<String>"
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr "listAvailableActions(Object target)"
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -5926,13 +5941,13 @@
"ザーインタフェースを作成するためにパーミッション管理と共に使用されます。"
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr "JpaPermissionStoreについて"
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -5952,7 +5967,7 @@
"ている必要があります。"
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -5969,7 +5984,7 @@
"<literal>role-permission-class</literal>属性を設定する必要があります。"
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -5979,7 +5994,7 @@
"よう設定する場合は次のようになります。"
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -5989,7 +6004,7 @@
"model.AccountPermission\"/>]]>"
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
@@ -5998,7 +6013,7 @@
"る場合の設定は次のようになります。"
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -6010,13 +6025,13 @@
" role-permission-class=\"com.acme.model.RolePermission\"/>]]>"
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr "パーミッション アノテーション"
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -6031,32 +6046,32 @@
"テーションと、その使用方法の説明を示します。"
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr "エンティティ パーミッション アノテーション"
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr "ターゲット"
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr "@PermissionTarget"
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr "フィールド、メソッド"
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6067,13 +6082,13 @@
"ます。 この属性は<literal>java.lang.String</literal>でなければなりません。"
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr "@PermissionAction"
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6085,13 +6100,13 @@
"ん。"
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr "@PermissionUser"
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6103,13 +6118,13 @@
"のusernameを含んでいなければなりません。"
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr "@PermissionRole"
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6121,13 +6136,13 @@
"含んでいなければなりません。"
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr "@PermissionDiscriminator"
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -6154,7 +6169,7 @@
"と、アノテーションは下のようになります。"
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
@@ -6162,13 +6177,13 @@
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr "エンティティの例"
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -6179,7 +6194,7 @@
"ています。 下に示したクラスはサンプルのSeamSpaceからのものです。"
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -6293,7 +6308,7 @@
"}"
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -6319,13 +6334,13 @@
"として処理する事を示しています。"
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr "クラスに特定されたパーミッションの設定"
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -6338,25 +6353,25 @@
"jboss.seam.annotation.security.permission</literal>パッケージにあります。"
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr "クラス パーミッション アノテーション"
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr "@Permissions"
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr "タイプ"
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -6366,13 +6381,13 @@
"の配列を含んでいます。"
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr "@Permission"
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -6387,7 +6402,7 @@
"<literal>mask</literal>が指定されていなければなりません。"
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -6397,7 +6412,7 @@
"SeamSpaceにもあります。"
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -6415,7 +6430,7 @@
"public class MemberImage implements Serializable {]]>"
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -6427,13 +6442,13 @@
"言する方法を示しています。"
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr "パーミッション マスク"
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -6451,7 +6466,7 @@
"ク値を使用する事ができます。"
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -6470,7 +6485,7 @@
"ビットマスクをパーミッションアクションに使用すると下のようになります。"
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -6488,7 +6503,7 @@
"public class MemberImage implements Serializable {]]>"
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -6502,7 +6517,7 @@
"存に必要な容量を圧縮する事ができます。"
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -6510,13 +6525,13 @@
msgstr "<literal>mask</literal>の値が2のn乗になっている事は明らかに重要です。"
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr "識別子ポリシー"
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -6536,7 +6551,7 @@
"タイプに応じてユニークなIDの生成が行われます。"
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -6546,7 +6561,7 @@
"メソッドを宣言しているだけです。"
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -6560,7 +6575,7 @@
"}]]>"
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -6575,7 +6590,7 @@
"れたターゲットオブジェクトに対してユニークな識別子の値を返します。"
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -6588,7 +6603,7 @@
"ション)。"
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -6607,13 +6622,13 @@
"<literal>IdentifierStrategy</literal>の実際の実装に依存します。"
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr "クラス識別子ストラテジー"
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -6633,7 +6648,7 @@
"は\"<literal>customer</literal>\"となります。"
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -6643,7 +6658,7 @@
"public class Customer {]]>"
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -6651,7 +6666,7 @@
msgstr "以下のクラスの識別子は\"<literal>customerAction</literal>\"となります:"
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -6661,7 +6676,7 @@
"public class CustomerAction { ]]>"
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -6670,19 +6685,19 @@
"最終的に、以下のクラスの識別子は \"<literal>Customer</literal>\"となります:"
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr "<![CDATA[public class Customer { ]]>"
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr "エンティティ識別子ストラテジー"
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -6708,7 +6723,7 @@
"する事が必要です。"
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -6718,7 +6733,7 @@
"public class Customer { ]]>"
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -6727,7 +6742,7 @@
"生成される識別子の例として、下のようなエンティティクラスを考えてみましょう。"
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -6767,7 +6782,7 @@
"}]]>"
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -6780,7 +6795,7 @@
"し、エンティティクラスに明示的な識別子名のアノテーションがあれば、"
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -6792,7 +6807,7 @@
"public class Customer { ]]>"
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -6804,13 +6819,13 @@
"つことになります。"
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr "パーミッションの管理"
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -6823,13 +6838,13 @@
"を <literal>PermissionManager</literal>により提供しています。"
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr "パーミッションマネージャ"
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -6849,7 +6864,7 @@
"します。"
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -6863,7 +6878,7 @@
" ]]>"
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -6873,13 +6888,13 @@
"ます。"
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr "パーミッションマネージャAPIのメソッド"
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -6889,13 +6904,13 @@
"す<literal>Permission</literal>オブジェクトを返します。"
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr "grantPermission(Permission permission)"
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -6905,7 +6920,7 @@
"セーブする。 操作に成功した場合trueを返す。"
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -6915,7 +6930,7 @@
"literal>sをセーブする。 操作に成功した場合trueを返す。"
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -6925,7 +6940,7 @@
"を取り除く(削除する)。操作に成功した場合trueを返す。"
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -6935,7 +6950,7 @@
"literal>sを取り除く(削除する)。 操作に成功した場合trueを返す。"
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -6947,13 +6962,13 @@
"アノテーションに依存する。"
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr "パーミッションマネージャ操作のためのパーミッションチェック"
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -6967,37 +6982,37 @@
"覧を示します。"
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr "パーミッション管理 セキュリティパーミッション"
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr "listPermissions()"
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr "特定の<literal>target</literal>"
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr "seam.read-permissions"
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr "grantPermission()"
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -7009,56 +7024,56 @@
"る)"
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr "seam.grant-permission"
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr "ターゲットの特定の<literal>Permission</literal>"
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr "grantPermissions()"
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr "それぞれのターゲットの特定の<literal>Permission</literal>s"
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr "revokePermission()"
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr "seam.revoke-permission"
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr "revokePermissions()"
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr "SSLによるセキュリティ"
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -7073,13 +7088,13 @@
"下の例では<literal>/login.xhtml</literal>でHTTPSを使う様に設定しています。"
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -7097,13 +7112,13 @@
"用されます。"
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -7119,7 +7134,7 @@
"イレクトされます。"
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -7141,13 +7156,13 @@
"literal>に追加してください。"
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -7157,7 +7172,7 @@
"せん。"
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -7168,13 +7183,13 @@
"が変さらになるたびに現在のHTTPセッションを自動的に無効にする事ができます。"
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -7185,13 +7200,13 @@
"ションIDの盗聴に対する脆弱性を減少させます。"
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr "デフォルトのポートの上書き"
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -7204,7 +7219,7 @@
"literal> あるいは <literal>https-port</literal>を設定することにより行えます。"
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -7230,13 +7245,13 @@
" ]]>"
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr "キャプチャ"
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -7254,13 +7269,13 @@
"ンが動作しないようにする事を可能にしています。"
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr "キャプチャ サーブレットの設定"
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -7272,7 +7287,7 @@
"ケーションのページにキャプチャチャレンジのイメージを提供するようになります。"
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -7298,13 +7313,13 @@
"</servlet-mapping>]]>"
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr "キャプチャのフォームへの追加"
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
@@ -7312,7 +7327,7 @@
"キャプチャチャレンジをフォームに追加するのは以下のようにいたって簡単です:"
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -7330,7 +7345,7 @@
"<h:message for=\"verifyCaptcha\"/>]]>"
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -7343,13 +7358,13 @@
"ユーザーの入力はフォームが送信された時に自動的にキャプチャと照合されます。"
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr "キャプチャアルゴリズムのカスタム化"
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
@@ -7358,7 +7373,7 @@
"スタマイズすることができます。"
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -7406,13 +7421,13 @@
"}]]>"
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr "セキュリティ イベント"
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -7422,69 +7437,69 @@
"ント(<xref linkend=\"events\"/>)を一覧にしました。"
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr "イベントキー"
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr "org.jboss.seam.security.loginSuccessful"
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr "ログインに成功した時に発生"
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr "org.jboss.seam.security.loginFailed"
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr "ログインに失敗した時に発生"
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr "org.jboss.seam.security.alreadyLoggedIn"
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr "ユーザーがすでに認証されていて再度ログインした時に発生"
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr "org.jboss.seam.security.notLoggedIn"
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
"ユーザーがログインしていないためにセキュリティチェックに失敗した時に発生"
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr "org.jboss.seam.security.notAuthorized"
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -7494,73 +7509,73 @@
"発生"
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr "org.jboss.seam.security.preAuthenticate"
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr "ユーザーが認証される直前に発生"
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr "org.jboss.seam.security.postAuthenticate"
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr "ユーザーが認証された直後に発生"
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr "org.jboss.seam.security.loggedOut"
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr "ユーザーがログアウトした後に発生"
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr "org.jboss.seam.security.credentialsUpdated"
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr "ユーザーのクレデンシャル(信用情報)が変更された時に発生"
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr "org.jboss.seam.security.rememberMe"
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr "IdentityのrememberMeプロパティが変更された時に発生"
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr "自分とは別の権限での実行"
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -7578,7 +7593,7 @@
"可能にします。"
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -7593,7 +7608,7 @@
"で実行するためのコードを持っています。"
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -7611,7 +7626,7 @@
" .run();]]>"
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -7627,13 +7642,13 @@
"ソッドを使用します。"
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr "IDコンポーネント(Identity component)の拡張"
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -7652,7 +7667,7 @@
"が内蔵Identityよりも優先されてインストールされることを保証しています。"
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -7716,7 +7731,7 @@
"}]]>"
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -7730,13 +7745,13 @@
"と、Seamのいくつかの機能が動作しないことがあります。"
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -7749,7 +7764,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -7766,7 +7781,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -7779,13 +7794,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, fuzzy, no-c-format
msgid "Configuring OpenID"
msgstr "エンティティの設定"
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -7795,7 +7810,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -7805,7 +7820,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -7815,7 +7830,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -7825,13 +7840,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, fuzzy, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr "ログインフォームの記述"
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -7841,7 +7856,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -7852,7 +7867,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -7864,13 +7879,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -7879,7 +7894,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -7899,7 +7914,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -7913,13 +7928,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -7936,13 +7951,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -7953,7 +7968,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -7962,7 +7977,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -4,7 +4,7 @@
msgstr ""
"Project-Id-Version: Tools\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2009-02-20 10:58-0500\n"
"Last-Translator: kojiro miyamoto <kojiro_miyamoto(a)hotmail.com>\n"
"Language-Team: Japanese <fedora-trans-ja(a)redhat.com>\n"
@@ -759,6 +759,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -787,6 +788,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -797,13 +817,13 @@
"のままで整列化できるので、この機能は有効にしておくと良いでしょう。"
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr "最後に、メディアタイプと言語のURI拡張子を設定できます。"
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, fuzzy, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -831,7 +851,7 @@
"</resteasy:application-config>]]>"
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -845,13 +865,13 @@
"ることができます。"
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr "Seam コンポーネントとしてのリソースとプロバイダ"
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -868,7 +888,7 @@
"定されています。"
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -881,7 +901,7 @@
"ポーネントにするのは簡単で、以下のようにします。"
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, fuzzy, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -917,7 +937,7 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -942,7 +962,7 @@
"ます。"
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -952,7 +972,7 @@
"ませんが、間もなく利用できるようになる予定です。"
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -963,7 +983,7 @@
"る必要があります。"
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -973,13 +993,13 @@
"とができます。"
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -992,7 +1012,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -1004,7 +1024,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -1019,7 +1039,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -1029,7 +1049,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -1040,13 +1060,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -1058,7 +1078,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -1069,7 +1089,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Annotations.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Annotations.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Annotations.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:39+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Author_Group.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Author_Group.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Author_Group.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:39+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Book_Info.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Book_Info.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Book_Info.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:39+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Cache.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Cache.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Cache.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:39+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Components.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Components.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Components.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Concepts.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Concepts.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Concepts.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Configuration.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Configuration.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Configuration.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Controls.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Controls.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Controls.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Conversations.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Conversations.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Conversations.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Dependencies.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Dependencies.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Dependencies.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Drools.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Drools.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Drools.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Elenhancements.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Elenhancements.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Elenhancements.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Events.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Events.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Events.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Excel.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Excel.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Excel.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Feedback.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Feedback.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Feedback.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Framework.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Framework.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Framework.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -510,7 +510,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -828,7 +828,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Getting_Started_With_JBoss_Tools.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gettingstarted.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gettingstarted.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gettingstarted.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Glassfish.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Glassfish.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Glassfish.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Groovy.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Groovy.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Groovy.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Guice.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Guice.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Guice.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gwt.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gwt.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Gwt.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Hsearch.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Hsearch.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Hsearch.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/I18n.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/I18n.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/I18n.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jbpm.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jbpm.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jbpm.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jms.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jms.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Jms.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Mail.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Mail.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Mail.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Performance.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Performance.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Performance.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Persistence.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Persistence.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Persistence.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Preface.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Preface.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Preface.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Remoting.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Remoting.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Remoting.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Revision_History.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Revision_History.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Revision_History.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Rss.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Rss.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Rss.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Security.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Security.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Security.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -1191,7 +1191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1204,8 +1204,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2229,8 +2229,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2251,9 +2251,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2559,13 +2559,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3807,7 +3807,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3850,14 +3850,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3866,7 +3881,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3880,7 +3895,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3892,7 +3907,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3901,7 +3916,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3909,7 +3924,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3921,7 +3936,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3936,13 +3951,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3955,13 +3970,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3970,43 +3985,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4016,7 +4031,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4044,7 +4059,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4053,7 +4068,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4062,7 +4077,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4070,13 +4085,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4087,7 +4102,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4096,7 +4111,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4114,7 +4129,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4124,7 +4139,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4134,7 +4149,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4144,7 +4159,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4159,7 +4174,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4167,14 +4182,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4184,7 +4199,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4202,7 +4217,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4219,7 +4234,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4230,7 +4245,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4241,13 +4256,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4260,7 +4275,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4268,13 +4283,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4291,13 +4306,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4311,7 +4326,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4329,13 +4344,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4345,7 +4360,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4359,7 +4374,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4368,13 +4383,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4387,7 +4402,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4400,7 +4415,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4408,13 +4423,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4427,26 +4442,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4455,13 +4470,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4470,13 +4485,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4485,13 +4500,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4499,13 +4514,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4514,13 +4529,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4528,13 +4543,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4542,19 +4557,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4564,13 +4579,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4583,7 +4598,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4595,7 +4610,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4603,7 +4618,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4611,14 +4626,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4627,13 +4642,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4644,32 +4659,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4678,13 +4693,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4693,13 +4708,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4708,13 +4723,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4723,13 +4738,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4746,20 +4761,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4768,7 +4783,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4829,7 +4844,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4846,13 +4861,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4862,25 +4877,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4888,13 +4903,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4905,7 +4920,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4913,7 +4928,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4925,7 +4940,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4934,13 +4949,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4952,7 +4967,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4965,7 +4980,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4977,7 +4992,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4987,7 +5002,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4995,13 +5010,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5015,7 +5030,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5023,7 +5038,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5033,7 +5048,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5044,7 +5059,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5053,7 +5068,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5066,13 +5081,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5086,7 +5101,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5094,7 +5109,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5102,7 +5117,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5110,7 +5125,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5118,19 +5133,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5147,7 +5162,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5155,7 +5170,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5163,7 +5178,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5186,7 +5201,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5196,7 +5211,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5205,7 +5220,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5214,13 +5229,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5230,13 +5245,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5249,7 +5264,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5259,7 +5274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5267,13 +5282,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5281,13 +5296,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5295,7 +5310,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5303,7 +5318,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5311,7 +5326,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5319,7 +5334,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5328,13 +5343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5344,37 +5359,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5383,56 +5398,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5443,13 +5458,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5461,13 +5476,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5478,7 +5493,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5492,13 +5507,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5506,7 +5521,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5515,13 +5530,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5530,13 +5545,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5546,7 +5561,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5562,13 +5577,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5580,13 +5595,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5595,7 +5610,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5611,20 +5626,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5636,7 +5651,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5646,20 +5661,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5686,13 +5701,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5700,68 +5715,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5769,73 +5784,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5847,7 +5862,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5858,7 +5873,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5870,7 +5885,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5881,13 +5896,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5900,7 +5915,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5935,7 +5950,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5945,13 +5960,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5964,7 +5979,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5981,7 +5996,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5994,13 +6009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6010,7 +6025,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6020,7 +6035,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6030,7 +6045,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6040,13 +6055,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6056,7 +6071,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6067,7 +6082,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6079,13 +6094,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6094,7 +6109,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6114,7 +6129,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6128,13 +6143,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6151,13 +6166,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6168,7 +6183,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6177,7 +6192,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Spring.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Spring.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Spring.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Testing.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Testing.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Testing.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Text.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Text.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Text.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tools.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tools.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tools.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tutorial.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tutorial.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Tutorial.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Validation.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Validation.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Validation.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Weblogic.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Weblogic.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Weblogic.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Webservices.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Webservices.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Webservices.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -544,6 +544,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -557,6 +558,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -564,13 +584,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -587,7 +607,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -597,13 +617,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -614,7 +634,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -623,7 +643,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -644,7 +664,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -659,7 +679,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -667,7 +687,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -675,7 +695,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -683,13 +703,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -702,7 +722,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -714,7 +734,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -729,7 +749,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -739,7 +759,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -750,13 +770,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -768,7 +788,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -779,7 +799,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Websphere.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Websphere.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Websphere.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Wicket.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Wicket.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Wicket.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Xml.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Xml.pot 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Xml.pot 2009-04-29 12:54:48 UTC (rev 10719)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-15 13:52+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-21 00:37+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Framework.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -509,7 +509,7 @@
"literal>, <literal>update()</literal> or <literal>remove()</literal> "
"succeeds). By observing this event we can refresh our queries when the "
"underlying entities are changed. If we only want to refresh certain queries "
-"when a particular entity is persited, updated or removed we can observe the "
+"when a particular entity is persisted, updated or removed we can observe the "
"<literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event "
"(where <literal><name></literal> is the name of the entity)."
msgstr ""
@@ -827,7 +827,7 @@
msgid ""
"Unfortunately Query objects don't work well with <emphasis>join fetch</"
"emphasis> queries - the use of pagination with these queries is not "
-"recomended, and you'll have to implement your own method of calculating the "
+"recommended, and you'll have to implement your own method of calculating the "
"total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr ""
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Security.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -1190,7 +1190,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr ""
@@ -1203,8 +1203,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr ""
@@ -2228,8 +2228,8 @@
msgstr ""
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr ""
@@ -2250,9 +2250,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr ""
@@ -2558,13 +2558,13 @@
msgstr ""
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr ""
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr ""
@@ -3806,7 +3806,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr ""
@@ -3849,14 +3849,29 @@
"literal> method with the same <literal>action</literal> parameter value."
msgstr ""
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr ""
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -3865,7 +3880,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -3879,7 +3894,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -3891,7 +3906,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -3900,7 +3915,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -3908,7 +3923,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -3920,7 +3935,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -3935,13 +3950,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -3954,13 +3969,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr ""
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -3969,43 +3984,43 @@
msgstr ""
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr ""
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr ""
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -4015,7 +4030,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -4043,7 +4058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -4052,7 +4067,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4061,7 +4076,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -4069,13 +4084,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr ""
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -4086,7 +4101,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -4095,7 +4110,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -4113,7 +4128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -4123,7 +4138,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -4133,7 +4148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -4143,7 +4158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -4158,7 +4173,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -4166,14 +4181,14 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -4183,7 +4198,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -4201,7 +4216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -4218,7 +4233,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -4229,7 +4244,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -4240,13 +4255,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -4259,7 +4274,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -4267,13 +4282,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr ""
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -4290,13 +4305,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr ""
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -4310,7 +4325,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -4328,13 +4343,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr ""
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -4344,7 +4359,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -4358,7 +4373,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -4367,13 +4382,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr ""
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -4386,7 +4401,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -4399,7 +4414,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -4407,13 +4422,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -4426,26 +4441,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr ""
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4454,13 +4469,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4469,13 +4484,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr ""
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -4484,13 +4499,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -4498,13 +4513,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -4513,13 +4528,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -4527,13 +4542,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr ""
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -4541,19 +4556,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr ""
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr ""
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -4563,13 +4578,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr ""
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -4582,7 +4597,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -4594,7 +4609,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -4602,7 +4617,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4610,14 +4625,14 @@
msgstr ""
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -4626,13 +4641,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -4643,32 +4658,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr ""
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr ""
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr ""
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4677,13 +4692,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr ""
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4692,13 +4707,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr ""
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4707,13 +4722,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr ""
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -4722,13 +4737,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr ""
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -4745,20 +4760,20 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -4767,7 +4782,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -4828,7 +4843,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -4845,13 +4860,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -4861,25 +4876,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr ""
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -4887,13 +4902,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr ""
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -4904,7 +4919,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -4912,7 +4927,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4924,7 +4939,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -4933,13 +4948,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -4951,7 +4966,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -4964,7 +4979,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -4976,7 +4991,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -4986,7 +5001,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -4994,13 +5009,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -5014,7 +5029,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -5022,7 +5037,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -5032,7 +5047,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -5043,7 +5058,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -5052,7 +5067,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -5065,13 +5080,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -5085,7 +5100,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -5093,7 +5108,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -5101,7 +5116,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -5109,7 +5124,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -5117,19 +5132,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr ""
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr ""
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -5146,7 +5161,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -5154,7 +5169,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -5162,7 +5177,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5185,7 +5200,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -5195,7 +5210,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -5204,7 +5219,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -5213,13 +5228,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -5229,13 +5244,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr ""
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -5248,7 +5263,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5258,7 +5273,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -5266,13 +5281,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -5280,13 +5295,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr ""
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -5294,7 +5309,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -5302,7 +5317,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -5310,7 +5325,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -5318,7 +5333,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -5327,13 +5342,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -5343,37 +5358,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr ""
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -5382,56 +5397,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr ""
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr ""
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr ""
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr ""
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr ""
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr ""
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -5442,13 +5457,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -5460,13 +5475,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -5477,7 +5492,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -5491,13 +5506,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -5505,7 +5520,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -5514,13 +5529,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr ""
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -5529,13 +5544,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -5545,7 +5560,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5561,13 +5576,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr ""
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -5579,13 +5594,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -5594,7 +5609,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -5610,20 +5625,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -5635,7 +5650,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -5645,20 +5660,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -5685,13 +5700,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -5699,68 +5714,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr ""
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr ""
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr ""
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr ""
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -5768,73 +5783,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr ""
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr ""
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr ""
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr ""
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -5846,7 +5861,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -5857,7 +5872,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -5869,7 +5884,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -5880,13 +5895,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -5899,7 +5914,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -5934,7 +5949,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -5944,13 +5959,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -5963,7 +5978,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -5980,7 +5995,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -5993,13 +6008,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -6009,7 +6024,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -6019,7 +6034,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -6029,7 +6044,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -6039,13 +6054,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -6055,7 +6070,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -6066,7 +6081,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -6078,13 +6093,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -6093,7 +6108,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -6113,7 +6128,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -6127,13 +6142,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -6150,13 +6165,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -6167,7 +6182,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -6176,7 +6191,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Webservices.po 2009-04-29 12:54:48 UTC (rev 10719)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -543,6 +543,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -556,6 +557,25 @@
#: Webservices.xml:259
#, no-c-format
msgid ""
+"RESTEasy supports plain EJBs (EJBs that are not Seam components) as "
+"resources. Instead of configuring the JNDI names in a non-portable fashion "
+"in <literal>web.xml</literal> (see RESTEasy documentation), you can simply "
+"list the EJB implementation classes, not the business interfaces, in "
+"<literal>components.xml</literal> as shown above. Note that you have to "
+"annotate the <literal>@Local</literal> interface of the EJB with "
+"<literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean "
+"implementation class. This allows you to keep your application deployment-"
+"portable with the global Seam <literal>jndi-pattern</literal> switch on "
+"<literal><core:init/></literal>. Note that EJB resources will not be "
+"found even if scanning of resources is enabled, you always have to list them "
+"manually. Again, this is only relevant for EJB resources that are not also "
+"Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
+msgid ""
"The <literal>use-built-in-providers</literal> switch enables (default) or "
"disables the RESTEasy built-in providers. We recommend you leave them "
"enabled, as they provide plaintext, JSON, and JAXB marshalling out of the "
@@ -563,13 +583,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -586,7 +606,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid ""
"This definition would map the URI suffix of <literal>.txt.deutsch</literal> "
@@ -596,13 +616,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr ""
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid ""
"Any resource and provider instances are managed by RESTEasy by default. That "
@@ -613,7 +633,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid ""
"You can write resources and providers as Seam components and benefit from "
@@ -622,7 +642,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -643,7 +663,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid ""
"An instance of <literal>customerResource</literal> is now handled by Seam "
@@ -658,7 +678,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid ""
"Conversation-scoped resource components and mapping of conversations is "
@@ -666,7 +686,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid ""
"Provider classes can also be Seam components, they must be "
@@ -674,7 +694,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid ""
"Resources and providers can be EJBs or JavaBeans, like any other Seam "
@@ -682,13 +702,13 @@
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid ""
"Section 3.3.4 of the JAX-RS specification defines how checked or unchecked "
@@ -701,7 +721,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid ""
"Exception handling within Seam requires that the Seam filter is executed for "
@@ -713,7 +733,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -728,7 +748,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid ""
"To convert the unchecked <literal>UnsupportedOperationException</literal> "
@@ -738,7 +758,7 @@
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -749,13 +769,13 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -767,7 +787,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid ""
"You do not have to send an HTTP error to the client if an exception occurs. "
@@ -778,7 +798,7 @@
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid ""
"Note that the HTTP response still passes through the servlet container, so "
14 years, 11 months
Seam SVN: r10718 - branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT.
by seam-commits@lists.jboss.org
Author: nico.ben
Date: 2009-04-29 08:53:38 -0400 (Wed, 29 Apr 2009)
New Revision: 10718
Modified:
branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Framework.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Security.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Webservices.po
Log:
JBSEAM-3767: Italian translation of Seam guide
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Framework.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Framework.po 2009-04-29 11:48:02 UTC (rev 10717)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Framework.po 2009-04-29 12:53:38 UTC (rev 10718)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-18 15:00+0000\n"
-"PO-Revision-Date: 2009-02-23 21:40+0100\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
+"PO-Revision-Date: 2009-04-29 14:48+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -548,7 +548,7 @@
#. Tag: para
#: Framework.xml:212
#, no-c-format
-msgid "The Home object raises an <literal>org.jboss.seam.afterTransactionSuccess</literal> event when a transaction succeeds (a call to <literal>persist()</literal>, <literal>update()</literal> or <literal>remove()</literal> succeeds). By observing this event we can refresh our queries when the underlying entities are changed. If we only want to refresh certain queries when a particular entity is persited, updated or removed we can observe the <literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event (where <literal><name></literal> is the name of the entity)."
+msgid "The Home object raises an <literal>org.jboss.seam.afterTransactionSuccess</literal> event when a transaction succeeds (a call to <literal>persist()</literal>, <literal>update()</literal> or <literal>remove()</literal> succeeds). By observing this event we can refresh our queries when the underlying entities are changed. If we only want to refresh certain queries when a particular entity is persisted, updated or removed we can observe the <literal>org.jboss.seam.afterTransactionSuccess.<name></literal> event (where <literal><name></literal> is the name of the entity)."
msgstr "L'oggetto Home solleva un'evento <literal>org.jboss.seam.afterTransactionSuccess</literal> quando una transazione ha successo (una chiamata a <literal>persist()</literal>, <literal>update()</literal> o <literal>remove()</literal> ha successo). Osservando questo evento si può fare il refresh delle query quando le entità sottostanti cambiano. Se si vuole solo eseguire il refresh quando una particolare entità viene persistita, aggiornata o rimossa, si può osservare l'evento <literal>org.jboss.seam.afterTransactionSuccess.<name></literal> (dove <literal><name></literal> è il nome dell'entity)."
#. Tag: para
@@ -934,7 +934,7 @@
#. Tag: para
#: Framework.xml:320
#, no-c-format
-msgid "Unfortunately Query objects don't work well with <emphasis>join fetch</emphasis> queries - the use of pagination with these queries is not recomended, and you'll have to implement your own method of calculating the total number of results (by overriding <literal>getCountEjbql()</literal>."
+msgid "Unfortunately Query objects don't work well with <emphasis>join fetch</emphasis> queries - the use of pagination with these queries is not recommended, and you'll have to implement your own method of calculating the total number of results (by overriding <literal>getCountEjbql()</literal>."
msgstr "Sfortunatamente gli oggetti Query non funzionano bene con query <emphasis>join fetch</emphasis> - non è consigliato l'uso della paginazione con queste query, ed occorrerà implementare un proprio metodo di calcolo del numero totale di risultati (con l'override di <literal>getCountEjbql()</literal>)."
#. Tag: para
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Security.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Security.po 2009-04-29 11:48:02 UTC (rev 10717)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Security.po 2009-04-29 12:53:38 UTC (rev 10718)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Security\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-04-07 12:40+0000\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
"PO-Revision-Date: 2009-03-24 09:12+0100\n"
"Last-Translator: \n"
"Language-Team: Italian <stefano.travelli(a)gmail.com>\n"
@@ -1723,7 +1723,7 @@
msgstr "Annotazioni per l'entità utente"
#. Tag: para
-#: Security.xml:630 Security.xml:764 Security.xml:3370 Security.xml:3533
+#: Security.xml:630 Security.xml:764 Security.xml:3382 Security.xml:3545
#, no-c-format
msgid "Annotation"
msgstr "Annotazione"
@@ -1736,8 +1736,8 @@
#. Tag: para
#: Security.xml:636 Security.xml:770 Security.xml:966 Security.xml:1418
-#: Security.xml:2147 Security.xml:2756 Security.xml:3159 Security.xml:3376
-#: Security.xml:3539 Security.xml:3780 Security.xml:4217
+#: Security.xml:2147 Security.xml:2756 Security.xml:3171 Security.xml:3388
+#: Security.xml:3551 Security.xml:3792 Security.xml:4229
#, no-c-format
msgid "Description"
msgstr "Descrizione"
@@ -3036,8 +3036,8 @@
msgstr "API per la gestione delle identità"
#. Tag: para
-#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3156
-#: Security.xml:3777 Security.xml:3946
+#: Security.xml:1412 Security.xml:1828 Security.xml:2753 Security.xml:3168
+#: Security.xml:3789 Security.xml:3958
#, no-c-format
msgid "Method"
msgstr "Metodo"
@@ -3058,9 +3058,9 @@
#: Security.xml:1433 Security.xml:1452 Security.xml:1471 Security.xml:1490
#: Security.xml:1509 Security.xml:1529 Security.xml:1548 Security.xml:1567
#: Security.xml:1586 Security.xml:1606 Security.xml:1626 Security.xml:1740
-#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3227
-#: Security.xml:3246 Security.xml:3265 Security.xml:3283 Security.xml:3828
-#: Security.xml:3847 Security.xml:3866 Security.xml:3885
+#: Security.xml:1762 Security.xml:1780 Security.xml:2766 Security.xml:3239
+#: Security.xml:3258 Security.xml:3277 Security.xml:3295 Security.xml:3840
+#: Security.xml:3859 Security.xml:3878 Security.xml:3897
#, no-c-format
msgid "boolean"
msgstr "boolean"
@@ -3426,13 +3426,13 @@
msgstr "Permessi di sicurezza nella gestione delle identità"
#. Tag: para
-#: Security.xml:1831 Security.xml:3949
+#: Security.xml:1831 Security.xml:3961
#, no-c-format
msgid "Permission Target"
msgstr "Oggetto del permesso"
#. Tag: para
-#: Security.xml:1834 Security.xml:3952
+#: Security.xml:1834 Security.xml:3964
#, no-c-format
msgid "Permission Action"
msgstr "Azione del permesso"
@@ -5116,7 +5116,7 @@
msgstr "L'interfaccia PermissionResolver"
#. Tag: para
-#: Security.xml:2750 Security.xml:3153 Security.xml:3774
+#: Security.xml:2750 Security.xml:3165 Security.xml:3786
#, no-c-format
msgid "Return type"
msgstr "Tipo restituito"
@@ -5168,14 +5168,29 @@
"<literal>hasPermission()</literal> con lo stesso valore del parametro "
"<literal>action</literal>."
+#. Tag: para
+#: Security.xml:2809
+#, no-c-format
+msgid ""
+"As they are cached in the user's session, any custom "
+"<literal>PermissionResolver</literal> implementations must adhere to a "
+"couple of restrictions. Firstly, they may not contain any state that is "
+"finer-grained than session scope (and the scope of the component itself "
+"should either be application or session). Secondly, they must not use "
+"dependency injection as they may be accessed from multiple threads "
+"simultaneously. In fact, for performance reasons it is recommended that they "
+"are annotated with <literal>@BypassInterceptors</literal> to bypass Seam's "
+"interceptor stack altogether."
+msgstr ""
+
#. Tag: title
-#: Security.xml:2812
+#: Security.xml:2824
#, no-c-format
msgid "ResolverChain"
msgstr "ResolverChain"
#. Tag: para
-#: Security.xml:2814
+#: Security.xml:2826
#, no-c-format
msgid ""
"A <literal>ResolverChain</literal> contains an ordered list of "
@@ -5187,7 +5202,7 @@
"sugli oggetti di una determinata classe oppure i permessi obiettivo."
#. Tag: para
-#: Security.xml:2819
+#: Security.xml:2831
#, no-c-format
msgid ""
"The default <literal>ResolverChain</literal> consists of all permission "
@@ -5201,7 +5216,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:2828
+#: Security.xml:2840
#, no-c-format
msgid ""
"The following sequence diagram shows the interaction between the components "
@@ -5219,7 +5234,7 @@
"<literal>Identity.checkPermission</literal>:"
#. Tag: para
-#: Security.xml:2846
+#: Security.xml:2858
#, no-c-format
msgid ""
"1. A permission check is initiated somewhere (either in code or via an EL "
@@ -5231,7 +5246,7 @@
"hasPermission()</literal>."
#. Tag: para
-#: Security.xml:2852
+#: Security.xml:2864
#, no-c-format
msgid ""
"1.1. <literal>Identity</literal> invokes <literal>PermissionMapper."
@@ -5241,7 +5256,7 @@
"resolvePermission()</literal>, passando il permesso che deve essere risolto."
#. Tag: para
-#: Security.xml:2859
+#: Security.xml:2871
#, no-c-format
msgid ""
"1.1.1. <literal>PermissionMapper</literal> maintains a <literal>Map</"
@@ -5260,7 +5275,7 @@
"<literal>ResolverChain.getResolvers()</literal>."
#. Tag: para
-#: Security.xml:2869
+#: Security.xml:2881
#, no-c-format
msgid ""
"1.1.2. For each <literal>PermissionResolver</literal> in the "
@@ -5284,13 +5299,13 @@
"<literal>true</literal>, allora la verifica del permesso è fallita."
#. Tag: title
-#: Security.xml:2885
+#: Security.xml:2897
#, no-c-format
msgid "RuleBasedPermissionResolver"
msgstr "RuleBasedPermissionResolver"
#. Tag: para
-#: Security.xml:2887
+#: Security.xml:2899
#, no-c-format
msgid ""
"One of the built-in permission resolvers provided by Seam, "
@@ -5311,13 +5326,13 @@
"multiple."
#. Tag: title
-#: Security.xml:2896
+#: Security.xml:2908
#, no-c-format
msgid "Requirements"
msgstr "Requisiti"
#. Tag: para
-#: Security.xml:2898
+#: Security.xml:2910
#, no-c-format
msgid ""
"If using the rule-based permission features provided by Seam Security, the "
@@ -5329,43 +5344,43 @@
"insieme al progetto:"
#. Tag: para
-#: Security.xml:2905
+#: Security.xml:2917
#, no-c-format
msgid "drools-compiler.jar"
msgstr "drools-compiler.jar"
#. Tag: para
-#: Security.xml:2908
+#: Security.xml:2920
#, no-c-format
msgid "drools-core.jar"
msgstr "drools-core.jar"
#. Tag: para
-#: Security.xml:2911
+#: Security.xml:2923
#, no-c-format
msgid "janino.jar"
msgstr "janino.jar"
#. Tag: para
-#: Security.xml:2914
+#: Security.xml:2926
#, no-c-format
msgid "antlr-runtime.jar"
msgstr "antlr-runtime.jar"
#. Tag: para
-#: Security.xml:2917
+#: Security.xml:2929
#, no-c-format
msgid "mvel14.jar"
msgstr "mvel14.jar"
#. Tag: title
-#: Security.xml:2924 Security.xml:3116
+#: Security.xml:2936 Security.xml:3128
#, no-c-format
msgid "Configuration"
msgstr "Configurazione"
#. Tag: para
-#: Security.xml:2926
+#: Security.xml:2938
#, no-c-format
msgid ""
"The configuration for <literal>RuleBasedPermissionResolver</literal> "
@@ -5380,7 +5395,7 @@
"esempio:"
#. Tag: programlisting
-#: Security.xml:2932
+#: Security.xml:2944
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.com/products/seam/components\"\n"
@@ -5430,7 +5445,7 @@
" </components>]]>"
#. Tag: para
-#: Security.xml:2934
+#: Security.xml:2946
#, no-c-format
msgid ""
"The default rule base name can be overridden by specifying the "
@@ -5442,7 +5457,7 @@
"<literal>RuleBasedPermissionResolver</literal>:"
#. Tag: programlisting
-#: Security.xml:2939
+#: Security.xml:2951
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -5454,7 +5469,7 @@
"{prodSecurityRules}\"/>]]>"
#. Tag: para
-#: Security.xml:2941
+#: Security.xml:2953
#, no-c-format
msgid ""
"Once the <literal>RuleBase</literal> component is configured, it's time to "
@@ -5464,13 +5479,13 @@
"momento di scrivere le regole di sicurezza."
#. Tag: title
-#: Security.xml:2947
+#: Security.xml:2959
#, no-c-format
msgid "Writing Security Rules"
msgstr "Scrivere le regole di sicurezza"
#. Tag: para
-#: Security.xml:2949
+#: Security.xml:2961
#, no-c-format
msgid ""
"The first step to writing security rules is to create a new rule file in the "
@@ -5487,7 +5502,7 @@
"<literal>components.xml</literal>."
#. Tag: para
-#: Security.xml:2956
+#: Security.xml:2968
#, no-c-format
msgid ""
"So what should the security rules file contain? At this stage it might be a "
@@ -5499,7 +5514,7 @@
"Drools, comunque per partire ecco un esempio estremamente semplice:"
#. Tag: programlisting
-#: Security.xml:2961
+#: Security.xml:2973
#, no-c-format
msgid ""
"<![CDATA[package MyApplicationPermissions;\n"
@@ -5529,7 +5544,7 @@
" end]]>"
#. Tag: para
-#: Security.xml:2963
+#: Security.xml:2975
#, no-c-format
msgid ""
"Let's break this down step by step. The first thing we see is the package "
@@ -5543,7 +5558,7 @@
"sia al di fuori della visibilità della base di regole."
#. Tag: para
-#: Security.xml:2969
+#: Security.xml:2981
#, no-c-format
msgid ""
"The next thing we can notice is a couple of import statements for the "
@@ -5558,7 +5573,7 @@
"queste classi."
#. Tag: para
-#: Security.xml:2975
+#: Security.xml:2987
#, no-c-format
msgid ""
"Finally we have the code for the rule. Each rule within a package should be "
@@ -5573,7 +5588,7 @@
"cancellare un record relativo ad un cliente."
#. Tag: para
-#: Security.xml:2981
+#: Security.xml:2993
#, no-c-format
msgid ""
"Looking at the body of the rule definition we can notice two distinct "
@@ -5598,7 +5613,7 @@
"regola è stabilita dalla linea <literal>end</literal>."
#. Tag: para
-#: Security.xml:2990
+#: Security.xml:3002
#, no-c-format
msgid ""
"If we look at the LHS of the rule, we see two conditions listed there. Let's "
@@ -5608,7 +5623,7 @@
"condizioni. Esaminiamo la prima condizione:"
#. Tag: programlisting
-#: Security.xml:2994
+#: Security.xml:3006
#, no-c-format
msgid ""
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
@@ -5616,7 +5631,7 @@
"<![CDATA[c: PermissionCheck(target == \"customer\", action == \"delete\")]]>"
#. Tag: para
-#: Security.xml:2996
+#: Security.xml:3008
#, no-c-format
msgid ""
"In plain english, this condition is stating that there must exist a "
@@ -5630,7 +5645,7 @@
"<literal>action</literal> uguale a \"delete\"."
#. Tag: para
-#: Security.xml:3002
+#: Security.xml:3014
#, no-c-format
msgid ""
"So what is the working memory? Also known as a \"stateful session\" in "
@@ -5661,7 +5676,7 @@
"literal> uguale a \"create\", per la durata del controllo di permesso."
#. Tag: para
-#: Security.xml:3014
+#: Security.xml:3026
#, no-c-format
msgid ""
"Besides the <literal>PermissionCheck</literal> facts, there is also a "
@@ -5690,7 +5705,7 @@
"risultato del processo di autentifica."
#. Tag: para
-#: Security.xml:3025
+#: Security.xml:3037
#, no-c-format
msgid ""
"It is also possible to insert additional long-lived facts into the working "
@@ -5706,7 +5721,7 @@
"all'inizio di ciascun controllo di permesso."
#. Tag: para
-#: Security.xml:3032
+#: Security.xml:3044
#, no-c-format
msgid ""
"Getting back to our simple example, we can also notice that the first line "
@@ -5723,13 +5738,13 @@
"questo:"
#. Tag: programlisting
-#: Security.xml:3039
+#: Security.xml:3051
#, no-c-format
msgid "<![CDATA[Role(name == \"admin\")]]>"
msgstr "<![CDATA[Role(name == \"admin\")]]>"
#. Tag: para
-#: Security.xml:3041
+#: Security.xml:3053
#, no-c-format
msgid ""
"This condition simply states that there must be a <literal>Role</literal> "
@@ -5749,7 +5764,7 @@
"delete</literal> e l'utente è un membro del ruolo <literal>admin</literal>\"."
#. Tag: para
-#: Security.xml:3049
+#: Security.xml:3061
#, no-c-format
msgid ""
"So what is the consequence of the rule firing? Let's take a look at the RHS "
@@ -5759,13 +5774,13 @@
"un'occhiata alla parte destra della regola:"
#. Tag: programlisting
-#: Security.xml:3053
+#: Security.xml:3065
#, no-c-format
msgid "<![CDATA[c.grant()]]>"
msgstr "<![CDATA[c.grant()]]>"
#. Tag: para
-#: Security.xml:3055
+#: Security.xml:3067
#, no-c-format
msgid ""
"The RHS consists of Java code, and in this case is invoking the "
@@ -5794,13 +5809,13 @@
"inteso."
#. Tag: title
-#: Security.xml:3069
+#: Security.xml:3081
#, no-c-format
msgid "Non-String permission targets"
msgstr "Permessi con obiettivi non stringa"
#. Tag: para
-#: Security.xml:3071
+#: Security.xml:3083
#, no-c-format
msgid ""
"So far we have only seen permission checks for String-literal permission "
@@ -5822,7 +5837,7 @@
"correntemente autenticato sia un membro del ruolo <literal>user</literal>:"
#. Tag: programlisting
-#: Security.xml:3080
+#: Security.xml:3092
#, no-c-format
msgid ""
"<![CDATA[rule CanCreateBlogComment\n"
@@ -5852,13 +5867,13 @@
"]]>"
#. Tag: title
-#: Security.xml:3085
+#: Security.xml:3097
#, no-c-format
msgid "Wildcard permission checks"
msgstr "Controlli di permesso "
#. Tag: para
-#: Security.xml:3087
+#: Security.xml:3099
#, no-c-format
msgid ""
"It is possible to implement a wildcard permission check (which allows all "
@@ -5872,7 +5887,7 @@
"<literal>PermissionCheck</literal> nella regola, in questo modo:"
#. Tag: programlisting
-#: Security.xml:3093
+#: Security.xml:3105
#, no-c-format
msgid ""
"<![CDATA[rule CanDoAnythingToCustomersIfYouAreAnAdmin\n"
@@ -5894,7 +5909,7 @@
" ]]>"
#. Tag: para
-#: Security.xml:3095
+#: Security.xml:3107
#, no-c-format
msgid ""
"This rule allows users with the <literal>admin</literal> role to perform "
@@ -5906,13 +5921,13 @@
"permesso su <literal>customer</literal>."
#. Tag: title
-#: Security.xml:3105
+#: Security.xml:3117
#, no-c-format
msgid "PersistentPermissionResolver"
msgstr "PersistentPermissionResolver"
#. Tag: para
-#: Security.xml:3107
+#: Security.xml:3119
#, no-c-format
msgid ""
"Another built-in permission resolver provided by Seam, "
@@ -5933,7 +5948,7 @@
"(non necessariamente basato sull'oggetto o la classe). "
#. Tag: para
-#: Security.xml:3118
+#: Security.xml:3130
#, no-c-format
msgid ""
"Before it can be used, <literal>PersistentPermissionResolver</literal> must "
@@ -5946,7 +5961,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3126
+#: Security.xml:3138
#, no-c-format
msgid ""
"<![CDATA[ <security:persistent-permission-resolver permission-store=\"#"
@@ -5956,13 +5971,13 @@
"{myCustomPermissionStore}\"/>]]>"
#. Tag: title
-#: Security.xml:3131
+#: Security.xml:3143
#, no-c-format
msgid "Permission Stores"
msgstr ""
#. Tag: para
-#: Security.xml:3133
+#: Security.xml:3145
#, no-c-format
msgid ""
"A permission store is required for <literal>PersistentPermissionResolver</"
@@ -5975,26 +5990,26 @@
msgstr ""
#. Tag: title
-#: Security.xml:3143
+#: Security.xml:3155
#, no-c-format
msgid "PermissionStore interface"
msgstr ""
#. Tag: literal
-#: Security.xml:3169 Security.xml:3188 Security.xml:3207 Security.xml:3790
-#: Security.xml:3809
+#: Security.xml:3181 Security.xml:3200 Security.xml:3219 Security.xml:3802
+#: Security.xml:3821
#, no-c-format
msgid "List<Permission>"
msgstr "List<Permission>"
#. Tag: literal
-#: Security.xml:3174 Security.xml:3814
+#: Security.xml:3186 Security.xml:3826
#, no-c-format
msgid "listPermissions(Object target)"
msgstr "listPermissions(Object target)"
#. Tag: para
-#: Security.xml:3178
+#: Security.xml:3190
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -6003,13 +6018,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3193 Security.xml:3795
+#: Security.xml:3205 Security.xml:3807
#, no-c-format
msgid "listPermissions(Object target, String action)"
msgstr "listPermissions(Object target, String action)"
#. Tag: para
-#: Security.xml:3197
+#: Security.xml:3209
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -6018,13 +6033,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3212
+#: Security.xml:3224
#, no-c-format
msgid "listPermissions(Set<Object> targets, String action)"
msgstr "listPermissions(Set<Object> targets, String action)"
#. Tag: para
-#: Security.xml:3216
+#: Security.xml:3228
#, no-c-format
msgid ""
"This method should return a <literal>List</literal> of <literal>Permission</"
@@ -6033,13 +6048,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3232
+#: Security.xml:3244
#, no-c-format
msgid "grantPermission(Permission)"
msgstr "grantPermission(Permission)"
#. Tag: para
-#: Security.xml:3236
+#: Security.xml:3248
#, no-c-format
msgid ""
"This method should persist the specified <literal>Permission</literal> "
@@ -6047,13 +6062,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3251 Security.xml:3852
+#: Security.xml:3263 Security.xml:3864
#, no-c-format
msgid "grantPermissions(List<Permission> permissions)"
msgstr "grantPermissions(List<Permission> permissions)"
#. Tag: para
-#: Security.xml:3255
+#: Security.xml:3267
#, no-c-format
msgid ""
"This method should persist all of the <literal>Permission</literal> objects "
@@ -6062,13 +6077,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3270 Security.xml:3871
+#: Security.xml:3282 Security.xml:3883
#, no-c-format
msgid "revokePermission(Permission permission)"
msgstr "revokePermission(Permission permission)"
#. Tag: para
-#: Security.xml:3274
+#: Security.xml:3286
#, no-c-format
msgid ""
"This method should remove the specified <literal>Permission</literal> object "
@@ -6076,13 +6091,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3288 Security.xml:3890
+#: Security.xml:3300 Security.xml:3902
#, no-c-format
msgid "revokePermissions(List<Permission> permissions)"
msgstr "revokePermissions(List<Permission> permissions)"
#. Tag: para
-#: Security.xml:3292
+#: Security.xml:3304
#, no-c-format
msgid ""
"This method should remove all of the <literal>Permission</literal> objects "
@@ -6090,19 +6105,19 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3302 Security.xml:3904
+#: Security.xml:3314 Security.xml:3916
#, no-c-format
msgid "List<String>"
msgstr "List<String>"
#. Tag: literal
-#: Security.xml:3307 Security.xml:3909
+#: Security.xml:3319 Security.xml:3921
#, no-c-format
msgid "listAvailableActions(Object target)"
msgstr "listAvailableActions(Object target)"
#. Tag: para
-#: Security.xml:3311
+#: Security.xml:3323
#, no-c-format
msgid ""
"This method should return a list of all the available actions (as Strings) "
@@ -6112,13 +6127,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3325
+#: Security.xml:3337
#, no-c-format
msgid "JpaPermissionStore"
msgstr "JpaPermissionStore"
#. Tag: para
-#: Security.xml:3327
+#: Security.xml:3339
#, no-c-format
msgid ""
"This is the default <literal>PermissionStore</literal> implementation (and "
@@ -6131,7 +6146,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3335
+#: Security.xml:3347
#, no-c-format
msgid ""
"If you wish to use the same entity (i.e. a single database table) to store "
@@ -6143,7 +6158,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3342
+#: Security.xml:3354
#, no-c-format
msgid ""
"For example, to configure a single entity class to store both user and role "
@@ -6151,7 +6166,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3344
+#: Security.xml:3356
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -6161,14 +6176,14 @@
"model.AccountPermission\"/>]]>"
#. Tag: para
-#: Security.xml:3346
+#: Security.xml:3358
#, no-c-format
msgid ""
"To configure separate entity classes for storing user and role permissions:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:3348
+#: Security.xml:3360
#, no-c-format
msgid ""
"<![CDATA[ <security:jpa-permission-store user-permission-class=\"com.acme."
@@ -6180,13 +6195,13 @@
" role-permission-class=\"com.acme.model.RolePermission\"/>]]>"
#. Tag: title
-#: Security.xml:3351
+#: Security.xml:3363
#, no-c-format
msgid "Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3353
+#: Security.xml:3365
#, no-c-format
msgid ""
"As mentioned, the entity classes that contain the user and role permissions "
@@ -6197,32 +6212,32 @@
msgstr ""
#. Tag: title
-#: Security.xml:3360
+#: Security.xml:3372
#, no-c-format
msgid "Entity Permission annotations"
msgstr ""
#. Tag: para
-#: Security.xml:3373 Security.xml:3536
+#: Security.xml:3385 Security.xml:3548
#, no-c-format
msgid "Target"
msgstr "Target"
#. Tag: literal
-#: Security.xml:3386
+#: Security.xml:3398
#, no-c-format
msgid "@PermissionTarget"
msgstr "@PermissionTarget"
#. Tag: literal
-#: Security.xml:3391 Security.xml:3410 Security.xml:3429 Security.xml:3448
-#: Security.xml:3467
+#: Security.xml:3403 Security.xml:3422 Security.xml:3441 Security.xml:3460
+#: Security.xml:3479
#, no-c-format
msgid "FIELD,METHOD"
msgstr "FIELD,METHOD"
#. Tag: para
-#: Security.xml:3395
+#: Security.xml:3407
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6231,13 +6246,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3405
+#: Security.xml:3417
#, no-c-format
msgid "@PermissionAction"
msgstr "@PermissionAction"
#. Tag: para
-#: Security.xml:3414
+#: Security.xml:3426
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6246,13 +6261,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3424
+#: Security.xml:3436
#, no-c-format
msgid "@PermissionUser"
msgstr "@PermissionUser"
#. Tag: para
-#: Security.xml:3433
+#: Security.xml:3445
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6261,13 +6276,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3443
+#: Security.xml:3455
#, no-c-format
msgid "@PermissionRole"
msgstr "@PermissionRole"
#. Tag: para
-#: Security.xml:3452
+#: Security.xml:3464
#, no-c-format
msgid ""
"This annotation identifies the property of the entity that will contain the "
@@ -6276,13 +6291,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3462
+#: Security.xml:3474
#, no-c-format
msgid "@PermissionDiscriminator"
msgstr "@PermissionDiscriminator"
#. Tag: para
-#: Security.xml:3471
+#: Security.xml:3483
#, no-c-format
msgid ""
"This annotation should be used when the same entity/table is used to store "
@@ -6299,7 +6314,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3481
+#: Security.xml:3493
#, no-c-format
msgid ""
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
@@ -6307,13 +6322,13 @@
"<![CDATA[ @PermissionDiscriminator(userValue = \"u\", roleValue = \"r\")]]>"
#. Tag: title
-#: Security.xml:3492
+#: Security.xml:3504
#, no-c-format
msgid "Example Entity"
msgstr ""
#. Tag: para
-#: Security.xml:3494
+#: Security.xml:3506
#, no-c-format
msgid ""
"Here is an example of an entity class that is used to store both user and "
@@ -6322,7 +6337,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3499
+#: Security.xml:3511
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -6438,7 +6453,7 @@
" ]]>"
#. Tag: para
-#: Security.xml:3501
+#: Security.xml:3513
#, no-c-format
msgid ""
"As can be seen in the above example, the <literal>getDiscriminator()</"
@@ -6455,13 +6470,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3514
+#: Security.xml:3526
#, no-c-format
msgid "Class-specific Permission Configuration"
msgstr ""
#. Tag: para
-#: Security.xml:3516
+#: Security.xml:3528
#, no-c-format
msgid ""
"A further set of class-specific annotations can be used to configure a "
@@ -6471,25 +6486,25 @@
msgstr ""
#. Tag: title
-#: Security.xml:3523
+#: Security.xml:3535
#, no-c-format
msgid "Class Permission Annotations"
msgstr ""
#. Tag: literal
-#: Security.xml:3549
+#: Security.xml:3561
#, no-c-format
msgid "@Permissions"
msgstr "@Permissions"
#. Tag: literal
-#: Security.xml:3554 Security.xml:3572
+#: Security.xml:3566 Security.xml:3584
#, no-c-format
msgid "TYPE"
msgstr "TYPE"
#. Tag: para
-#: Security.xml:3558
+#: Security.xml:3570
#, no-c-format
msgid ""
"A container annotation, this annotation may contain an array of "
@@ -6497,13 +6512,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3567
+#: Security.xml:3579
#, no-c-format
msgid "@Permission"
msgstr "@Permission"
#. Tag: para
-#: Security.xml:3576
+#: Security.xml:3588
#, no-c-format
msgid ""
"This annotation defines a single allowable permission action for the target "
@@ -6514,7 +6529,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3588
+#: Security.xml:3600
#, no-c-format
msgid ""
"Here's an example of the above annotations in action. The following class "
@@ -6522,7 +6537,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3592
+#: Security.xml:3604
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -6540,7 +6555,7 @@
"public class MemberImage implements Serializable {]]>"
#. Tag: para
-#: Security.xml:3594
+#: Security.xml:3606
#, no-c-format
msgid ""
"This example demonstrates how two allowable permission actions, "
@@ -6549,13 +6564,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3602
+#: Security.xml:3614
#, no-c-format
msgid "Permission masks"
msgstr ""
#. Tag: para
-#: Security.xml:3604
+#: Security.xml:3616
#, no-c-format
msgid ""
"By default, multiple permissions for the same target object and recipient "
@@ -6567,7 +6582,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3611
+#: Security.xml:3623
#, no-c-format
msgid ""
"For example, if recipient \"Bob\" is granted both the <literal>view</"
@@ -6580,7 +6595,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3618
+#: Security.xml:3630
#, no-c-format
msgid ""
"<![CDATA[@Permissions({\n"
@@ -6598,7 +6613,7 @@
"public class MemberImage implements Serializable {]]>"
#. Tag: para
-#: Security.xml:3620
+#: Security.xml:3632
#, no-c-format
msgid ""
"The <literal>action</literal> property will instead simply contain \"3"
@@ -6608,7 +6623,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3626
+#: Security.xml:3638
#, no-c-format
msgid ""
"Obviously, it is very important that the <literal>mask</literal> values "
@@ -6616,13 +6631,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3632
+#: Security.xml:3644
#, no-c-format
msgid "Identifier Policy"
msgstr ""
#. Tag: para
-#: Security.xml:3634
+#: Security.xml:3646
#, no-c-format
msgid ""
"When storing or looking up permissions, <literal>JpaPermissionStore</"
@@ -6636,7 +6651,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3642
+#: Security.xml:3654
#, no-c-format
msgid ""
"The <literal>IdentifierStrategy</literal> interface is very simple, "
@@ -6644,7 +6659,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3646
+#: Security.xml:3658
#, no-c-format
msgid ""
"<![CDATA[public interface IdentifierStrategy {\n"
@@ -6658,7 +6673,7 @@
"}]]>"
#. Tag: para
-#: Security.xml:3648
+#: Security.xml:3660
#, no-c-format
msgid ""
"The first method, <literal>canIdentify()</literal> simply returns "
@@ -6669,7 +6684,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3654
+#: Security.xml:3666
#, no-c-format
msgid ""
"Seam provides two <literal>IdentifierStrategy</literal> implementations, "
@@ -6678,7 +6693,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3659
+#: Security.xml:3671
#, no-c-format
msgid ""
"To explicitly configure a specific identifier strategy to use for a "
@@ -6691,13 +6706,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3669
+#: Security.xml:3681
#, no-c-format
msgid "ClassIdentifierStrategy"
msgstr "ClassIdentifierStrategy"
#. Tag: para
-#: Security.xml:3671
+#: Security.xml:3683
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for classes, "
@@ -6711,7 +6726,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3680
+#: Security.xml:3692
#, no-c-format
msgid ""
"<![CDATA[@Identifier(name = \"customer\")\n"
@@ -6721,7 +6736,7 @@
"public class Customer {]]>"
#. Tag: para
-#: Security.xml:3682
+#: Security.xml:3694
#, no-c-format
msgid ""
"The identifier for the following class will be \"<literal>customerAction</"
@@ -6729,7 +6744,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3686
+#: Security.xml:3698
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerAction\")\n"
@@ -6739,7 +6754,7 @@
"public class CustomerAction { ]]>"
#. Tag: para
-#: Security.xml:3688
+#: Security.xml:3700
#, no-c-format
msgid ""
"Finally, the identifier for the following class will be \"<literal>Customer</"
@@ -6747,19 +6762,19 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3692
+#: Security.xml:3704
#, no-c-format
msgid "<![CDATA[public class Customer { ]]>"
msgstr "<![CDATA[public class Customer { ]]>"
#. Tag: title
-#: Security.xml:3697
+#: Security.xml:3709
#, no-c-format
msgid "EntityIdentifierStrategy"
msgstr "EntityIdentifierStrategy"
#. Tag: para
-#: Security.xml:3699
+#: Security.xml:3711
#, no-c-format
msgid ""
"This identifier strategy is used to generate unique identifiers for entity "
@@ -6776,7 +6791,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3710
+#: Security.xml:3722
#, no-c-format
msgid ""
"<![CDATA[@Identifier(value = EntityIdentifierStrategy.class)\n"
@@ -6786,7 +6801,7 @@
"public class Customer { ]]>"
#. Tag: para
-#: Security.xml:3712
+#: Security.xml:3724
#, no-c-format
msgid ""
"For an example of the type of identifier values generated, assume we have "
@@ -6794,7 +6809,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3716
+#: Security.xml:3728
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -6834,7 +6849,7 @@
"}]]>"
#. Tag: para
-#: Security.xml:3718
+#: Security.xml:3730
#, no-c-format
msgid ""
"For a <literal>Customer</literal> instance with an <literal>id</literal> "
@@ -6844,7 +6859,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3724
+#: Security.xml:3736
#, no-c-format
msgid ""
"<![CDATA[@Entity\n"
@@ -6856,7 +6871,7 @@
"public class Customer { ]]>"
#. Tag: para
-#: Security.xml:3726
+#: Security.xml:3738
#, no-c-format
msgid ""
"Then a <literal>Customer</literal> with an <literal>id</literal> value of "
@@ -6865,13 +6880,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3739
+#: Security.xml:3751
#, no-c-format
msgid "Permission Management"
msgstr ""
#. Tag: para
-#: Security.xml:3741
+#: Security.xml:3753
#, no-c-format
msgid ""
"In much the same way that Seam Security provides an Identity Management API "
@@ -6881,13 +6896,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3748
+#: Security.xml:3760
#, no-c-format
msgid "PermissionManager"
msgstr "PermissionManager"
#. Tag: para
-#: Security.xml:3750
+#: Security.xml:3762
#, no-c-format
msgid ""
"The <literal>PermissionManager</literal> component is an application-scoped "
@@ -6900,7 +6915,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:3757
+#: Security.xml:3769
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -6914,7 +6929,7 @@
" ]]>"
#. Tag: para
-#: Security.xml:3759
+#: Security.xml:3771
#, no-c-format
msgid ""
"The following table describes each of the available methods provided by "
@@ -6922,13 +6937,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3764
+#: Security.xml:3776
#, no-c-format
msgid "PermissionManager API methods"
msgstr ""
#. Tag: para
-#: Security.xml:3799 Security.xml:3818
+#: Security.xml:3811 Security.xml:3830
#, no-c-format
msgid ""
"Returns a list of <literal>Permission</literal> objects representing all of "
@@ -6936,13 +6951,13 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3833
+#: Security.xml:3845
#, no-c-format
msgid "grantPermission(Permission permission)"
msgstr "grantPermission(Permission permission)"
#. Tag: para
-#: Security.xml:3837
+#: Security.xml:3849
#, no-c-format
msgid ""
"Persists (grants) the specified <literal>Permission</literal> to the backend "
@@ -6950,7 +6965,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3856
+#: Security.xml:3868
#, no-c-format
msgid ""
"Persists (grants) the specified list of <literal>Permission</literal>s to "
@@ -6958,7 +6973,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3875
+#: Security.xml:3887
#, no-c-format
msgid ""
"Removes (revokes) the specified <literal>Permission</literal> from the "
@@ -6966,7 +6981,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3894
+#: Security.xml:3906
#, no-c-format
msgid ""
"Removes (revokes) the specified list of <literal>Permission</literal>s from "
@@ -6974,7 +6989,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:3913
+#: Security.xml:3925
#, no-c-format
msgid ""
"Returns a list of the available actions for the specified target object. The "
@@ -6983,13 +6998,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:3928
+#: Security.xml:3940
#, no-c-format
msgid "Permission checks for PermissionManager operations"
msgstr ""
#. Tag: para
-#: Security.xml:3930
+#: Security.xml:3942
#, no-c-format
msgid ""
"Invoking the methods of <literal>PermissionManager</literal> requires that "
@@ -6999,37 +7014,37 @@
msgstr ""
#. Tag: title
-#: Security.xml:3937
+#: Security.xml:3949
#, no-c-format
msgid "Permission Management Security Permissions"
msgstr ""
#. Tag: literal
-#: Security.xml:3961
+#: Security.xml:3973
#, no-c-format
msgid "listPermissions()"
msgstr "listPermissions()"
#. Tag: para
-#: Security.xml:3965
+#: Security.xml:3977
#, no-c-format
msgid "The specified <literal>target</literal>"
msgstr ""
#. Tag: literal
-#: Security.xml:3971
+#: Security.xml:3983
#, no-c-format
msgid "seam.read-permissions"
msgstr "seam.read-permissions"
#. Tag: literal
-#: Security.xml:3979 Security.xml:3999
+#: Security.xml:3991 Security.xml:4011
#, no-c-format
msgid "grantPermission()"
msgstr "grantPermission()"
#. Tag: para
-#: Security.xml:3983
+#: Security.xml:3995
#, no-c-format
msgid ""
"The target of the specified <literal>Permission</literal>, or each of the "
@@ -7038,56 +7053,56 @@
msgstr ""
#. Tag: literal
-#: Security.xml:3991 Security.xml:4009 Security.xml:4027
+#: Security.xml:4003 Security.xml:4021 Security.xml:4039
#, no-c-format
msgid "seam.grant-permission"
msgstr "seam.grant-permission"
#. Tag: para
-#: Security.xml:4003 Security.xml:4039
+#: Security.xml:4015 Security.xml:4051
#, no-c-format
msgid "The target of the specified <literal>Permission</literal>."
msgstr ""
#. Tag: literal
-#: Security.xml:4017
+#: Security.xml:4029
#, no-c-format
msgid "grantPermissions()"
msgstr "grantPermissions()"
#. Tag: para
-#: Security.xml:4021 Security.xml:4057
+#: Security.xml:4033 Security.xml:4069
#, no-c-format
msgid ""
"Each of the targets of the specified list of <literal>Permission</literal>s."
msgstr ""
#. Tag: literal
-#: Security.xml:4035
+#: Security.xml:4047
#, no-c-format
msgid "revokePermission()"
msgstr "revokePermission()"
#. Tag: literal
-#: Security.xml:4045 Security.xml:4063
+#: Security.xml:4057 Security.xml:4075
#, no-c-format
msgid "seam.revoke-permission"
msgstr "seam.revoke-permission"
#. Tag: literal
-#: Security.xml:4053
+#: Security.xml:4065
#, no-c-format
msgid "revokePermissions()"
msgstr "revokePermissions()"
#. Tag: title
-#: Security.xml:4076
+#: Security.xml:4088
#, no-c-format
msgid "SSL Security"
msgstr "SSL Security"
#. Tag: para
-#: Security.xml:4078
+#: Security.xml:4090
#, no-c-format
msgid ""
"Seam includes basic support for serving sensitive pages via the HTTPS "
@@ -7098,13 +7113,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4085
+#: Security.xml:4097
#, no-c-format
msgid "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
msgstr "<![CDATA[<page view-id=\"/login.xhtml\" scheme=\"https\"/>]]>"
#. Tag: para
-#: Security.xml:4087
+#: Security.xml:4099
#, no-c-format
msgid ""
"This configuration is automatically extended to both <literal>s:link</"
@@ -7116,13 +7131,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4094
+#: Security.xml:4106
#, no-c-format
msgid "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
msgstr "<![CDATA[<s:link view=\"/login.xhtml\" value=\"Login\"/>]]>"
#. Tag: para
-#: Security.xml:4096
+#: Security.xml:4108
#, no-c-format
msgid ""
"Browsing directly to a view when using the <emphasis>incorrect</emphasis> "
@@ -7133,7 +7148,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4103
+#: Security.xml:4115
#, no-c-format
msgid ""
"It is also possible to configure a <emphasis>default scheme</emphasis> for "
@@ -7147,13 +7162,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4112
+#: Security.xml:4124
#, no-c-format
msgid "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
msgstr "<![CDATA[<page view-id=\"*\" scheme=\"http\" />]]>"
#. Tag: para
-#: Security.xml:4114
+#: Security.xml:4126
#, no-c-format
msgid ""
"Of course, if <emphasis>none</emphasis> of the pages in your application use "
@@ -7161,7 +7176,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4119
+#: Security.xml:4131
#, no-c-format
msgid ""
"You may configure Seam to automatically invalidate the current HTTP session "
@@ -7170,13 +7185,13 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4124
+#: Security.xml:4136
#, no-c-format
msgid "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
msgstr "<![CDATA[<web:session invalidate-on-scheme-change=\"true\"/>]]>"
#. Tag: para
-#: Security.xml:4126
+#: Security.xml:4138
#, no-c-format
msgid ""
"This option helps make your system less vulnerable to sniffing of the "
@@ -7185,13 +7200,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4132
+#: Security.xml:4144
#, no-c-format
msgid "Overriding the default ports"
msgstr ""
#. Tag: para
-#: Security.xml:4134
+#: Security.xml:4146
#, no-c-format
msgid ""
"If you wish to configure the HTTP and HTTPS ports manually, they may be "
@@ -7201,7 +7216,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4140
+#: Security.xml:4152
#, no-c-format
msgid ""
"<![CDATA[\n"
@@ -7227,13 +7242,13 @@
" ]]>"
#. Tag: title
-#: Security.xml:4146
+#: Security.xml:4158
#, no-c-format
msgid "CAPTCHA"
msgstr "CAPTCHA"
#. Tag: para
-#: Security.xml:4148
+#: Security.xml:4160
#, no-c-format
msgid ""
"Though strictly not part of the security API, Seam provides a built-in "
@@ -7245,13 +7260,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4156
+#: Security.xml:4168
#, no-c-format
msgid "Configuring the CAPTCHA Servlet"
msgstr ""
#. Tag: para
-#: Security.xml:4157
+#: Security.xml:4169
#, no-c-format
msgid ""
"To get up and running, it is necessary to configure the Seam Resource "
@@ -7260,7 +7275,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4162
+#: Security.xml:4174
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
@@ -7286,20 +7301,20 @@
"</servlet-mapping>]]>"
#. Tag: title
-#: Security.xml:4167
+#: Security.xml:4179
#, no-c-format
msgid "Adding a CAPTCHA to a form"
msgstr ""
#. Tag: para
-#: Security.xml:4169
+#: Security.xml:4181
#, no-c-format
msgid ""
"Adding a CAPTCHA challenge to a form is extremely easy. Here's an example:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4173
+#: Security.xml:4185
#, no-c-format
msgid ""
"<![CDATA[<h:graphicImage value=\"/seam/resource/captcha\"/>\n"
@@ -7317,7 +7332,7 @@
"<h:message for=\"verifyCaptcha\"/>]]>"
#. Tag: para
-#: Security.xml:4175
+#: Security.xml:4187
#, no-c-format
msgid ""
"That's all there is to it. The <literal>graphicImage</literal> control "
@@ -7327,20 +7342,20 @@
msgstr ""
#. Tag: title
-#: Security.xml:4184
+#: Security.xml:4196
#, no-c-format
msgid "Customising the CAPTCHA algorithm"
msgstr ""
#. Tag: para
-#: Security.xml:4186
+#: Security.xml:4198
#, no-c-format
msgid ""
"You may customize the CAPTCHA algorithm by overriding the built-in component:"
msgstr ""
#. Tag: programlisting
-#: Security.xml:4190
+#: Security.xml:4202
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.captcha.captcha\")\n"
@@ -7388,13 +7403,13 @@
"}]]>"
#. Tag: title
-#: Security.xml:4197 Security.xml:4205
+#: Security.xml:4209 Security.xml:4217
#, no-c-format
msgid "Security Events"
msgstr ""
#. Tag: para
-#: Security.xml:4199
+#: Security.xml:4211
#, no-c-format
msgid ""
"The following table describes a number of events (see <xref linkend=\"events"
@@ -7402,68 +7417,68 @@
msgstr ""
#. Tag: para
-#: Security.xml:4214
+#: Security.xml:4226
#, no-c-format
msgid "Event Key"
msgstr ""
#. Tag: literal
-#: Security.xml:4227
+#: Security.xml:4239
#, no-c-format
msgid "org.jboss.seam.security.loginSuccessful"
msgstr "org.jboss.seam.security.loginSuccessful"
#. Tag: para
-#: Security.xml:4231
+#: Security.xml:4243
#, no-c-format
msgid "Raised when a login attempt is successful."
msgstr ""
#. Tag: literal
-#: Security.xml:4239
+#: Security.xml:4251
#, no-c-format
msgid "org.jboss.seam.security.loginFailed"
msgstr "org.jboss.seam.security.loginFailed"
#. Tag: para
-#: Security.xml:4243
+#: Security.xml:4255
#, no-c-format
msgid "Raised when a login attempt fails."
msgstr ""
#. Tag: literal
-#: Security.xml:4251
+#: Security.xml:4263
#, no-c-format
msgid "org.jboss.seam.security.alreadyLoggedIn"
msgstr "org.jboss.seam.security.alreadyLoggedIn"
#. Tag: para
-#: Security.xml:4255
+#: Security.xml:4267
#, no-c-format
msgid ""
"Raised when a user that is already authenticated attempts to log in again."
msgstr ""
#. Tag: literal
-#: Security.xml:4263
+#: Security.xml:4275
#, no-c-format
msgid "org.jboss.seam.security.notLoggedIn"
msgstr "org.jboss.seam.security.notLoggedIn"
#. Tag: para
-#: Security.xml:4267
+#: Security.xml:4279
#, no-c-format
msgid "Raised when a security check fails when the user is not logged in."
msgstr ""
#. Tag: literal
-#: Security.xml:4275
+#: Security.xml:4287
#, no-c-format
msgid "org.jboss.seam.security.notAuthorized"
msgstr "org.jboss.seam.security.notAuthorized"
#. Tag: para
-#: Security.xml:4279
+#: Security.xml:4291
#, no-c-format
msgid ""
"Raised when a security check fails when the user is logged in however "
@@ -7471,73 +7486,73 @@
msgstr ""
#. Tag: literal
-#: Security.xml:4287
+#: Security.xml:4299
#, no-c-format
msgid "org.jboss.seam.security.preAuthenticate"
msgstr "org.jboss.seam.security.preAuthenticate"
#. Tag: para
-#: Security.xml:4291
+#: Security.xml:4303
#, no-c-format
msgid "Raised just prior to user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4299
+#: Security.xml:4311
#, no-c-format
msgid "org.jboss.seam.security.postAuthenticate"
msgstr "org.jboss.seam.security.postAuthenticate"
#. Tag: para
-#: Security.xml:4303
+#: Security.xml:4315
#, no-c-format
msgid "Raised just after user authentication."
msgstr ""
#. Tag: literal
-#: Security.xml:4311
+#: Security.xml:4323
#, no-c-format
msgid "org.jboss.seam.security.loggedOut"
msgstr "org.jboss.seam.security.loggedOut"
#. Tag: para
-#: Security.xml:4315
+#: Security.xml:4327
#, no-c-format
msgid "Raised after the user has logged out."
msgstr ""
#. Tag: literal
-#: Security.xml:4323
+#: Security.xml:4335
#, no-c-format
msgid "org.jboss.seam.security.credentialsUpdated"
msgstr "org.jboss.seam.security.credentialsUpdated"
#. Tag: para
-#: Security.xml:4327
+#: Security.xml:4339
#, no-c-format
msgid "Raised when the user's credentials have been changed."
msgstr ""
#. Tag: literal
-#: Security.xml:4335
+#: Security.xml:4347
#, no-c-format
msgid "org.jboss.seam.security.rememberMe"
msgstr "org.jboss.seam.security.rememberMe"
#. Tag: para
-#: Security.xml:4339
+#: Security.xml:4351
#, no-c-format
msgid "Raised when the Identity's rememberMe property is changed."
msgstr ""
#. Tag: title
-#: Security.xml:4352
+#: Security.xml:4364
#, no-c-format
msgid "Run As"
msgstr ""
#. Tag: para
-#: Security.xml:4354
+#: Security.xml:4366
#, no-c-format
msgid ""
"Sometimes it may be necessary to perform certain operations with elevated "
@@ -7549,7 +7564,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4362
+#: Security.xml:4374
#, no-c-format
msgid ""
"The following code example demonstrates how <literal>RunAsOperation</"
@@ -7560,7 +7575,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4369
+#: Security.xml:4381
#, no-c-format
msgid ""
"<![CDATA[ new RunAsOperation() { \n"
@@ -7578,7 +7593,7 @@
" .run();]]>"
#. Tag: para
-#: Security.xml:4371
+#: Security.xml:4383
#, no-c-format
msgid ""
"In a similar way, the <literal>getPrincipal()</literal> or "
@@ -7589,13 +7604,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4382
+#: Security.xml:4394
#, no-c-format
msgid "Extending the Identity component"
msgstr ""
#. Tag: para
-#: Security.xml:4384
+#: Security.xml:4396
#, no-c-format
msgid ""
"Sometimes it might be necessary to extend the Identity component if your "
@@ -7608,7 +7623,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4392
+#: Security.xml:4404
#, no-c-format
msgid ""
"<![CDATA[@Name(\"org.jboss.seam.security.identity\")\n"
@@ -7672,7 +7687,7 @@
"}]]>"
#. Tag: para
-#: Security.xml:4395
+#: Security.xml:4407
#, no-c-format
msgid ""
"Note that an <literal>Identity</literal> component must be marked "
@@ -7682,13 +7697,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4407
+#: Security.xml:4419
#, no-c-format
msgid "OpenID"
msgstr "OpenID"
#. Tag: para
-#: Security.xml:4409
+#: Security.xml:4421
#, no-c-format
msgid ""
"OpenID is a community standard for external web-based authentication. The "
@@ -7701,7 +7716,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4418
+#: Security.xml:4430
#, no-c-format
msgid ""
"When using OpenID, the user selects an OpenID provider, and the provider "
@@ -7718,7 +7733,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4427
+#: Security.xml:4439
#, no-c-format
msgid ""
"It's important to realize at this point that authentication does not imply "
@@ -7731,13 +7746,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4437
+#: Security.xml:4449
#, no-c-format
msgid "Configuring OpenID"
msgstr ""
#. Tag: para
-#: Security.xml:4438
+#: Security.xml:4450
#, no-c-format
msgid ""
"Seam uses the openid4java package and requires four additional JARs to make "
@@ -7747,7 +7762,7 @@
msgstr ""
#. Tag: para
-#: Security.xml:4444
+#: Security.xml:4456
#, no-c-format
msgid ""
"OpenID processing requires the use of the <literal>OpenIdPhaseListener</"
@@ -7757,7 +7772,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4450
+#: Security.xml:4462
#, no-c-format
msgid ""
"<lifecycle>\n"
@@ -7771,7 +7786,7 @@
"</lifecycle>"
#. Tag: para
-#: Security.xml:4453
+#: Security.xml:4465
#, no-c-format
msgid ""
"With this configuration, OpenID support is available to your application. "
@@ -7781,13 +7796,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4461
+#: Security.xml:4473
#, no-c-format
msgid "Presenting an OpenIdDLogin form"
msgstr ""
#. Tag: para
-#: Security.xml:4463
+#: Security.xml:4475
#, no-c-format
msgid ""
"To initiate an OpenID login, you can present a simply form to the user "
@@ -7797,7 +7812,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4468
+#: Security.xml:4480
#, no-c-format
msgid ""
"<h:form>\n"
@@ -7813,7 +7828,7 @@
"</h:form>"
#. Tag: para
-#: Security.xml:4470
+#: Security.xml:4482
#, no-c-format
msgid ""
"When the user submits the login form, he will be redirected to his OpenID "
@@ -7825,13 +7840,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4479
+#: Security.xml:4491
#, no-c-format
msgid "Logging in immediately"
msgstr ""
#. Tag: para
-#: Security.xml:4481
+#: Security.xml:4493
#, no-c-format
msgid ""
"The simplest strategy is to simply login the user immediately. The following "
@@ -7840,7 +7855,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4485
+#: Security.xml:4497
#, no-c-format
msgid ""
"<page view-id="/openid.xhtml">\n"
@@ -7874,7 +7889,7 @@
"</page>"
#. Tag: para
-#: Security.xml:4487
+#: Security.xml:4499
#, no-c-format
msgid ""
"Thie <literal>loginImmediately()</literal> action checks to see if the "
@@ -7888,13 +7903,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4498
+#: Security.xml:4510
#, no-c-format
msgid "Deferring login"
msgstr ""
#. Tag: para
-#: Security.xml:4500
+#: Security.xml:4512
#, no-c-format
msgid ""
"You may not want the user to be immediately logged in to your application. "
@@ -7911,13 +7926,13 @@
msgstr ""
#. Tag: title
-#: Security.xml:4514
+#: Security.xml:4526
#, no-c-format
msgid "Logging out"
msgstr ""
#. Tag: para
-#: Security.xml:4516
+#: Security.xml:4528
#, no-c-format
msgid ""
"Logging out (forgetting an OpenID association) is done by calling <literal>#"
@@ -7928,7 +7943,7 @@
msgstr ""
#. Tag: programlisting
-#: Security.xml:4523
+#: Security.xml:4535
#, no-c-format
msgid ""
"<event type="org.jboss.seam.security.loggedOut">\n"
@@ -7940,7 +7955,7 @@
"</event>"
#. Tag: para
-#: Security.xml:4525
+#: Security.xml:4537
#, no-c-format
msgid ""
"It's important that you do not leave this out or the user will not be able "
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Webservices.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Webservices.po 2009-04-29 11:48:02 UTC (rev 10717)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Webservices.po 2009-04-29 12:53:38 UTC (rev 10718)
@@ -5,8 +5,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-22 12:51+0000\n"
-"PO-Revision-Date: 2009-03-22 13:57+0100\n"
+"POT-Creation-Date: 2009-04-29 12:40+0000\n"
+"PO-Revision-Date: 2009-04-29 14:52+0100\n"
"Last-Translator: Nicola Benaglia <nico.benaz(a)gmail.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
@@ -491,6 +491,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -507,6 +508,7 @@
" <resteasy:resource-class-names>\n"
" <value>org.foo.MyCustomerResource</value>\n"
" <value>org.foo.MyOrderResource</value>\n"
+" <value>org.foo.MyStatelessEJBImplementation</value>\n"
" </resteasy:resource-class-names>\n"
"\n"
" <resteasy:provider-class-names>\n"
@@ -518,17 +520,23 @@
#. Tag: para
#: Webservices.xml:259
#, no-c-format
+msgid "RESTEasy supports plain EJBs (EJBs that are not Seam components) as resources. Instead of configuring the JNDI names in a non-portable fashion in <literal>web.xml</literal> (see RESTEasy documentation), you can simply list the EJB implementation classes, not the business interfaces, in <literal>components.xml</literal> as shown above. Note that you have to annotate the <literal>@Local</literal> interface of the EJB with <literal>@Path</literal>, <literal>@GET</literal>, and so on - not the bean implementation class. This allows you to keep your application deployment-portable with the global Seam <literal>jndi-pattern</literal> switch on <literal><core:init/></literal>. Note that EJB resources will not be found even if scanning of resources is enabled, you always have to list them manually. Again, this is only relevant for EJB resources that are not also Seam components and that do not have a <literal>@Name</literal> annotation."
+msgstr ""
+
+#. Tag: para
+#: Webservices.xml:271
+#, no-c-format
msgid "The <literal>use-built-in-providers</literal> switch enables (default) or disables the RESTEasy built-in providers. We recommend you leave them enabled, as they provide plaintext, JSON, and JAXB marshalling out of the box."
msgstr ""
#. Tag: para
-#: Webservices.xml:265
+#: Webservices.xml:277
#, no-c-format
msgid "Finally, you can configure media type and language URI extensions:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:269
+#: Webservices.xml:281
#, no-c-format
msgid ""
"<![CDATA[<resteasy:application>\n"
@@ -556,31 +564,31 @@
"</resteasy:application>]]>"
#. Tag: para
-#: Webservices.xml:271
+#: Webservices.xml:283
#, no-c-format
msgid "This definition would map the URI suffix of <literal>.txt.deutsch</literal> to additional <literal>Accept</literal> and <literal>Accept-Language</literal> header values <literal>text/plain</literal> and <literal>de-DE</literal>."
msgstr ""
#. Tag: title
-#: Webservices.xml:280
+#: Webservices.xml:292
#, no-c-format
msgid "Resources and providers as Seam components"
msgstr "Risorse e provider come componenti Seam"
#. Tag: para
-#: Webservices.xml:282
+#: Webservices.xml:294
#, no-c-format
msgid "Any resource and provider instances are managed by RESTEasy by default. That means a resource class will be instantiated by RESTEasy and serve a single request, after which it will be destroyed. This is the default JAX-RS lifecycle. Providers are instantiated once for the whole application and are effectively singletons and supposed to be stateless."
msgstr ""
#. Tag: para
-#: Webservices.xml:289
+#: Webservices.xml:301
#, no-c-format
msgid "You can write resources and providers as Seam components and benefit from the richer lifecycle management of Seam, and interception for bijection, security, and so on. Simply make your resource class a Seam component:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:295
+#: Webservices.xml:307
#, no-c-format
msgid ""
"<![CDATA[@Name(\"customerResource\")\n"
@@ -616,49 +624,49 @@
"}]]>"
#. Tag: para
-#: Webservices.xml:297
+#: Webservices.xml:309
#, no-c-format
msgid "An instance of <literal>customerResource</literal> is now handled by Seam when a request hits the server. This is a Seam JavaBean component that is <literal>EVENT</literal>-scoped, hence no different than the default JAX-RS lifecycle. However, you get full Seam injection support and all other Seam components and contexts are available to you. Currently also supported are <literal>SESSION</literal>, <literal>APPLICATION</literal>, and <literal>STATELESS</literal> resource components. Remember that any HTTP request has to transmit a valid session identifier (cookie, URI path parameter) for correct handling of the server-side session context."
msgstr ""
#. Tag: para
-#: Webservices.xml:307
+#: Webservices.xml:319
#, no-c-format
msgid "Conversation-scoped resource components and mapping of conversations is currently not supported but will be available soon."
msgstr ""
#. Tag: para
-#: Webservices.xml:312
+#: Webservices.xml:324
#, no-c-format
msgid "Provider classes can also be Seam components, they must be <literal>APPLICATION</literal>-scoped or <literal>STATELESS</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:317
+#: Webservices.xml:329
#, no-c-format
msgid "Resources and providers can be EJBs or JavaBeans, like any other Seam component."
msgstr ""
#. Tag: title
-#: Webservices.xml:324
+#: Webservices.xml:336
#, no-c-format
msgid "Mapping exceptions to HTTP responses"
msgstr ""
#. Tag: para
-#: Webservices.xml:326
+#: Webservices.xml:338
#, no-c-format
msgid "Section 3.3.4 of the JAX-RS specification defines how checked or unchecked exceptions are handled by the JAX RS implementation. In addition to using an exception mapping provider as defined by JAX-RS, the integration of RESTEasy with Seam allows you to map exceptions to HTTP response codes within Seam's <literal>pages.xml</literal> facility. If you are already using <literal>pages.xml</literal> declarations, this is easier to maintain than potentially many JAX RS exception mapper classes."
msgstr ""
#. Tag: para
-#: Webservices.xml:334
+#: Webservices.xml:346
#, no-c-format
msgid "Exception handling within Seam requires that the Seam filter is executed for your HTTP request. Ensure that you do filter <emphasis>all</emphasis> requests in your <literal>web.xml</literal>, not - as some Seam examples might show - a request URI pattern that doesn't cover your REST requests. The following example intercepts <emphasis>all</emphasis> HTTP requests and enables Seam exception handling:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:341
+#: Webservices.xml:353
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
@@ -671,15 +679,24 @@
" <url-pattern>/*</url-pattern>\n"
"</filter-mapping>]]>"
msgstr ""
+"<![CDATA[<filter>\n"
+" <filter-name>Seam Filter</filter-name>\n"
+" <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>\n"
+"</filter>\n"
+"\n"
+"<filter-mapping>\n"
+" <filter-name>Seam Filter</filter-name>\n"
+" <url-pattern>/*</url-pattern>\n"
+"</filter-mapping>]]>"
#. Tag: para
-#: Webservices.xml:343
+#: Webservices.xml:355
#, no-c-format
msgid "To convert the unchecked <literal>UnsupportedOperationException</literal> thrown by your resource methods to a <literal>501 Not Implemented</literal> HTTP status response, add the following to your <literal>pages.xml</literal> descriptor:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:349
+#: Webservices.xml:361
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"java.lang.UnsupportedOperationException\">\n"
@@ -695,13 +712,13 @@
"</exception>]]>"
#. Tag: para
-#: Webservices.xml:351
+#: Webservices.xml:363
#, no-c-format
msgid "Custom or checked exceptions are handled the same:"
msgstr ""
#. Tag: programlisting
-#: Webservices.xml:355
+#: Webservices.xml:367
#, no-c-format
msgid ""
"<![CDATA[<exception class=\"my.CustomException\" log=\"false\">\n"
@@ -717,13 +734,13 @@
"</exception>]]>"
#. Tag: para
-#: Webservices.xml:357
+#: Webservices.xml:369
#, no-c-format
msgid "You do not have to send an HTTP error to the client if an exception occurs. Seam allows you to map the exception as a redirect to a view of your Seam application. As this feature is typically used for human clients (web browsers) and not for REST API remote clients, you should pay extra attention to conflicting exception mappings in <literal>pages.xml</literal>."
msgstr ""
#. Tag: para
-#: Webservices.xml:364
+#: Webservices.xml:376
#, no-c-format
msgid "Note that the HTTP response still passes through the servlet container, so an additional mapping might apply if you have <literal><error-page></literal> mappings in your <literal>web.xml</literal> configuration. The HTTP status code would then be mapped to a rendered HTML error page with status <literal>200 OK</literal>!"
msgstr ""
14 years, 11 months
Seam SVN: r10717 - in branches/community/Seam_2_1/doc/Seam_Reference_Guide: bn-IN and 24 other directories.
by seam-commits@lists.jboss.org
Author: titou09
Date: 2009-04-29 07:48:02 -0400 (Wed, 29 Apr 2009)
New Revision: 10717
Modified:
branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot
branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Itext.po
branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Itext.po
Log:
Replace tag <p:facet> with <f:facet> in sample code
JBSEAM-4156
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/as-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/bn-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/de-DE/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/en-US/Itext.xml 2009-04-29 11:48:02 UTC (rev 10717)
@@ -668,7 +668,7 @@
<para>
<emphasis>Usage</emphasis>
</para>
- <programlisting role="XHTML"><![CDATA[<p:facet name="header">
+ <programlisting role="XHTML"><![CDATA[<f:facet name="header">
<p:font size="12">
<p:footer borderWidthTop="1" borderColorTop="blue"
borderWidthBottom="0" alignment="center">
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-ES/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/es-MX/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/fr-FR/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/gu-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/hi-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/it-IT/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -699,7 +699,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
@@ -708,7 +708,7 @@
" </p:font>\n"
"</f:facet>]]>"
msgstr ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ja-JP/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -863,7 +863,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
@@ -872,7 +872,7 @@
" </p:font>\n"
"</f:facet>]]>"
msgstr ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/kn-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ko-KR/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ml-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/mr-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/or-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pa-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pot/Itext.pot 2009-04-29 11:48:02 UTC (rev 10717)
@@ -715,7 +715,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/pt-BR/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ru-RU/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/si-LK/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/sl-SL/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/ta-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/te-IN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-CN/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
Modified: branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Itext.po
===================================================================
--- branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Itext.po 2009-04-29 08:07:22 UTC (rev 10716)
+++ branches/community/Seam_2_1/doc/Seam_Reference_Guide/zh-TW/Itext.po 2009-04-29 11:48:02 UTC (rev 10717)
@@ -714,7 +714,7 @@
#: Itext.xml:642
#, no-c-format
msgid ""
-"<![CDATA[<p:facet name=\"header\">\n"
+"<![CDATA[<f:facet name=\"header\">\n"
" <p:font size=\"12\">\n"
" <p:footer borderWidthTop=\"1\" borderColorTop=\"blue\" \n"
" borderWidthBottom=\"0\" alignment=\"center\">\n"
14 years, 11 months
Seam SVN: r10716 - branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-04-29 04:07:22 -0400 (Wed, 29 Apr 2009)
New Revision: 10716
Modified:
branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Framework.xml
Log:
JBPAPP-1962 - fixed typos in documentation
Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Framework.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Framework.xml 2009-04-29 07:12:52 UTC (rev 10715)
+++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Framework.xml 2009-04-29 08:07:22 UTC (rev 10716)
@@ -331,7 +331,7 @@
event when a transaction succeeds (a call to <literal>persist()</literal>,
<literal>update()</literal> or <literal>remove()</literal> succeeds). By observing
this event we can refresh our queries when the underlying entities are changed. If
- we only want to refresh certain queries when a particular entity is persited,
+ we only want to refresh certain queries when a particular entity is persisted,
updated or removed we can observe the
<literal>org.jboss.seam.afterTransactionSuccess.<name></literal>
event (where <literal><name></literal> is the name of the entity).
@@ -534,7 +534,7 @@
<para>
Unfortunately Query objects don't work well with
<emphasis>join fetch</emphasis> queries - the use of pagination with
- these queries is not recomended, and you'll have to implement your own
+ these queries is not recommended, and you'll have to implement your own
method of calculating the total number of results (by overriding
<literal>getCountEjbql()</literal>.
</para>
14 years, 11 months