Added spring security java based configuration