On Thu, Aug 20, 2009 at 1:56 PM, Niklas Gustavsson<[email protected]> wrote: > On Thu, Aug 20, 2009 at 10:19 AM, Ashish<[email protected]> wrote: >> Niklas, Can we explore possibility of using SpringSecurity User Manager? >> Well I did worked on integrating Hibernate with Spring Security, not >> sure how easy would it be hook it into >> FtpServer. > > I'm not sure either. I did some work with Spring Security (when it was > still called Acegi Security) and by that time it was target for web > applications (if I recall correctly). If it is now more general, and > can provide for handling the additional user information (like home > directory) that we need, it should be pretty easy.
Yup its interceptors are still inclined towards web apps. However, might be interesting to explore if we can have interceptor for FtpServer. Alternatively, I think we can always use it UserManager implementation. With the full framework, it is called by interceptor, based on URL's. We can programatically call its UserManager, to get the UserDetails and authenticate the user. Well let me see if I can explore this further over the weekend, have to start working on MINA chapter 2 Each time I think, I will rest this weekend and something really interesting comes up :-) -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
