Cognizant interview question

Explain about spring security. And autowire annotation