NI-Lab.

nilog:

← 前の日 2023-09-30 次の日 →
← 一年前 一年後 →
Mastodon (2023-09-30)

Spring Boot の最新バージョンは 3.1.4


[Mastodon] 2023-09-30 20:10:49
関連するかも情報

レベル100まで行ったら戻れない


[Mastodon] 2023-09-30 19:51:29

Spring Boot の最新バージョンは 3.1.4


[Mastodon] 2023-09-30 20:10:49

"Version 1.1.3 (latest)"

"Created 10 August 2023."

"A Gradle plugin that provides Maven-like dependency management functionality"

Gradle - Plugin: io.spring.dependency-management plugins.gradle.org/plugin/io.s


[Mastodon] 2023-09-30 20:11:51

Lombok の最新バージョン

"v1.18.30 (September 20th, 2023)"

changelog projectlombok.org/changelog


[Mastodon] 2023-09-30 20:13:36

これが最新かな。

"Apache Log4j to SLF4J Adapter » 2.20.0"
"Date Feb 21, 2023"

Maven Repository: org.apache.logging.log4j » log4j-to-slf4j » 2.20.0 mvnrepository.com/artifact/org


[Mastodon] 2023-09-30 20:15:28

MacBook Air 2020 メモリ8GBで IntelliJ を動かすのがつらくなってきた


[Mastodon] 2023-09-30 20:32:00

"flexmark-java core and all extension modules and converters"

"Date May 23, 2023"

Maven Repository: com.vladsch.flexmark » flexmark-all » 0.64.8 mvnrepository.com/artifact/com


[Mastodon] 2023-09-30 20:42:40

"Version 0.60.0 has breaking changes due to re-organization, renaming, clean up and optimization of implementation classes."

GitHub - vsch/flexmark-java: CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules. github.com/vsch/flexmark-java


[Mastodon] 2023-09-30 20:43:54

"YAML 1.1 parser and emitter for Java"
"Date Aug 27, 2023"

Maven Repository: org.yaml » snakeyaml » 2.2 mvnrepository.com/artifact/org


[Mastodon] 2023-09-30 20:49:42

Spring Boot 2 系から Spring Boot 3 系にアップデートすると書き方がけっこう変わる。

「@Configuration を必ず付加」
「WebSecurityConfigurerAdapter を継承せずに SecurityFilterChain をBean定義してセキュリティ設定を書きましょう」
「http.authorizeRequests() ではなく http.authorizeHttpRequests() を使いましょう」
「@EnableGlobalMethodSecurity ではなく @EnableMethodSecurity を使いましょう」
「antMatchers() や mvcMatchers() ではなく requestMatchers() を使いましょう」
「web.ignoring() ではなく permitAll() を使いましょう」
「.and() は使わずにラムダ式で」

Spring Security 5.4〜6.0でセキュリティ設定の書き方が大幅に変わる件 - Qiita qiita.com/suke_masa/items/9088


[Mastodon] 2023-09-30 21:45:30

「Authority と Role については、さほど大きな違いはありません。 どちらもGrantedAuthorityとして同じフィールドに保存されるのですが、Role の場合は権限の先頭にROLE_が付与されます。つまりroles("ADMIN")とauthorities("ROLE_ADMIN")は同じ権限を付与したことになります。 またhasRoles("ADMIN")とhasAuthority("ROLE_ADMIN")は同じ権限の制御となります。このように仕組み上あまり大きな違いはないのですが、Authority は権限、Role は役割と、本来の意味を考慮して使い分けるのが良いかと思います」

【Spring Security】認証・認可の基礎 | b1san's Blog b1san-blog.com/post/spring/spr


[Mastodon] 2023-09-30 22:30:36
2023年09年30日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN