How To Create A Maven Webapp In Eclipse?

I like Maven because it makes dependency resolution easier and I like Eclipse because it is lightweight (at least lighter than other Java IDEs) and configurable. But I hate when it comes to creating a Maven webapp in Eclipse because it is overly complicated. Till the time a simpler solution appears, here is what you need to do to create one:
Continue reading How To Create A Maven Webapp In Eclipse?

SpringSecurity: Authenticating & Authorizing AJAX Requests (Server-Side Implementation)

In my previous post, we discussed a bit of theory related to authentication and authorization of AJAX requests. We also defined the desired behavior that we would like to achieve as a result of this process. In this post, I will share the server-side code that you will need to achieve that behavior.
Continue reading SpringSecurity: Authenticating & Authorizing AJAX Requests (Server-Side Implementation)

SpringSecurity: Authenticating & Authorizing AJAX Requests

This is my second post on Spring Security (first being this) and I will try to be more detailed here. Please keep sharing your feedback with me so that I could improve myself.

After all of the lengthy setups, primary value that we get from Spring Security (or any other security framework) is the ability to authenticate and authorize each request that application receives. First I will try to explain a bit the processes of authentication and authorization.
Continue reading SpringSecurity: Authenticating & Authorizing AJAX Requests

SpringSecurity: Capturing RememberMe Success Event

I really like Spring Security because with very little configuration, you can add a bunch of powerful features to your application. Form based logins, auto-logins based upon remember me cookies, password hashing, session management, powerful access control to name a few. For basic purposes, you don’t even need to know how these things actually work because Spring Security hides all of these complexities behind a few simple XML configuration tags.
Continue reading SpringSecurity: Capturing RememberMe Success Event