| 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <components xmlns="http://jboss.com/products/seam/components";
  |             xmlns:core="http://jboss.com/products/seam/core";
  |             xmlns:security="http://jboss.com/products/seam/security";
  |             xmlns:drools="http://jboss.com/products/seam/drools";
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |             xsi:schemaLocation=
  |                 "http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.2.xsd 
  |                  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.2.xsd
  |                  http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-1.2.xsd
  |                  http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.2.xsd";>
  | 
  |     <!-- Init -->
  |     <core:init jndi-pattern="psysj/#{ejbName}/local" debug="true" />
  | 
  |     <!-- Security -->
  |     <security:identity authenticate-method="#{authenticator.authenticate}"/>
  | 
  |     <drools:rule-base name="securityRules">
  |             <drools:rule-files>
  |                     <value>/META-INF/security-rules.drl</value>
  |             </drools:rule-files>
  |     </drools:rule-base> 
  |     
  |     <event type="org.jboss.seam.notLoggedIn">
  |             <action expression="#{redirect.captureCurrentView}"/>
  |     </event>
  |     
  |     <event type="org.jboss.seam.postAuthenticate">
  |             <action expression="#{redirect.returnToCapturedView}"/>
  |     </event>
  | 
  |     <!-- em -->
  |     <component name="em" auto-create="true"
  |           class="org.jboss.seam.core.ManagedPersistenceContext">
  |             <property 
name="persistenceUnitJndiName">java:/EntityManagerFactories/myDatabase</property>
  |     </component>
  |     
  |     <component name="org.jboss.seam.ui.entityConverter">
  |             <property name="entityManager">#{em}</property>
  |     </component>
  |     
  | </components>
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040887#4040887

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040887
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to