Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by ErikVullings:
http://wiki.apache.org/tapestry/AcegiSpringJava5

------------------------------------------------------------------------------
  The integration of Tapestry, Acegi and Spring seems to be a hot topic.
  
- I have created a simple example that shows how that can be done. The
+ I have created a simple example (this example uses the 
[http://www.carmanconsulting.com/tapestry-acegi/ Tapestry-Acegi] module) that 
shows how that can be done. The
  complete source code can be found here:
  http://www.zedlitz.de/tapestry-acegi.zip (8kB)
  
  If you have Maven2 installed you can go into the directoy tapestry-acegi and
- enter the command "mvn jetty6:run". Then you can access the application via
+ enter the command "mvn jetty:run". Then you can access the application via
  this URL: http://localhost:8080/tapestry-acegi/app
  
  = html pages =
@@ -137, +137 @@

          <default 
             symbol="hivemind.acegi.dao.passwordEncoder"
             
value="org.acegisecurity.providers.encoding.PlaintextPasswordEncoder"/>
+        <default symbol="hivemind.acegi.dao.systemWideSalt" value="" />
      </contribution>
  
      <implementation service-id="hivemind.acegi.dao.UserDetailsService">
@@ -147, +148 @@

  
      <contribution configuration-id="hivemind.acegi.AccessDecisionVoters">
         <voter object="instance:org.acegisecurity.vote.RoleVoter" />
-     </contribution>
- 
-     <contribution configuration-id="hivemind.ApplicationDefaults">
-        <default symbol="hivemind.acegi.dao.systemWideSalt" value="" />
      </contribution>
  </module>
  }}}
@@ -179, +176 @@

           </plugin>
           <plugin>
              <groupId>org.mortbay.jetty</groupId>
-             <artifactId>maven-jetty6-plugin</artifactId>
+             <artifactId>maven-jetty-plugin</artifactId>
-             <version>6.0.0beta17</version>
           </plugin>
        </plugins>
     </build>
@@ -209, +205 @@

        <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring</artifactId>
-          <version>1.2.6</version>
+          <version>1.2.7</version>
        </dependency>
        <dependency>
           <groupId>com.javaforge.hivemind</groupId>
@@ -238, +234 @@

  </project>
  }}}
  
+ = next parts of the tutorial =
+  * AcegiSpringJava5Part2 - Who am I? Displaying the name of the 
authentication user.
+  * AcegiSpringJava5FormBased - An idea of how a form based login could work
+ 
+ = tips and tricks =
+  * You can change the realm name used for HTTP basic authentication by adding 
these lines to{{{src/main/resources/META-INF/hivemodule.xml}}}:
+ {{{
+     <contribution configuration-id="hivemind.ApplicationDefaults">
+         <default symbol="tapestry.acegi.realmName" value="Member area" />
+     </contribution>
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to