Added database support for spring security component.