Results 1 to 2 of 2

Thread: InMemoryDaoImpl and refresh

  1. #1

    Default InMemoryDaoImpl and refresh

    I am almost finished integrating WSS4J with AXIS and ACEGI Security. Since my application is very small I will be using the InMemoryDAOImpl for users with an external UserAttribute editor to assign a business provider to each user. Is it possible to add a listener that will reload the properties file if it has been touched since its last load without re-initializing the Spring context?

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I guess you could use a timer task to call org.acegisecurity.userdetails.memory.setUserProper ties(Properties) periodically. It will create a new usermap internally containing the representation of the specified Properties object.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •