Removed the security initialization from the java config