[jboss-cvs] jboss-seam/examples/security/resources/WEB-INF ...
Shane Bryzak
Shane_Bryzak at symantec.com
Fri Aug 4 22:00:55 EDT 2006
User: sbryzak2
Date: 06/08/04 22:00:55
Modified: examples/security/resources/WEB-INF components.xml web.xml
Log:
Removed servlet filter, updated to work with security changes
Revision Changes Path
1.4 +6 -1 jboss-seam/examples/security/resources/WEB-INF/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/security/resources/WEB-INF/components.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- components.xml 31 Jul 2006 06:46:57 -0000 1.3
+++ components.xml 5 Aug 2006 02:00:55 -0000 1.4
@@ -9,8 +9,13 @@
<property name="conversationTimeout">120000</property>
</component>
+ <component name="entityManager" class="org.jboss.seam.core.ManagedPersistenceContext">
+ <property name="persistenceUnitJndiName">java:/securityEntityManagerFactory</property>
+ </component>
+
<component class="org.jboss.seam.security.authenticator.ProviderAuthenticator">
- <property name="providers">org.jboss.seam.example.security.AuthenticatorAction</property>
+ <property name="providers">#{authenticatorAction}</property>
+ <property name="adapters">org.jboss.seam.security.adapter.jboss.JBossAuthenticationAdapter</property>
</component>
<component class="org.jboss.seam.security.ThreadLocalAuthenticationContext"/>
1.3 +4 -4 jboss-seam/examples/security/resources/WEB-INF/web.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: web.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/security/resources/WEB-INF/web.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- web.xml 31 Jul 2006 03:53:27 -0000 1.2
+++ web.xml 5 Aug 2006 02:00:55 -0000 1.3
@@ -14,7 +14,7 @@
<!-- Propagate conversations across redirects -->
- <!--filter>
+ <filter>
<filter-name>Seam Redirect Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
</filter>
@@ -22,7 +22,7 @@
<filter-mapping>
<filter-name>Seam Redirect Filter</filter-name>
<url-pattern>*.seam</url-pattern>
- </filter-mapping-->
+ </filter-mapping>
<!-- MyFaces -->
@@ -91,7 +91,7 @@
<!-- Security filter -->
- <filter>
+ <!--filter>
<filter-name>Seam Security Filter</filter-name>
<filter-class>org.jboss.seam.security.filter.SeamSecurityFilter</filter-class>
</filter>
@@ -99,6 +99,6 @@
<filter-mapping>
<filter-name>Seam Security Filter</filter-name>
<url-pattern>/*</url-pattern>
- </filter-mapping>
+ </filter-mapping-->
</web-app>
More information about the jboss-cvs-commits
mailing list