spring security with vaadin

hi i m working on vaadin integration with spring security presently i used MySQL db connection in my spring security .Now i want to remove the db connection and customize it to only take client side security .so please suggest me how remove the db connection Thanks in advance -_-