Question: identify and select the code blocks that cause the vulnerability listed above. and also correct that line. this is the maximum information we have package

 identify and select the code blocks that cause the vulnerability listed

above. and also correct that line. this is the maximum information we

have package comoscw.meahcalservice.configurationg 2 3 import com.scw.meatcalservice. Iistener.handler.CustomAuthenticationfadiureHandierg 4 import com.scw.meticalservice.security.Argon2passwordEncoder; 5

import com.scw.meaticalservice.security.custom.CustomUserDetadiservice; 6 import lonbok.RequinedArgeConstructor; 7 import orgespringfiranework.context.annotation.Beang 8 import org.springfiranework.context. annotation.Configuration;

identify and select the code blocks that cause the vulnerability listed above. and also correct that line.

this is the maximum information we have

package comoscw.meahcalservice.configurationg 2 3 import com.scw.meatcalservice. Iistener.handler.CustomAuthenticationfadiureHandierg 4 import com.scw.meticalservice.security.Argon2passwordEncoder; 5 import com.scw.meaticalservice.security.custom.CustomUserDetadiservice; 6 import lonbok.RequinedArgeConstructor; 7 import orgespringfiranework.context.annotation.Beang 8 import org.springfiranework.context. annotation.Configuration; 9 import org.springfira in. Th.security.authentication.dao.DaoduthenticationProvider; 10 import org.springfranework.security.config.annotation.authentication. builders. Authenticationitanagerbuilder; 11 import or s.springfin ework.security.confis. annotation. method.configuration.Enableciobaliethodsecurity; 12 import org.springif curk.security.config. annotation.web.builders. HttpSecurity; 13 import orz-spring fir cuork-security-config. annotation,web, butlders. Websecurity; 14 inport orbespringir conk.security,config.annotetion.web.configuration.kebsecurity Configureradaptery 16 17 Gronfiguration 18 GenableglobalNzthodSecurity(prepostenoled = true) 19 Giequiredirgeconstructor private final custo Travetrilsavice userdatedissandces private final areancpasewictincodor arewppasswordzncodary coverride protected vold conidner(witrisawity hit?) throws Excciton f -permitall() -and() -headers() -xssProtection(); COverride public void configure(Hebsecurity security) \{ security -ignoring() - -antiatchers("/css/**m, "/fonts/**", "/libs/**", "/webjars /"); GBean public DaoAuthenticationProvider authenticationProvider() \& Danduthenticationprovider ayth = new Daduthenticetaionprovider(): auth-setuserdetailsservice(useroetailsservice)s auth.setipassiordencoter(arwingassiarlancodar)s 3 Coverride protected void configire(Gutheutication anagitislider outh) f auth-authenticationProvider(autheuticutionitovider())s 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!