As announced at SpringOne yesterday, Spring Framework 6 and Spring Boot 3 are planned towards a high-end baseline for their general availability in Q42022:Java 17+ (fromJava 8-17 in the Spring Framework 5.3.xline) Jakarta EE 9+ (fromJava EE 7-8 in the Spring Framework 5.3.xline) This forward-looking baseline will provide significant benefits in ourAPI design and integration efforts, shining

Updates: Since thisblog post has been published, a newlogback 1.2.9 version has been published. While this fixes asecurity issue, prerequisites for exploits are very different as they "requires write access tologback's configuration file".Log4J also released a new 2.17.0 version with fixes forCVE-2021-45046 andCVE-2021-45105. Spring Boot 2.5.8 and 2.6.2 haven been released and provide depen

Many people use containers to wrap their Spring Boot applications, andbuilding containers is not asimple thing to do. This is aguide for developers of Spring Boot applications, and containers are not always agood abstraction for developers. They force you to learn about and think about low-level concerns. However, you may on occasion be called on tocreate or use a container, soit pays to und

JJUGCCC 2019 Springでの登壇資料です

IntroHi guys! Today we aregoing to talk about uploading files toAmazon S3 Bucket from your Spring Boot application. As you may notice almost each application, mobile or web, gives users an ability to upload their images, photos, avatarsetc. So you, as a developer, should choose the best way how to save and where to store these files. There are different approaches for storing files: directly on

APIサーバとして作っているSpringBootアプリに認証の仕組みを入れようと思い、試行錯誤した内容をまとめておきます。 spring-securityを入れればよろしくやってくれるんじゃないの?と軽く思っていたのですが、思ったより長い道のりになってしまいました。 ID/PWでtokenを発行して、tokenを元にその他のAPIを呼び出せるか制御したい というのがやりたいことです。 いろいろ調べるとJWTという技術が使えそうだと判明して、「Implementing JWT Authentication on Spring BootAPIs」というサイトを参考に実装しています。 JWT(Json Web Token)とは 以下の3つのJSONデータを.で結合してできた文字列を、URLでも安全に送れるように暗号化したものです。これをtokenとして利用します。ジョットと読むらしいです He

概要 SpringSecurityとSpring Bootを利用して簡単なRestAPIのデモアプリケーションを実装しました。 記事の前半はSpringSecurity周りの実装、後半がコントローラの実装とそのテストコードについて説明しています。 ソースコードは[rubytomato/demo-security-spring2] (https://github.com/rubytomato/demo-security-spring2)にあります。 環境Windows 10 ProfessionalJava 1.8.0_172 Spring Boot 2.0.2 SpringSecurity 5.0.5 参考 [SpringSecurity Reference] (https://docs.spring.io/spring-security/site/docs/5.0.4.RE

Starting from this chapter?Clone the application repo and check out thebuild-api branch: git clone git@github.com:auth0-blog/menu-api-spring-boot-java.git \ menu-api \ --branchbuild-api Make the project folder your current directory: cd menu-api Then, install the project dependencies using Gradle: ./gradlew --refresh-dependencies Finally, update the application.properties file in src/main/resour
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く