[appfuse-user] Create GenericDaoHibernate with no XML

2008-12-21 Thread dusty
Does anyone have experience creating a GenericDaoHibernate without using XML or subclassing and just using Spring annotations? So I think I want to be able to do something like: private GenericDao personDao; @Autowired setPersonDao(GenericDao personDao){ this.personDao = personDao; } You c

Re: [appfuse-user] How to get a list of system users as a normal user

2008-12-21 Thread MHL
Hi Mike, thank you very much for your reply, it works perfectly. Mike Horwitz wrote: > > You will need to change the security settings in security.xml. Look for > "intercept-url". You will see that everything under /admin/* is secured to > ROLE_ADMIN only. > > Mike > > 2008/12/20 MHL > >

[appfuse-user] Custom rememberMe on spring security fails: xfire?

2008-12-21 Thread mschipperheyn
Hi, I'm trying to implement spring security on a modular Spring/Hibernate project and I'm getting the problem where the Appfuse UserDetailsService is in the way (I use my own) as Spring Security requires a unique UserDetailsService by default, contrary to Acegi. Implementing the security.xml as

Re: [appfuse-user] How to get a list of system users as a normal user

2008-12-21 Thread Michael Horwitz
You will need to change the security settings in security.xml. Look for "intercept-url". You will see that everything under /admin/* is secured to ROLE_ADMIN only. Mike 2008/12/20 MHL > > Hi All > > How can I get a list of users? > > I have tried to use userManager.getUsers(new User()). it wor