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?

|
MsBala 2022-07-18 05:55:58
SimonPete 2022-07-18 05:47:00
Hari Krishna

Tq dude

jagua7 2022-07-18 05:57:02
MsBala 2022-07-18 05:43:35
Hi guys hope you are doing great… Plz tell me which YouTube tutorial is best learn for full core java concept…plz suggest me guys.. I need guys

There’s a whole 200hrs playlist for free, type durgasoft core Java playlist in YouTube. It’s great if you have time and patience.

MsBala 2022-07-18 06:04:20
jagua7 2022-07-18 05:57:02
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…

Spark 2022-07-18 06:47:28
resanetanz 2022-07-17 23:32:53
Hi everybody , i searched similar to celery (python) in java for (task queue), but nothing found useful.can anybody help me?

Are u referring to apache airflow

Doni_9936 2022-07-18 08:57:25
What should I write in the CV summary?
bhaskar kardam 2022-07-18 10:04:36
Hey, Thank you
Moises Henriques 2022-07-18 10:37:53
What are they
bhagavancv 2022-07-18 10:56:59
How to call Rest web service for third party api in spring boot
erjoseph 2022-07-18 11:06:29
Hi, I’m just getting started on the backend, should I learn Spring or Spring boot first?
RK Naidu 2022-07-18 11:17:46
how to post xml file
RK Naidu 2022-07-18 11:18:01
can anybody help with this
Avengers90192 2022-07-18 11:24:48
erjoseph 2022-07-18 11:06:29
Hi, I’m just getting started on the backend, should I learn Spring or Spring boot first?

Atleast try to have basics in spring…like how injection is happening and how xml is working in spring… And go for spring boot

D B 2022-07-18 12:17:29
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?
Javafsd 2022-07-18 12:23:41
Hello I am a beginner in springboot. iam facing an error in spring security. Can anyone tell what is the error here in my code.
Javafsd 2022-07-18 12:24:04
Javafsd 2022-07-18 12:23:41
Hello I am a beginner in springboot. iam facing an error in spring security. Can anyone tell what is the error here in my code.

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();
}

}

sprianng 2022-07-18 12:25:15
Javafsd 2022-07-18 12:24:04
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();
}

}

Didn’t you disabled csrf?

Javafsd 2022-07-18 12:26:35
noo
sprianng 2022-07-18 12:27:14
Then i hope you are taking care of csrf header
Javafsd 2022-07-18 12:29:11
I am not able to understand
sprianng 2022-07-18 12:31:40
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.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();
}

}

sprianng 2022-07-18 12:31:48
Javafsd 2022-07-18 12:29:11
I am not able to understand

Try this code

Javafsd 2022-07-18 12:32:15
ok
Javafsd 2022-07-18 12:34:51
springbootmicroservices-68618.jpg

Javafsd 2022-07-18 12:35:08
Javafsd 2022-07-18 12:34:51

I am getting this error

Javafsd 2022-07-18 12:35:32
springbootmicroservices-68620.jpg

sprianng 2022-07-18 12:46:15
Javafsd 2022-07-18 12:35:32

Remove and() bro at line 21

Javafsd 2022-07-18 12:59:08
okk
Adil Ansari 2022-07-18 13:02:34
Need some help for tcs.
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

Lavanya_lov 2022-07-18 13:15:02
Adil Ansari 2022-07-18 13:02:34
Need some help for tcs.
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

Adil Ansari 2022-07-18 13:16:09
Lavanya_lov 2022-07-18 13:15:02
Ask him to mail to tcs explore team may be they will help him

Tried but no reply

|