Updated spring security database support.