Cognizant interview question

feature of java 8, spring boot security