Seam SVN: r7328 - branches/Seam_2_0/doc/reference/en/modules.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-02-01 14:41:48 -0500 (Fri, 01 Feb 2008)
New Revision: 7328
Modified:
branches/Seam_2_0/doc/reference/en/modules/itext.xml
Log:
fix bad servlet reference
Modified: branches/Seam_2_0/doc/reference/en/modules/itext.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/modules/itext.xml 2008-02-01 18:51:16 UTC (rev 7327)
+++ branches/Seam_2_0/doc/reference/en/modules/itext.xml 2008-02-01 19:41:48 UTC (rev 7328)
@@ -48,7 +48,6 @@
<emphasis>Attributes</emphasis>
</para>
-
<itemizedlist>
<listitem>
<para>
@@ -1466,19 +1465,9 @@
<para> The default implementation serves PDF documents from a generic URL,
<literal>/seam-doc.seam</literal>. Many browsers (and users) would prefer to see URLs that contain the
actual PDF name like <literal>/myDocument.pdf</literal>. This capability requires some configuration. To
- serve PDF files, all *.pdf resources should be mapped to the Seam Servlet Filter and to the
- DocumentStoreServlet:</para>
+ serve PDF files, all *.pdf resources should be mapped to the DocumentStoreServlet:</para>
- <programlisting><filter>
- <filter-name>Seam Servlet Filter</filter-name>
- <filter-class>org.jboss.seam.servlet.SeamServletFilter</filter-class>
-</filter>
-
-<filter-mapping>
- <filter-name>Seam Servlet Filter</filter-name>
- <url-pattern>*.pdf</url-pattern>
-</filter-mapping>
-
+ <programlisting>
<servlet>
<servlet-name>Document Store Servlet</servlet-name>
<servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>
16 years, 11 months
Seam SVN: r7327 - trunk/src/main/org/jboss/seam/security.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2008-02-01 13:51:16 -0500 (Fri, 01 Feb 2008)
New Revision: 7327
Modified:
trunk/src/main/org/jboss/seam/security/Identity.java
Log:
revert breaking changes
Modified: trunk/src/main/org/jboss/seam/security/Identity.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/Identity.java 2008-02-01 10:18:28 UTC (rev 7326)
+++ trunk/src/main/org/jboss/seam/security/Identity.java 2008-02-01 18:51:16 UTC (rev 7327)
@@ -301,11 +301,18 @@
* group from the user's subject.
*
*/
- public void unAuthenticate()
+ protected void unAuthenticate()
{
principal = null;
- subject = new Subject();
- username = null;
+
+ for ( Group sg : getSubject().getPrincipals(Group.class) )
+ {
+ if ( ROLES_GROUP.equals( sg.getName() ) )
+ {
+ getSubject().getPrincipals().remove(sg);
+ break;
+ }
+ }
}
protected LoginContext getLoginContext() throws LoginException
16 years, 11 months
Seam SVN: r7326 - trunk/doc/reference/en/modules.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-02-01 05:18:28 -0500 (Fri, 01 Feb 2008)
New Revision: 7326
Modified:
trunk/doc/reference/en/modules/testing.xml
Log:
port r7325 to trunk
Modified: trunk/doc/reference/en/modules/testing.xml
===================================================================
--- trunk/doc/reference/en/modules/testing.xml 2008-02-01 10:10:45 UTC (rev 7325)
+++ trunk/doc/reference/en/modules/testing.xml 2008-02-01 10:18:28 UTC (rev 7326)
@@ -380,7 +380,7 @@
<literal>jboss-embedded-api</literal>
</entry>
<entry>
- <literal>lib/test/jboss-embedded-api.jar</literal>
+ <literal>lib/jboss-embedded-api.jar</literal>
</entry>
</row>
<row>
16 years, 11 months
Seam SVN: r7325 - branches/Seam_2_0/doc/reference/en/modules.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-02-01 05:10:45 -0500 (Fri, 01 Feb 2008)
New Revision: 7325
Modified:
branches/Seam_2_0/doc/reference/en/modules/testing.xml
Log:
minor
Modified: branches/Seam_2_0/doc/reference/en/modules/testing.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/modules/testing.xml 2008-01-31 22:54:14 UTC (rev 7324)
+++ branches/Seam_2_0/doc/reference/en/modules/testing.xml 2008-02-01 10:10:45 UTC (rev 7325)
@@ -380,7 +380,7 @@
<literal>jboss-embedded-api</literal>
</entry>
<entry>
- <literal>lib/test/jboss-embedded-api.jar</literal>
+ <literal>lib/jboss-embedded-api.jar</literal>
</entry>
</row>
<row>
16 years, 11 months