can anybody help me?
What should I write in the CV summary?
Hi, I’m just getting started on the backend, should I learn Spring or Spring boot first?
Hi Guys what’s ur opinion i’m getting 2 opportunities to work with one is quarkus and other one is spring boot which one should I go for?
Didn’t you disabled csrf?
Tq dude
There’s a whole 200hrs playlist for free, type durgasoft core Java playlist in YouTube. It’s great if you have time and patience.
Ya sure dude…
Are u referring to apache airflow
Atleast try to have basics in spring…like how injection is happening and how xml is working in spring… And go for spring boot
package config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.builders.WebSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.crypto.password.NoOpPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
@Configuration
@EnableWebSecurity
public class MySecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.anyRequest()
.authenticated()
.and()
.httpBasic();
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.inMemoryAuthentication().withUser(“arshu”).password(“12345”).roles(“NORMAL”);
auth.inMemoryAuthentication().withUser(“sai”).password(“54321”).roles(“ADMIN”);
}
@Bean
public PasswordEncoder passwordEncoder() {
return NoOpPasswordEncoder.getInstance();
}
}
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.builders.WebSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.crypto.password.NoOpPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
@Configuration
@EnableWebSecurity
public class MySecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.anyRequest()
.authenticated()
.and()
.httpBasic();
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.inMemoryAuthentication().withUser(“arshu”).password(“12345”).roles(“NORMAL”);
auth.inMemoryAuthentication().withUser(“sai”).password(“54321”).roles(“ADMIN”);
}
@Bean
public PasswordEncoder passwordEncoder() {
return NoOpPasswordEncoder.getInstance();
}
}
Didn’t you disabled csrf?
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.builders.WebSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.crypto.password.NoOpPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
@Configuration
@EnableWebSecurity
public class MySecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.csrf(). disable().
and()
.authorizeRequests()
.anyRequest()
.authenticated()
.and()
.httpBasic();
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.inMemoryAuthentication().withUser(“arshu”).password(“12345”).roles(“NORMAL”);
auth.inMemoryAuthentication().withUser(“sai”).password(“54321”).roles(“ADMIN”);
}
@Bean
public PasswordEncoder passwordEncoder() {
return NoOpPasswordEncoder.getInstance();
}
}
Try this code

I am getting this error

Remove and() bro at line 21
My friend had an offer from tcs in feb 2022 but at that time he rejected it, in how many days he can re-apply.
Profile or offer is not removed from tcs portal
My friend had an offer from tcs in feb 2022 but at that time he rejected it, in how many days he can re-apply.
Profile or offer is not removed from tcs portal
Ask him to mail to tcs explore team may be they will help him
Tried but no reply