SpringDeveloper
SpringDeveloper
  • Видео 1 357
  • Просмотров 19 333 928
Spring Tips: Easy Password Rotation with Hashicorp Vault
Hi, Spring fans! Password rotation is an essential ingredient in a secure production system, and Hashicorp Vault and Spring make it easy to do. In this episode, Hashicorp principal developer advocate Rosemary Wang (@joatmon08) helps us make it happen, pulling together Spring Cloud Vault, and Hashicorp Vault, with aplomb.
the code is here: github.com/spring-tips/vault-password-rotation
#java #springboot #hashicorp #vault #password #rotation #security #kotlin
Просмотров: 1 809

Видео

Spring Tips: Vector Databases with Spring AI
Просмотров 3,7 тыс.День назад
Hi, Spring fans! In this installment, we look at the amazing support for vector databases in Spring AI. the code is here: ruclips.net/video/yPu-WV_00Tk/видео.html
Spring Tips: Beans, Beans: What's in a Spring bean?
Просмотров 7 тыс.14 дней назад
HI, Spring fans! In this installment we explore the essential Spring bean. What are they, how are they created, and what do they mean to you? #java #java21 #springframework #springboot
Spring Tips: Spring Cloud Gateway for Spring MVC
Просмотров 5 тыс.21 день назад
Hi, Spring fans! In this installment, we revisit Spring Cloud Gateway, this time to look at the fantastic new support for Spring MVC, made all the more amazing by Java 21's virtual threads. #Java21 #java #SpringBoot #graalvm #springcloud #cloudcomputing #apigateway
Spring Tips: GRPC
Просмотров 7 тыс.Месяц назад
Hi, Spring fans! In this installment we look at one way to build GRPC services with Spring Boot
Spring Tips: the Spring Expression Language
Просмотров 4,9 тыс.Месяц назад
Hi, Spring fans! In this installment, I look at the excellent Spring Expression Language, an embedded language for resolving simple expressions that is built right into the Spring Framework. #java #springboot #spel #jvm #springframework
Spring Tips: Hello, Java 22!
Просмотров 13 тыс.Месяц назад
Hi, Spring fans! In this installment we talk about the amazing new Java 22 release! #java #springboot #java22 #java21
Spring Tips: Distributed Job Scheduling with Jobrunr
Просмотров 8 тыс.Месяц назад
Spring Tips: Distributed Job Scheduling with Jobrunr
Spring Tips: the Jetbrains Exposed ORM for Kotlin
Просмотров 4,8 тыс.Месяц назад
Spring Tips: the Jetbrains Exposed ORM for Kotlin
Spring Tips: Spring Batch Remote Partitioning, your easy button for data scale!
Просмотров 5 тыс.2 месяца назад
Spring Tips: Spring Batch Remote Partitioning, your easy button for data scale!
Spring Tips: the Spring Authorization Server: durability of data
Просмотров 4 тыс.2 месяца назад
Spring Tips: the Spring Authorization Server: durability of data
Spring Tips: the Spring Authorization Server: securing SPAs and messaging flows
Просмотров 6 тыс.2 месяца назад
Spring Tips: the Spring Authorization Server: securing SPAs and messaging flows
Spring Tips: The Spring Authorization Server
Просмотров 14 тыс.3 месяца назад
Spring Tips: The Spring Authorization Server
Spring Tips: Spring Boot Testjars
Просмотров 9 тыс.3 месяца назад
Spring Tips: Spring Boot Testjars
Spring Tips: Spring AI
Просмотров 56 тыс.3 месяца назад
Spring Tips: Spring AI
Spring Tips: CQRS and Axon Framework
Просмотров 9 тыс.3 месяца назад
Spring Tips: CQRS and Axon Framework
Spring Tips: DataSources
Просмотров 12 тыс.4 месяца назад
Spring Tips: DataSources
Spring Tips: Spring Data JDBC
Просмотров 16 тыс.4 месяца назад
Spring Tips: Spring Data JDBC
Spring Tips: Spring's Application Event Subsystem
Просмотров 12 тыс.4 месяца назад
Spring Tips: Spring's Application Event Subsystem
Migrate your Spring Apps with Ease with OpenRewrite
Просмотров 8 тыс.4 месяца назад
Migrate your Spring Apps with Ease with OpenRewrite
Spring Tips: Spring Boot 3.2
Просмотров 72 тыс.5 месяцев назад
Spring Tips: Spring Boot 3.2
Spring Tips: Making the Joyful Jump to Java 21
Просмотров 29 тыс.7 месяцев назад
Spring Tips: Making the Joyful Jump to Java 21
Spring Modulith - A Deep Dive (Workshop)
Просмотров 14 тыс.8 месяцев назад
Spring Modulith - A Deep Dive (Workshop)
Spring into the AI Era: A Practical Exploration for Developers (Workshop)
Просмотров 4,5 тыс.8 месяцев назад
Spring into the AI Era: A Practical Exploration for Developers (Workshop)
Hands-On Cloud Mastery: Deploying Spring Native Apps with GraalVM (Workshop)
Просмотров 1,1 тыс.8 месяцев назад
Hands-On Cloud Mastery: Deploying Spring Native Apps with GraalVM (Workshop)
Using Spring Cloud Data Flow to Run Spring Boot 2.x and 3.x Workloads (Workshop)
Просмотров 2,5 тыс.8 месяцев назад
Using Spring Cloud Data Flow to Run Spring Boot 2.x and 3.x Workloads (Workshop)
Spring Meets GemFire Meets Native: Take Your Spring Apps to the Next Level
Просмотров 3928 месяцев назад
Spring Meets GemFire Meets Native: Take Your Spring Apps to the Next Level
Mind the Gap: Jumping from Spring Boot 2.x to 3.x
Просмотров 18 тыс.8 месяцев назад
Mind the Gap: Jumping from Spring Boot 2.x to 3.x
Spring Recipes
Просмотров 3,5 тыс.8 месяцев назад
Spring Recipes
Spring Modulith - Spring for the Architecturally Curious Developer
Просмотров 9 тыс.8 месяцев назад
Spring Modulith - Spring for the Architecturally Curious Developer

Комментарии

  • @AnthonyGalati
    @AnthonyGalati 10 часов назад

    Very nice job and very useful.

  • @poloolo69
    @poloolo69 День назад

    goat

  • @pikachu-xg7pi
    @pikachu-xg7pi 2 дня назад

    we are getting below error Applying recipes would make no changes. No patch file generated.

  • @Codesskyer947
    @Codesskyer947 2 дня назад

    NICE thnk Josh

  • @Fradantim
    @Fradantim 2 дня назад

    Great video! Is there an out-of-the-box secret to property wiring? We have a secret "the-database" which we are not allowed to edit with the content {"host":"full-hostname", "port":5432, "username":"the-user", "password":"the-password", "name":"database-name"} And we would be really happy if we could just spring.cloud.vault.uri=${VAULT_ADDR} spring.cloud.vault.token=${VAULT_TOKEN} vault.secrets-to-load=the-database spring.datasource.url=jdbc:postgresql://${vault.the-database.host}:${vault.the-database.port}/${vault.the-database.name} We are currengtly doing this with an ApplicationContextInitializer where we get the secrets values and doing System.setProperty("vault." + secret + "." + key, value); before the application starts, but if there's already an implementation for this use case we would like to remove ours.

  • @SergeyZolotaryov
    @SergeyZolotaryov 3 дня назад

    Unfortunately this approach does not work if you want to for example call another service and include your correlation id in logging of request / response. MDC is lost. Even if the thread does not change.

  • @mars009
    @mars009 3 дня назад

    Dangs, sucks that Rob ran out of time, would have loved to see him do the full configuration & test + other demos

  • @mohamadsharifi2353
    @mohamadsharifi2353 3 дня назад

    Great video. I tried this token relay and gateway proxy thing, but the gateway client does not refresh the token. Is there any additional configuration that I missed?

  • @DorBenDov
    @DorBenDov 5 дней назад

    Very good and simple explanations. i tried and it works great, changed to my samples, also worked very good and very fast.

  • @scottwan7051
    @scottwan7051 5 дней назад

    Learned a lof from it. but I got a problem, when I try to grand user authorities in auth-service application with code: ``` @Bean UserDetailsService userDetailsService() { InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager(); manager.createUser(User.withDefaultPasswordEncoder() .username("user") .password("password") .authorities("SCOPE_openid", "order:read") .roles("USER") .build()); return manager; } ``` and then try to get the user authorities in the service application with code: ``` class MeController { @GetMapping("/me") Map<String, String> me(Principal principal) { for (GrantedAuthority authority : ((JwtAuthenticationToken) principal).getAuthorities()) { System.out.println("authority: " + authority.getAuthority()); } return Map.of("name", principal.getName()); } } ``` I found only `SCOPE_openid` authority returned, but I want `order:read` also returned. why and how? anyone can help me here?

  • @pouyakhoshkhoo3855
    @pouyakhoshkhoo3855 7 дней назад

    Amazed by your clean and thorough explanation, like always.

  • @pablo-mora
    @pablo-mora 7 дней назад

    Great Presentation !

  • @BrunoRodrigueseRodrigues
    @BrunoRodrigueseRodrigues 8 дней назад

    What theme are you using in your intellij?

  • @nandhininatarajan4415
    @nandhininatarajan4415 9 дней назад

    Does spring boot upgradation along with jdk 17 bring performance improvement in terms of application response time?

  • @danyboomz
    @danyboomz 9 дней назад

    Now with java 21, you can code value objects with Java records ;)

  • @gomezvillegasdaniel
    @gomezvillegasdaniel 9 дней назад

    I would like to see an example not depending on de openai api with its token... I mean, something more independent like PostgreSQLMLEmbedding etc...

  • @sameeranadgaonkar9756
    @sameeranadgaonkar9756 10 дней назад

    this is great! cleared up a lot of 'magic' happening behind the scenes for spring and springboot.

  • @user-us9gl2ge1o
    @user-us9gl2ge1o 10 дней назад

    git 地址可以发一下吗

    • @ibrahim-ry6sn
      @ibrahim-ry6sn 9 дней назад

      Links get deleted automatically but i am sure you can find the code in user repo called / spring-tips

    • @user-us9gl2ge1o
      @user-us9gl2ge1o 9 дней назад

      ​@@ibrahim-ry6sn Got it. Thank you

  • @user-sl8ss2qq6v
    @user-sl8ss2qq6v 10 дней назад

    "setting spring security log leve to TRACE", thank you very much for key.

  • @toritsejuFO
    @toritsejuFO 10 дней назад

    "on my second favorite place on the Internet", 😂😂😂 always

  • @andrewsneck
    @andrewsneck 11 дней назад

    Cool topic. I want to learn about spring security recently.

  • @huyho7362
    @huyho7362 11 дней назад

    Great presentation with Spring Bean 💪

  • @beksultanmamatkadyruulu8660
    @beksultanmamatkadyruulu8660 12 дней назад

    my next target is set 🎯

  • @TheGhanashyam123
    @TheGhanashyam123 13 дней назад

    Great simple and sweet small example enough to get started

  • @stephenwilliams5173
    @stephenwilliams5173 14 дней назад

    One thing I’m unsure about when writing Spring applications is what application layer objects should be managed by Spring and what objects should be managed by my application.

  • @the_developer3795
    @the_developer3795 14 дней назад

    Thank you for the great video.

  • @122mlb
    @122mlb 15 дней назад

    Could you guys do a video series on the evolution of basic concepts of Spring framework over the years?

  • @Codesskyer947
    @Codesskyer947 15 дней назад

    That is amazing. U real know what most developers don't know spring staff Thnks

  • @luiz.alberton
    @luiz.alberton 15 дней назад

    Amazing how the framework evolved over the time. Thanks for sharing this

  • @user-xf4xg3im3i
    @user-xf4xg3im3i 16 дней назад

    But what we need to do, when we getting cid from context to coroutine? How to copy between reactor context and mdc context and coroutine context and good logs? Most use case very hard(

  • @KatariaDeepak
    @KatariaDeepak 16 дней назад

    Thank you for helping me to understanding spring beans.

  • @softwarengineeringwithfabri
    @softwarengineeringwithfabri 16 дней назад

    didn’t know the origin of the name 😅

  • @konkos5473
    @konkos5473 16 дней назад

    Concerning SOAP, SpringBoot uses a Contract-First approach, requiring developers to write verbose wsdl. Do you think that spring will adopt Contract last approach that simplifies the process eg like .Net?

  • @CoinOpeBoy
    @CoinOpeBoy 16 дней назад

    Thank you.. love that you explain the evolution, it gave a better understanding of what you were showing what spring boot was doing in the end. I have been working with spring boot for a long time now and I still have a lot to learn.

  • @jamesgoldman8188
    @jamesgoldman8188 16 дней назад

    Please give him a better microphone 😢😢

    • @PerAbich
      @PerAbich 16 дней назад

      Sounds like he recorded in the bathroom

  • @pnadmin7927
    @pnadmin7927 16 дней назад

    for who using spring since xml😢

    • @simongeard4824
      @simongeard4824 13 дней назад

      My company does, and still uses a reasonable amount of that XML (along with pretty much all the techniques discussed here). The XML form can actually be pretty useful some times - in particular, it's good for dealing with code which might be optional, since there's no compile-time dependency, and no runtime dependency unless the code is activated by profile.

  • @terteseamos579
    @terteseamos579 16 дней назад

    how can get the spring shirt?

  • @andrefellows3702
    @andrefellows3702 17 дней назад

    Hi Josh! When should we use DataClassRowMapper instead of manual mapping?

  • @arivan-amin
    @arivan-amin 17 дней назад

    Thank you for these amazing content

  • @linisha6046
    @linisha6046 17 дней назад

    Is this STS IDE?

    • @pramodarachchige6972
      @pramodarachchige6972 17 дней назад

      No, it's jetbrains intelij idea IDE

    • @nitish8494
      @nitish8494 17 дней назад

      No jet brains intellij

    • @linisha6046
      @linisha6046 17 дней назад

      Ok anyone uses STS? Does it hang a lot on your side too?

    • @adamlives
      @adamlives 17 дней назад

      ​@@linisha6046yes, still used daily for work, love the quick search Ctrl-Alt-Shift + L . Usually 10 or more Spring Boot projects open. Locks up the UI very rarely, normally I leave it running for weeks at a time.

    • @adamlives
      @adamlives 17 дней назад

      I just up the memory to about 4GB in the ini file on a 32GB machine

  • @pedrolopes7813
    @pedrolopes7813 17 дней назад

    Very fun and informative demo Josh! Thanks. I'll definitely use this soon on few personal projects

  • @fullstack101
    @fullstack101 17 дней назад

    As a Java Developer , You could have use jwebserver comes along with jdk to serve your html and javascript. I’m sad that you used python for that

  • @codingkiddo9727
    @codingkiddo9727 18 дней назад

    Hi Josh, thank you for the presentation. It's really helpful and needed. Can you please let me know what is the IDE you used here ???

  • @Girichippada
    @Girichippada 18 дней назад

    Hello Josh, Great job in explaining in detail. This really helps and gives a glimpse of Spring in the AI world. The world really needs Spring AI. Btw, could you please share the pdf file you have used in this demo or uploading to GitHub would be really helpful to try the same on our own? Thanks a bunk in advance

  • @morkhoudia9
    @morkhoudia9 18 дней назад

    Thx for this tips

  • @EToniolo67
    @EToniolo67 20 дней назад

    Hi Josh, very interesting video, but I try to replicate it and only authentication works, subsequent redirection to gateway fails with no static resources found. I also tried your repository but I get the same result (small side note: your repository is a bit dirty due to the dependency on spring-ai and with the use of reserved port 1010). Thank you.

    • @MrPakurfulo
      @MrPakurfulo 3 часа назад

      Hello, are you accessing localhost or 127.0.0.1 in your browser? Try to access localhost instead of 127.0.0.1 and it will work. Or change the redirect uri to match the server you are trying to access from the browser. Otherwise it will fail because of the cookies. And yes port 1010 is reserved you are right about that, it needs to be changed

  • @wembleyleach
    @wembleyleach 20 дней назад

    Thanks for the great introduction to the Spring Expression Language, Josh!

  • @dibangshuwaddar1009
    @dibangshuwaddar1009 22 дня назад

    It was an awesome and very impressive demo of the new feature.

  • @epsig1507
    @epsig1507 23 дня назад

    Does a gateway still make sense if we have two instances of the backend very far apart? Let's say there are two instances of the same backend, one in the US and one in Asia (for minimal latency purposes). If the gateway is located in the US, a request coming from Asia has to go all the way to the US which then forwards it to Asia and back. Isn't just slowing things down?

    • @she.....
      @she..... 17 дней назад

      You can deploy the gateway as multiple instances too and deploy them local to the region. Use the cdn or other strategies to identify the nearest instance

    • @epsig1507
      @epsig1507 17 дней назад

      @@she..... Yes that makes sense. I am currently using Geo DNS to send the request to the right region