Code with B
Code with B
  • 47
  • 147 864
Unlock The Power Of JWT: Learn How To Generate And Create Your Own Token
In this tutorial, we delve into the fundamentals of JSON Web Tokens (JWTs), exploring their significance, structure, and practical implementation.
We begin by demystifying JWTs, explaining how they work . From there, we dive into the specifics of JWT structure, breaking down its components such as header, payload, and signature.
Moving forward, we delve into the practical aspects of JWT token generation using both HS256 (HMAC with SHA-256) and RS256 (RSA Signature with SHA-256) algorithms in Java. Leveraging the Nimbus library, we provide step-by-step instructions on how to generate JWT tokens programmatically, covering essential concepts such as signing keys and token expiration.
We will also explore token verification techniques, guiding you through the process of verifying token, decoding its claims, and ensuring its validity through code demonstrations,
zhlédnutí: 48

Video

Pair Up With Github Copilot To Get Smarter With Your Code!
zhlédnutí 553Před 7 měsíci
Ready to supercharge your coding experience? Join me in this comprehensive tutorial on installing and using the GitHub Copilot Plugin in IntelliJ IDEA! Discover how this powerful tool, fuelled by advanced machine learning, can transform the way you write code. We are going to learn following - Installation Guide: How to integrate GitHub Copilot into your IntelliJ IDEA environment. - Usage Demon...
API request signing and verification
zhlédnutí 350Před 9 měsíci
Hi Everyone! In this video we will see why API request signing is required and how to validate it via SHA256 algorithm
Pattern matching in java | Types of pattern matching in java 21
zhlédnutí 45Před 10 měsíci
#coding #Java21#Patternmatching Hi Everyone! In this video we will understand what is pattern matching. Also we will see different types of pattern matching in java 21 and corresponding examples to make the java code clean and concise. Here are the types of pattern matching that will be covered in the video. - Structural pattern matching - Pattern matching with Collection types - Guarded patter...
How to write integration test for kafka based applications
zhlédnutí 6KPřed rokem
Hi everyone! in this video we will see how we can write the integration test for kafka based application. Main challenge with such application is the external dependency to the kafka server, because of that our test might be flaky. In this video we will see how to add EmbeddedKafka/TestContainer for kafka to overcome this challenge.
Secure AWS Gateway with Custom Authorizers: Step-by-Step Guide
zhlédnutí 491Před rokem
Hey everyone! In this video we are going to see how to authorize the AWS API Gateway layer with the help of Lambda Authorizer We will cover: -How to create lambda authorizer -Validate request based on token -Validate request based on multiple headers, query param etc. -Passing contextual information of lambda authorizer to the service called from API gateway(Lambda)
How to sync data from mongo DB to elastic using monstache
zhlédnutí 4,1KPřed rokem
Hi Everyone in this video I am going to show you have to sync data from mongo database to elastic. We will use monstache to sync the data. We will cover below topics - Install monstache - Define monstache configuration file - Run mongo db in replication mode - Sync newly added/updated records - Sync existing records in mongo - Updating selective documents by applying filter - Transform(add, ren...
How to write asynchronous and non-blocking code using CompletableFuture in Java
zhlédnutí 2,2KPřed rokem
In this video we are going to see how can we write async program with the help of CompletableFuture How to create a CompletableFuture using the factory methods of CompletableFuture such as runAsync and supplyAsync How to pass your own thread pool to the CompletableFuture How to use callbacks that does not return any results using thenAccept and thenAcceptAsync How to handle error using withComp...
Mastering Exception Handling with SpringBoot Rest API's | Exception handling examples in spring boot
zhlédnutí 1,1KPřed rokem
Exception handling is a crucial aspect of any REST API/Microservice. It helps generate a better API response also helps the client identify the root cause of the error. In the Springboot application controllerAdvise is the best way to handle all sorts of exception In this video, we'll understand the default error handling of Springboot. We will also see how controller advice can help us define ...
AWS API gateway integration with SNS|How to use API Gateway as a proxy for another AWS service
zhlédnutí 2,3KPřed rokem
Hi Everyone! in this video I am going to show you how to integrate AWS api gateway with SNS We will do following Create AWS api Gateway Rest API Add SNS integration with API gateway Send SNS message from the QueryString using Action event type Send client request body in the SNS message Add RequestBody pass through template Transform client request body into SNS message with custom attributes C...
Create AWS lambda with spring boot and dagger| Handle java dependency in better way with dagger
zhlédnutí 1,7KPřed rokem
Hi everyone! In this video I will explain how to write AWS Lambda with Spring boot. We will also see what are the challenges with having spring boot and how can we overcome it with dagger. Here are the things that we are going to discuss in the video What is lambda function [00:00] How to create lambda function with java [00:52] How to use RequestHandler [03:15] Understanding snapshot jar and p...
How ChatGPT can enhance your productivity as a software engineer| IntelliJ IDEA chatGPT plugin
zhlédnutí 5KPřed rokem
In this video, we will focus on how ChatGPT can help software engineers increase their productivity and efficiency. We will see how to enable ChatGPT within IntelliJ IDEA using chatGPT plugin. Whether you're an experienced software engineer or just starting out, this video will show you how ChatGPT can help you write quality code in no time.
Kafka consumer and producer with Spring kafka | Kafka configuration for consumer and producer
zhlédnutí 584Před rokem
HI Every one! In this video we will see how to Create Kafka producers and consumers in Spring boot based application with the help of Spring for Kafka Here are the following things we are going to discuss Adding dependencies [00:25] Kafka producer using Kafka template [01:50] Send method to produce message to topic with value [03:30] Send method to produce message to topic with key and value [0...
How to Inject beans in a unit test Using MockBean and InjectMocks
zhlédnutí 2,3KPřed rokem
Hi Everyone, This video is about writing unit test with the help of different tools such as mock bean, inject mocks and mock. We will see How to write test with spiring context and without spring context In this video we will see following things: - Uses MockBean and AutoWired annotation [01:15] - Requirement of Spring BootTest annotation. [02:45] - Initialise service and pass the mock using co...
How to write Junit test for Rest Controllers In Spring boot| MockMvc test
zhlédnutí 3,7KPřed rokem
How to write Junit test for Rest Controllers In Spring boot| MockMvc test
How to write custom validation with spring boot
zhlédnutí 9KPřed 2 lety
How to write custom validation with spring boot
Springboot API code generation with Swagger editor | Swagger code generator plugin
zhlédnutí 6KPřed 2 lety
Springboot API code generation with Swagger editor | Swagger code generator plugin
Apache Ignite With Spring Data and springboot
zhlédnutí 3,4KPřed 2 lety
Apache Ignite With Spring Data and springboot
Ignite cache configuring with springboot
zhlédnutí 1,8KPřed 2 lety
Ignite cache configuring with springboot
Configuring external storage with Ignite
zhlédnutí 1,1KPřed 2 lety
Configuring external storage with Ignite
Ignite in memory cache: Define client and serve in java
zhlédnutí 2,7KPřed 2 lety
Ignite in memory cache: Define client and serve in java
Spring JPA selecting specific columns in java
zhlédnutí 14KPřed 2 lety
Spring JPA selecting specific columns in java
gradle api vs implementation| Configuration of API vs implementation
zhlédnutí 2,3KPřed 2 lety
gradle api vs implementation| Configuration of API vs implementation
how to create alias in terminal|alias mac terminal zsh|shortcut for commands
zhlédnutí 1,6KPřed 2 lety
how to create alias in terminal|alias mac terminal zsh|shortcut for commands
How to create multi module java project with gradle
zhlédnutí 18KPřed 2 lety
How to create multi module java project with gradle
Automating code generation using mapstruct
zhlédnutí 4,7KPřed 2 lety
Automating code generation using mapstruct
Create mock server using Postman
zhlédnutí 2,2KPřed 2 lety
Create mock server using Postman
Automatically generating JPA Entity classes and Repository: IntelijIdea
zhlédnutí 9KPřed 2 lety
Automatically generating JPA Entity classes and Repository: IntelijIdea
Functional programming in java 8 with Stream API's [map filter and flatmap]
zhlédnutí 323Před 2 lety
Functional programming in java 8 with Stream API's [map filter and flatmap]
Higher order functions in Java
zhlédnutí 1,8KPřed 2 lety
Higher order functions in Java

Komentáře

  • @adithyap2115
    @adithyap2115 Před 5 dny

    Thank you so much. I was looking for the same issue and I got the solution here.

  • @tharoseth8064
    @tharoseth8064 Před 6 dny

    nice explanation

  • @bhootpretkikahani
    @bhootpretkikahani Před 9 dny

    If we use embedded broker then do we need to configure kafka prducer amd consumer in separte config file ? As without writing configuration my code is running . In my code all the properties are written in application.properties file only. Please answer

  • @GIULI4994
    @GIULI4994 Před 10 dny

    thanks so much for this - it saved me!

  • @sujitkumar2196
    @sujitkumar2196 Před 10 dny

    Awesome tuturial can you please make a video calling two microservies parellel by using CompletableFuture?

  • @ajaykumard2563
    @ajaykumard2563 Před 12 dny

    Helpfull can you please provide a github link for the same code

  • @user-pc4kk8lw2b
    @user-pc4kk8lw2b Před měsícem

    Importantly sir jee

  • @sureshgarine
    @sureshgarine Před měsícem

    Thank you so much Brijesh!

  • @sureshgarine
    @sureshgarine Před měsícem

    thank you so much! very well explained.

  • @sureshgarine
    @sureshgarine Před měsícem

    Thank you, this video is very useful.

  • @DonZamudio
    @DonZamudio Před měsícem

    Very useful thank you so much

  • @alexandreabarbosa
    @alexandreabarbosa Před 2 měsíci

    Outstanding explanation, straight to the point and easy to understand why, when and how to use Dagger for a AWS Lambda Function. Thank you very much.

  • @olehf.8246
    @olehf.8246 Před 2 měsíci

    Very useful, thanks a lot!

  • @MallerPramanik
    @MallerPramanik Před 3 měsíci

    Can we sync previously stored data using this?

  • @srihari8386
    @srihari8386 Před 3 měsíci

    What is the gradle version used?

  • @jashgoradia6997
    @jashgoradia6997 Před 3 měsíci

    Great explanation - especially for the conditional validation. Better than anything else I could find online

  • @alirezaasadi8656
    @alirezaasadi8656 Před 5 měsíci

    very well explained , danke

  • @KUMAR-ne2mb
    @KUMAR-ne2mb Před 5 měsíci

    Learnt a lot from it. Thanks

  • @user-wg5yw8tw7s
    @user-wg5yw8tw7s Před 6 měsíci

    Great tutorial, thanks very much. I used it before and it's really useful. But i can't implement it with list of objects in entity, i didn't find any solution for that. Can you please explain how to implement this many to many field in entity? Thanks for advance 😊

  • @MEGANE34
    @MEGANE34 Před 6 měsíci

    can you share githup account for that?

  • @AvinashKumar-tk5bd
    @AvinashKumar-tk5bd Před 6 měsíci

    code github link?talk slowly and make more descriptive videos

  • @vivekdeshmukh5171
    @vivekdeshmukh5171 Před 7 měsíci

    Hi Sir... your content is appreciable and I'm finding some new/diff way to write Junit test case but I have one suggestion i.e. whenever you are explaining/writing any code/methods/imports you should show it and explain it from which pkg ur importing and what is purpose . if you cover maximum W's then your videos will be super duper...

  • @andrefaustino5514
    @andrefaustino5514 Před 8 měsíci

    Good stuff! Congrats

  • @prajwalovhal8233
    @prajwalovhal8233 Před 8 měsíci

    thanks bro

  • @jeon5555
    @jeon5555 Před 8 měsíci

    Thanks to this video, i understood monstache. Thank you very much!

  • @mayankmishra5549
    @mayankmishra5549 Před 8 měsíci

    Hi, thanks for making such amazing video. I was looking something like this only for quiet some long time. But I have 1 question. How can I connect elastic server with nodejs? Actaully I am using Apollo Graphql for queries and mutations with mongodb. So How can I make a search query with the elastic in nodejs. If you can provide me some guides or any links then it would be very helpful.

  • @shibambanik4279
    @shibambanik4279 Před 9 měsíci

    Very helpful, thanks a lot

  • @chanduclouds3294
    @chanduclouds3294 Před 9 měsíci

    If i have a project in intellij folder and i want to apply a particular logic in service layer.. So can i just write the package and class name, and ask chatgpt to apply that logic in thay class, will it work?

  • @pandicse63
    @pandicse63 Před 9 měsíci

    Thanks for the video... am using spring boot app and deploying the same app as 6 instances ..how can i achieve distributed caching between 6 instances of same app

  • @isuresh6894
    @isuresh6894 Před 9 měsíci

    Missing clarity in between

  • @ooo7414
    @ooo7414 Před 9 měsíci

    I had found your channel searching about apache ignite. Your lecture is very useful and understandable. Thank you.

  • @vineettalashi
    @vineettalashi Před 10 měsíci

    Why we cannot use the real kafka brokers in case of Testcontainers?

  • @ravindrad6906
    @ravindrad6906 Před 10 měsíci

    Excellent explanation

  • @user-ht1yj4cz2y
    @user-ht1yj4cz2y Před 11 měsíci

    Very helpful. Thanks for the video!

  • @Veganzza
    @Veganzza Před rokem

    awesome lesson sir! 👍

  • @faheemraina9134
    @faheemraina9134 Před rokem

    please provide the git repo

    • @CodewithB
      @CodewithB Před rokem

      github.com/Brijeshpant/aws-playground/tree/master

  • @ananthavasamsetty8125

    Hi, Are you giving any training on serverless apigateway, lambdas, .... Jenkins.

  • @user-ng7wr2nu3f
    @user-ng7wr2nu3f Před rokem

    Hi, Thank you very much for this, Currently, I'm trying to implement the elastic search for the Mongodb database, I might miss the tool monstache if I didn't see this.

    • @soumyasagar2305
      @soumyasagar2305 Před rokem

      i was thinking if i could use this technique to query a mongodb database with billions of documents

  • @awaitingforsunrise
    @awaitingforsunrise Před rokem

    Very beautiful and clear explanation. Thats what i was looking for!

  • @ANSHULGUPTA880
    @ANSHULGUPTA880 Před rokem

    In the employee.class, Should we just skip @Table and @Entity, @Id (JPA annotations)?

    • @CodewithB
      @CodewithB Před rokem

      The Mapping is defined within jdbc type github.com/Brijeshpant/ignite-with-java/blob/IGNITE_SPRING_DATA_WITH_PERSISTENCE/ignite-cache-server/src/main/java/com/brij/config/IgniteConfig.java#L59. So no need to add anything in the Entity class

  • @johnharrell1254
    @johnharrell1254 Před rokem

    'promo sm' ❤️

  • @vishymuku
    @vishymuku Před rokem

    Don't know why AWS made API Gateway -> SNS integration so complicated. Thanks for making this video and making my llife a bit easy. You are an awsome human being. 😀

  • @YonkoBeast
    @YonkoBeast Před rokem

    How add ignite core depencies sir.

  • @percykaku5553
    @percykaku5553 Před rokem

    I don't understand the MongoDB replication part? What are you doing? Do you convert a standalone mongod instance into a replica set, or are you creating a secondary redundant set which is the only set which is used for the changestream? Why can't MongoDB support changestream without replicas? What is the logical limitation?

    • @CodewithB
      @CodewithB Před rokem

      First part of your question : Yes. I have started the standalone Mongo DB instance into a replicaset. Secondary node can be started in different port(i.e 27018). Second question: Change Streams utilises the replication process by subscribing to the operation log(oplog) of Mongo DB. Oplog is a replication specific feature and it is only generated by Mongo DB when it is running in replication mode. for more info you can read mongodb documentation. www.mongodb.com/docs/manual/changeStreams

  • @dojeee
    @dojeee Před rokem

    where is Apache ignite host:port info in you project ?

  • @tarannum7619
    @tarannum7619 Před rokem

    can you please increase the font of your handwriting? it's not legible content is good

  • @user-zn1fs9kt8t
    @user-zn1fs9kt8t Před rokem

    Hello, Can you please also share the XML configuration for connecting with postgres as external store?

  • @This.Object
    @This.Object Před rokem

    well, what is the case when I'm using a native query? banging my head since 24hrs

  • @dominiktworek6455
    @dominiktworek6455 Před rokem

    Oooh, yea! I was trying to solve this issue in my app for last 2h. Thanks mate that helps me alot.

  • @RakibulHasan-wp1dx
    @RakibulHasan-wp1dx Před rokem

    How did you configure?