Because we implement UserDetailsService in UserDao and we call the DAO
directly from Acegi instead of going through a manager. Rather than
create a new AOP definition in applicationContext-service.xml for one
DAO, we just added the annotation.

Matt

On 11/2/07, dev dev <[EMAIL PROTECTED]> wrote:
> Why do we need this annotation for this particular method?
>
> In the UserDao interface...
>
> @Transactional
>     UserDetails loadUserByUsername(String username) throws
> UsernameNotFoundException;
>
> Thanks Matt ...
>
> dev
>
>
> On 10/14/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> >
> > Can you please resend your question with a little more details. It's a
> > pretty vague question. What class/method are you talking about?
> >
> > Matt
> >
> > On 10/14/07, dev dev <[EMAIL PROTECTED] > wrote:
> > > Thanks
> > > dev
> > >
> >
> >
> > --
> > http://raibledesigns.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


-- 
http://raibledesigns.com

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

Reply via email to