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
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
>
>
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
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