- Видео 136
- Просмотров 344 489
AnbuZ HobbieZ
Индия
Добавлен 16 янв 2018
ruclips.net/channel/UCy9Ue3ymNpUSQd1lb9Gpvcw
Explore coding with me as Full Stack Web Developer
Explore coding with me as Full Stack Web Developer
USCL Summer T20 2024 GSS vs NJ Wolverines
USCL Summer T20 2024
Match between Garden State Strikers and NJ wolverines.
Location : Mercer county park,NJ.
GSS won by 2 Wickets.
Match Scorecard : cricclubs.com/viewScorecard.do?&matchId=607&clubId=2153
Match between Garden State Strikers and NJ wolverines.
Location : Mercer county park,NJ.
GSS won by 2 Wickets.
Match Scorecard : cricclubs.com/viewScorecard.do?&matchId=607&clubId=2153
Просмотров: 54
Видео
Spring WebFlux & R2DBC - Simple CURD Example
Просмотров 1665 месяцев назад
I have explained implementing Reactive APIs for CURD operations on Postgres DB. The example is simple and easy to understand. Good to have a prior understanding of the reactive pipeline. github.com/amaialth/reactiveytdemo
MEAN stack Web Application | CURD | MEAN Stack Tutorial | Example from scratch |
Просмотров 597 месяцев назад
MEAN stack Web Application | CURD | MEAN Stack Tutorial | Example from scratch |
gRPC Tutorial | Introduction to gRPC | Introduction to High-Performance Communication in Modern App
Просмотров 607 месяцев назад
gRPC Tutorial | Introduction to gRPC | Introduction to High-Performance Communication in Modern App
Secure Your Spring Boot and Angular Application with JWT Authentication
Просмотров 9178 месяцев назад
Secure Your Spring Boot and Angular Application with JWT Authentication
Streamlining Email Verification: A Step-by-Step Guide with Spring Boot and Angular
Просмотров 1,6 тыс.8 месяцев назад
Streamlining Email Verification: A Step-by-Step Guide with Spring Boot and Angular
Part 2 (Implementation & demo )- Securing Your App: TOTP Authentication with Spring Boot and Angular
Просмотров 5348 месяцев назад
Part 2 (Implementation & demo )- Securing Your App: TOTP Authentication with Spring Boot and Angular
Part 1 (overview)- Securing Your App: TOTP Authentication with Spring Boot and Angular
Просмотров 5208 месяцев назад
Part 1 (overview)- Securing Your App: TOTP Authentication with Spring Boot and Angular
Apache Camel and Spring Boot Integration with ActiveMQ Artemis: Step-by-Step Example
Просмотров 6058 месяцев назад
Apache Camel and Spring Boot Integration with ActiveMQ Artemis: Step-by-Step Example
Apache Camel and Spring Boot: Introduction and Project Setup Guide
Просмотров 2979 месяцев назад
Apache Camel and Spring Boot: Introduction and Project Setup Guide
OAuth 2.0 Client Credentials Flow | Practical Example | How to implement oAuth2.0 Client Cred Flow?
Просмотров 2789 месяцев назад
OAuth 2.0 Client Credentials Flow | Practical Example | How to implement oAuth2.0 Client Cred Flow?
OAuth 2.0 Authorization Code Flow | Practical Example | oAuth 2.0 Authorization Flow
Просмотров 2479 месяцев назад
OAuth 2.0 Authorization Code Flow | Practical Example | oAuth 2.0 Authorization Flow
Introduction to OAuth 2.0 and OpenID Connect with Spring Security 6
Просмотров 2619 месяцев назад
Introduction to OAuth 2.0 and OpenID Connect with Spring Security 6
Beyond Basics: User Authentication with MongoDB in Spring Security 6
Просмотров 3,9 тыс.9 месяцев назад
Beyond Basics: User Authentication with MongoDB in Spring Security 6
Securing the Gates: Basic Configuration and Authentication in Spring Security 6
Просмотров 4489 месяцев назад
Securing the Gates: Basic Configuration and Authentication in Spring Security 6
Setting Up a Spring Boot Project with Spring Security 6
Просмотров 2109 месяцев назад
Setting Up a Spring Boot Project with Spring Security 6
Unlocking Security: Introduction to Spring Security 6 | Java Web Developmen
Просмотров 2399 месяцев назад
Unlocking Security: Introduction to Spring Security 6 | Java Web Developmen
Decoding the Chain of Responsibility Design Pattern in Java: Expense Approval System Explained
Просмотров 579 месяцев назад
Decoding the Chain of Responsibility Design Pattern in Java: Expense Approval System Explained
Mastering the Command Design Pattern in Java: Illuminating the Light and Fan Control with Remote Exp
Просмотров 539 месяцев назад
Mastering the Command Design Pattern in Java: Illuminating the Light and Fan Control with Remote Exp
Mastering the Strategy Design Pattern in Java: Building Flexible Payment Systems
Просмотров 6110 месяцев назад
Mastering the Strategy Design Pattern in Java: Building Flexible Payment Systems
Demystifying Observer Design Pattern in Java: Building a News Agency System
Просмотров 3710 месяцев назад
Demystifying Observer Design Pattern in Java: Building a News Agency System
Mastering the Proxy Design Pattern in Java: Controlling Access and Enhancing Objects
Просмотров 2210 месяцев назад
Mastering the Proxy Design Pattern in Java: Controlling Access and Enhancing Objects
Simplify Your Code with Facade Design Pattern in Java: Home Theater Example
Просмотров 6710 месяцев назад
Simplify Your Code with Facade Design Pattern in Java: Home Theater Example
Java Decorator Design Pattern Explained: Enhancing Coffee Orders Dynamically
Просмотров 11210 месяцев назад
Java Decorator Design Pattern Explained: Enhancing Coffee Orders Dynamically
Mastering Composite Design Pattern in Java: Building a Flexible File System Structure
Просмотров 8610 месяцев назад
Mastering Composite Design Pattern in Java: Building a Flexible File System Structure
Java Bridge Design Pattern: Building Flexible Software Structures
Просмотров 2910 месяцев назад
Java Bridge Design Pattern: Building Flexible Software Structures
Java Adapter Design Pattern Example: Bridging the Gap in Code
Просмотров 1510 месяцев назад
Java Adapter Design Pattern Example: Bridging the Gap in Code
Mastering Prototype Design Pattern in Java: A Practical Guide
Просмотров 4010 месяцев назад
Mastering Prototype Design Pattern in Java: A Practical Guide
Mastering the Builder Design Pattern in Java
Просмотров 3610 месяцев назад
Mastering the Builder Design Pattern in Java
Consuming Kafka Topic with Apache Camel and Spring Boot
Просмотров 1,3 тыс.10 месяцев назад
Consuming Kafka Topic with Apache Camel and Spring Boot
mine didn't work. I get the white label exception all the time.
There might be exception on the api call, you can update the security config to allow error page url.
Thank you. But i have to do the same with DockerCompose with image of postgres and pgadmin, i dont want to use postgres and pgadmin of my pc. please need help
If you have docker then use below official link to run it www.docker.com/blog/how-to-use-the-postgres-docker-official-image/
Please need github
everything works fine until I use postman and get a 405 error message , anyone know whats the issue?
Check the HTTP method. Is it Get or Post
@@anbuzhobbiez its Post buddy, any other suggestions would be helpful
Good win ❤
can we replace the container registry with an artifact registry?
Yes you can replace it with Artifact Registry.
Nice explanation and the diagram really helped in understanding the flow.
Is it safe to store the token in localStorage?
Yes, it is.
Nice video, would you please upload the code?
bro your voice 👀👀
This is really helpful for me. Thanks a lot!
can you help me for adding database connection with cloud sql through cloudrun.yml file
can you please provide the video about client registration. some more clarify the user access from client permission, as well the 2fa is very complex to understand can you please elaborate the explanation and content. Thank you and all the best for your content creation.
Thanks for the suggestion I am currently working on few Reactive and grpc related content. Will create one soon as you suggested. Meanwhile there is another video on client credentials flow. Please do view that. ruclips.net/video/qVCwGl3jFg0/видео.htmlsi=LCCWdG4Zh0ayy1Y3
why do you use CustomerAuthenticationProvider instead of implemented by Spring DAoAuthenticationProvider?
As the name suggests it is a custom implementation of Auth Provider you can use the DAO Auth Provider. This custom implementation will help us to authenticate based on our business requirement rather than relying on Spring provided. In this case we have TOTP validation in the Auth pipeline so we used Custom one. Let me know if this answers your question.
It is a good video. Can I have the sample code ?
Let me push it to GitHub.
How can we add manual approval trigger if we add additional step to deploy to prod cloud run?
I haven’t tried that you mean stage approval similar to Jenkins. I will check and update here.
Would like to see spring MongoDB and react as a login form 😊
It’s funny I used chat gpt and it gave me your security config code I’m having trouble though, some new version came out and now the code is similar to yours but it’s deprecated
thanks
arumai na :)
Hello Anbuz In video you said we can store the access token in database… I wanted to store this access token into redis is there any way we can do that. Thank you in advance
Off course you can store in redis. I would suggest you to create an encrypted key using the user id and your secret key and store the access token in redis. You can retrieve the token by this key. Eg . Atefyyz => Access Token
Can you give me example of the code snippet for better understanding
@GAYATRIDHUMAL-tj4rq before that could you explain me our use case for better solution. I have this thinking that you don’t want to store in local storage from a UI application. If it is a larger application we can make use of the token store implementation to redis.
@@anbuzhobbiezcorrect I am looking for more alternative to TokenStore method which is deprecated
Lot of disturbance with background voice ,Not recommended
Hi after thank you first Thanks for this explanation , second i do all of this but after the login i can't logout haha from the account i want to login again (in backend work 100% the problem in frontend angular ) , thank you again
so helpfull brother complete like that thank you
Thanks for the help ❤❤❤❤
Thank you ! I was really looking for an up-to-date explanation of how to do this. And if I want to have my own login screen? I changed in SecurityFilterChain: .formLogin(form -> form .loginPage("/login") .permitAll()); And I added the file: src/main/resources/templates/login.html But it doesn't work that way, I'd appreciate it if someone knows how to do it
What is the error you receive?
If your rest controller has mapping as well, you'd need to state that in the request matchers. ``` .authorizeHttpRequests(auth -> auth.requestMatchers("/auth/register").permitAll() .anyRequest() .authenticated()) ```
everythingh works thanks
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table client (idclient bigserial not null, nom varchar(255), primary key (idclient))" via JDBC [ERREUR: droit refusé pour le schéma public Position : 14
Can you send the application properties?
Did this error fixed ?
@kaushalyadav7871 looks like the user is not authorized to create tables. Try with a user which has create role.
your background music is too load, I can't barely hear what you saying
I have corrected this in my recent videos. Thank you!!
Thank you very much
Thanks 4 the vid :)
hello Anbuz, I dont know mongodb and I need your help creating/configuring client for authorization flow and client credentials flow. thanks brother!
Hello, please find this video How to connect spring boot with mongodb | example from scratch ruclips.net/video/_FeAjMI3Mz4/видео.html This one explains from scratch
@anbuzhobbiez Hello brother, I think I got the hang of it, I installed mongodb on my local machine then played around using mongosh. My problem now is the client information, can you give me a sample client that I can insert to my mongodb? I cant figure out some of the values myself. I also notice that the authserver project has Oauth2ClientController that uses OAuth2RegisteredClient entity and my guess is that the /register path of Oauth2ClientController can be use to add a new client. Do you have a sample Postman json for adding new client? I was thinking of copying your mongodb client entry but some items are collapsed/not viewable. Thanks a lot for this sample project brother, very helpful.
here is the payload { "clientId": "client-credentials", "clientSecret": "secret", "clientName": "Test Client Credentials", "clientAuthenticationMethods": ["client_secret_basic", "client_secret_post", "client_secret_jwt"], "authorizationGrantTypes": ["client-credentials"], "redirectUris": ["localhost:8080/login/oauth2/code/client-credentials"], "postLogoutRedirectUris":["localhost:8080"], "scopes": ["profile"], "clientSettings": {"requireAuthorizationConsent":false}, "tokenSettings": null }
hello, I got an error of "Error: unauthorized_client", what are the things that I should check? the payload has been successfully added to mongodb under the db "auth-server". this db has 2 collections, namely: oAuth2RegisteredClient and OAuthUser. Here are the screen recording of my setup so far: resource server ruclips.net/video/_aZoCSVKS8A/видео.html postman request ruclips.net/video/czlPxLoIugw/видео.html oauth2 client ruclips.net/video/Xx_I9YH7HRA/видео.html mongodb content ruclips.net/video/gydW4LUuT-c/видео.html authserver ruclips.net/video/cz1QYZ3futU/видео.html I think I am so close of making this to work, its just that there are some config/setup that I dont understand yet, please help brother.
@user-sm2qj1ms8n check the password is correct. If you are using a Password encoder use the same for registration
thank you for the video sure , can you please give me the source code ,i really need this for my project,thank you 🙂
You are welcome!!!! I added it to the description please check out.
thank you bro
I understand the process but I do not realize the advantage of having the Builder pattern. Could you maybe give me some example of use?
The main advantage that I see on builder pattern is we can create an immutable object with minimal to no assignment to the members of the class. Example consider the RestTemplateBuilder class that will create an immutable RestTemplate with and without any configuration. Look at github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java
I do get it now Thank you very much!@@anbuzhobbiez
Hi Anbuz, I followed this tutorial, I am not sure why I get bad credential when I put my registered user, do you have any idea?
How and where did you configure the credentials ?
@@anbuzhobbiez I used /register controller and passed username , password, isactive through postman, the data is available in mongodb, but when I try to login I give same username and password, it gives me bad credential
@@anbuzhobbiez I tried to debug, and in userdetailsservice class this line: Optional<AuthUser> authUser is empty. it seems not finding it from db.
Then it did not find the user from MongoDB. Check your repository returns the user you created.
@@anbuzhobbiez I tried to step into the findByUsername but couldn't undrestand it. It's strange, I use the same method in usercontroller when I check if the user exists, there it seems finding the user if it's already in db.
Thanks for creating videos about Apache Camel and teaching others about this project.
Hi, i followed your instructions but unfortunately the master password didn't appear when i opened the app after installation. Could it have been that i installed it wrong?
Possible. Let me understand correct you want do have the admin credentials now.
Hello Anbuz, can I send you an email I have a request for you ?
Sure! Send me anbuathypathy@gmail.com
Hey , can u make video how to connect mongodb and kafka i will pay 100 rs
Thanks for that. You don’t have to pay me. I will make one. May I know what exact scenario you are expecting to be covered.
Like i have install kafka local on windows and mongodb install on local , need a help how to connect them together to show CDC and dump the result into a file
If u dont have time to make a video but know how to do this we can contact each other and each me how to do
I am student so most i can pay is 500 indian rupees reply back if u can help
Send an email to me on anbuathypathy@gmail.com I will send you a meeting invite to guide you
Thank you so much for your nice tutorial. I have followed your pub/Sub producer part which worked for me perfectly. But for the subscriber part, it always shows null. Initially, it was showing PERMISSION_DENIED message but when I gave permission to the topic as a pub/sub admin it didn't show any error message but still couldn't retrieve any message. I don't know what I am doing wrong. I even downloaded your git project and changed project Id and Google credentials. but still it's the same. Please if you want my source file let me know. thank you very much.
Can you add pubsub editor to your service account and try. If that doesn’t work let me know the repo.
Hi, I have a doubt please reply, I have a kafka consumer with .pausable(), My kafka producer produces messages every 2 second. I have . Everytime i consume a message i increment a counter, so my ,pausable() condition is like if count<4{ continue } else { pause }. but even when i say pause the kafka consumes message. Please Reply
You can schedule a method to run every 4-5 mins and check the beginning and end offsets of the partition and seek, poll them. As you are consuming and increasing the counter this will not work.
would be very useful if you linked a github link. still very useful, thank u !!
Great video!! Can you please clarify why there is a need for a Restcontroller? Per my understanding this is backend application to consume messages from Pub/Sub, so do not see the need of web-starter dependency as well as any REST endpoint
Agreed, we don't need web dependency. I thought of showing some rest endpoints which fetch the data. You can skip that.
Those two lines made the video: spring.jpa.properties.hibernate,dialect = org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=update
should we really have used a comma after spring.jpa.properties.hibernate ?
@ruzibayevich1693 it is typo in above comment, must be a dot.
Thanks.
Thanks.
Dominant yellow sun conure very nice👌
👍
I can't get the name in json can you give me the reason
hey, thank you very much this important video. But, ı can do this. ı have a problem. when ı can post method to postman to db, there is a problem. This problem is, Content-Type 'application/json;charset=UTF-8' is not supported SpringBoot Rest. How to solve in your code? Please. thank you
Add header in postman as Content-Type - application/json, then it works
Check your dependencies