Introduction
Typical database backed, annotation base spring security setup.
Syntax
- configureGlobal() configure the auth object.
- The later two SQLs may be optional.
- configure() method tells spring mvc how to authenticate request
- some url we do not need to authenticate
- others will redirect to /login if not yet authenticated.