upgrade-090-100.html 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. <html>
  2. <head>
  3. <title>Acegi Security - Upgrading from version 0.8.0 to 1.0.0</title>
  4. </head>
  5. <body>
  6. <h1>Upgrading from 0.9.0 to 1.0.0</h1>
  7. <p>
  8. The following should help most casual users of the project update their
  9. applications:
  10. <ul>
  11. <li>The top level package name has changed. Simply find "net.sf.acegisecurity" and replace with
  12. "org.acegisecurity".</li>
  13. <li>net.sf.acegisecurity.providers.dao.AuthenticationDao is now org.acegisecurity.userdetails.UserDetailsService.
  14. The interface signature has not changed. Similarly, User and UserDetails have moved into the latter's package as well.
  15. If you've implemented your own AuthenticationDao, you'll need to change the class it's implementing and quite likely
  16. the import packages for User and UserDetails.</li>
  17. <li>Acegi Security is now localised. In net.sf.acegisecurity you will find a messages.properties. It is
  18. suggested to register this in your application context, perhaps using ReloadableResourceBundleMessageSource.
  19. If you do not do this, the default messages included in the source code will be used so this change is
  20. not critical. The Spring LocaleContextHolder class is used to determine the locale of messages included in
  21. exceptions. At present only the default messages.properties is included (which is in English). If
  22. you localise this file to another language, please consider attaching it to a
  23. <a href="http://opensource2.atlassian.com/projects/spring/secure/BrowseProject.jspa?id=10040">new JIRA task</a>
  24. so that we can include it in future Acegi Security releases.</li>
  25. </ul>
  26. </body>
  27. </html>