Code with B
Code with B
  • 47
  • 159 863
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,
มุมมอง: 63

วีดีโอ

Pair Up With Github Copilot To Get Smarter With Your Code!
มุมมอง 67611 หลายเดือนก่อน
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
มุมมอง 630ปีที่แล้ว
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
มุมมอง 95ปีที่แล้ว
#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
มุมมอง 8Kปีที่แล้ว
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
มุมมอง 529ปีที่แล้ว
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
มุมมอง 5Kปีที่แล้ว
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
มุมมอง 2.7Kปีที่แล้ว
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
มุมมอง 1.2Kปีที่แล้ว
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
มุมมอง 2.7Kปีที่แล้ว
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
มุมมอง 1.8Kปีที่แล้ว
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
มุมมอง 5Kปีที่แล้ว
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
มุมมอง 685ปีที่แล้ว
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
มุมมอง 2.6Kปีที่แล้ว
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
มุมมอง 4.3K2 ปีที่แล้ว
How to write Junit test for Rest Controllers In Spring boot| MockMvc test
How to write custom validation with spring boot
มุมมอง 9K2 ปีที่แล้ว
How to write custom validation with spring boot
Springboot API code generation with Swagger editor | Swagger code generator plugin
มุมมอง 6K2 ปีที่แล้ว
Springboot API code generation with Swagger editor | Swagger code generator plugin
Apache Ignite With Spring Data and springboot
มุมมอง 3.6K2 ปีที่แล้ว
Apache Ignite With Spring Data and springboot
Ignite cache configuring with springboot
มุมมอง 1.9K2 ปีที่แล้ว
Ignite cache configuring with springboot
Configuring external storage with Ignite
มุมมอง 1.2K2 ปีที่แล้ว
Configuring external storage with Ignite
Ignite in memory cache: Define client and serve in java
มุมมอง 2.8K2 ปีที่แล้ว
Ignite in memory cache: Define client and serve in java
Spring JPA selecting specific columns in java
มุมมอง 15K2 ปีที่แล้ว
Spring JPA selecting specific columns in java
gradle api vs implementation| Configuration of API vs implementation
มุมมอง 2.4K2 ปีที่แล้ว
gradle api vs implementation| Configuration of API vs implementation
how to create alias in terminal|alias mac terminal zsh|shortcut for commands
มุมมอง 1.7K2 ปีที่แล้ว
how to create alias in terminal|alias mac terminal zsh|shortcut for commands
How to create multi module java project with gradle
มุมมอง 20K2 ปีที่แล้ว
How to create multi module java project with gradle
Automating code generation using mapstruct
มุมมอง 4.8K3 ปีที่แล้ว
Automating code generation using mapstruct
Create mock server using Postman
มุมมอง 2.3K3 ปีที่แล้ว
Create mock server using Postman
Automatically generating JPA Entity classes and Repository: IntelijIdea
มุมมอง 10K3 ปีที่แล้ว
Automatically generating JPA Entity classes and Repository: IntelijIdea
Functional programming in java 8 with Stream API's [map filter and flatmap]
มุมมอง 3383 ปีที่แล้ว
Functional programming in java 8 with Stream API's [map filter and flatmap]
Higher order functions in Java
มุมมอง 1.9K3 ปีที่แล้ว
Higher order functions in Java

ความคิดเห็น

  • @r.sathishrameshbabu7294
    @r.sathishrameshbabu7294 3 หลายเดือนก่อน

    I don't understand mocks.. why to mock a service with a our pojo and assert to the same pojo... what we are achieving with this kind of test cases!

  • @adithyap2115
    @adithyap2115 4 หลายเดือนก่อน

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

  • @tharoseth8064
    @tharoseth8064 4 หลายเดือนก่อน

    nice explanation

  • @bhootpretkikahani
    @bhootpretkikahani 4 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

    thanks so much for this - it saved me!

  • @sujitkumar2196
    @sujitkumar2196 4 หลายเดือนก่อน

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

  • @ajaykumard2563
    @ajaykumard2563 4 หลายเดือนก่อน

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

  • @syedfaheem-h3w
    @syedfaheem-h3w 5 หลายเดือนก่อน

    Importantly sir jee

  • @sureshgarine
    @sureshgarine 5 หลายเดือนก่อน

    Thank you so much Brijesh!

  • @sureshgarine
    @sureshgarine 5 หลายเดือนก่อน

    thank you so much! very well explained.

  • @sureshgarine
    @sureshgarine 5 หลายเดือนก่อน

    Thank you, this video is very useful.

  • @DonZamudio
    @DonZamudio 5 หลายเดือนก่อน

    Very useful thank you so much

  • @alexandreabarbosa
    @alexandreabarbosa 6 หลายเดือนก่อน

    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 6 หลายเดือนก่อน

    Very useful, thanks a lot!

  • @MallerPramanik
    @MallerPramanik 7 หลายเดือนก่อน

    Can we sync previously stored data using this?

  • @srihari8386
    @srihari8386 7 หลายเดือนก่อน

    What is the gradle version used?

  • @jashgoradia6997
    @jashgoradia6997 7 หลายเดือนก่อน

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

  • @alirezaasadi8656
    @alirezaasadi8656 9 หลายเดือนก่อน

    very well explained , danke

  • @KUMAR-ne2mb
    @KUMAR-ne2mb 9 หลายเดือนก่อน

    Learnt a lot from it. Thanks

  • @Кыргызстан-менинмекеним
    @Кыргызстан-менинмекеним 10 หลายเดือนก่อน

    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 10 หลายเดือนก่อน

    can you share githup account for that?

  • @AvinashKumar-tk5bd
    @AvinashKumar-tk5bd 10 หลายเดือนก่อน

    code github link?talk slowly and make more descriptive videos

  • @vivekdeshmukh5171
    @vivekdeshmukh5171 11 หลายเดือนก่อน

    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 ปีที่แล้ว

    Good stuff! Congrats

  • @prajwalovhal8233
    @prajwalovhal8233 ปีที่แล้ว

    thanks bro

  • @jeon5555
    @jeon5555 ปีที่แล้ว

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

  • @mayankmishra5549
    @mayankmishra5549 ปีที่แล้ว

    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 ปีที่แล้ว

    Very helpful, thanks a lot

  • @chanduclouds3294
    @chanduclouds3294 ปีที่แล้ว

    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 ปีที่แล้ว

    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 ปีที่แล้ว

    Missing clarity in between

  • @ooo7414
    @ooo7414 ปีที่แล้ว

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

  • @vineettalashi
    @vineettalashi ปีที่แล้ว

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

  • @ravindrad6906
    @ravindrad6906 ปีที่แล้ว

    Excellent explanation

  • @AlankarJamle
    @AlankarJamle ปีที่แล้ว

    Very helpful. Thanks for the video!

  • @Veganzza
    @Veganzza ปีที่แล้ว

    awesome lesson sir! 👍

  • @faheemraina9134
    @faheemraina9134 ปีที่แล้ว

    please provide the git repo

    • @CodewithB
      @CodewithB ปีที่แล้ว

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

  • @ananthavasamsetty8125
    @ananthavasamsetty8125 ปีที่แล้ว

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

  • @Swadique-p4u
    @Swadique-p4u ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @awaitingforsunrise
    @awaitingforsunrise ปีที่แล้ว

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

  • @ANSHULGUPTA880
    @ANSHULGUPTA880 ปีที่แล้ว

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

    • @CodewithB
      @CodewithB ปีที่แล้ว

      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 ปีที่แล้ว

    'promo sm' ❤️

  • @vishymuku
    @vishymuku ปีที่แล้ว

    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 ปีที่แล้ว

    How add ignite core depencies sir.

  • @percykaku5553
    @percykaku5553 ปีที่แล้ว

    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 ปีที่แล้ว

      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 ปีที่แล้ว

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

  • @tarannum7619
    @tarannum7619 ปีที่แล้ว

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

  • @RohitJagannath-o6t
    @RohitJagannath-o6t ปีที่แล้ว

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

  • @This.Object
    @This.Object ปีที่แล้ว

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

  • @dominiktworek6455
    @dominiktworek6455 ปีที่แล้ว

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