From c076029e0363b99f27643d7b40402cc9cfef3347 Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Thu, 2 Jan 2025 13:13:58 +0300 Subject: [PATCH] m --- .../features/stream/docs/presentations.txt | 2 + .../libfws/io/file-formats/xml/jaxb/jaxb.txt | 23 +++++++ .../integration/docker/docker-compose.txt | 31 +++++++++- security/server/keycloak/docs/articles.txt | 62 ++++++++++--------- .../server/keycloak/docs/presentations.txt | 2 + 5 files changed, 88 insertions(+), 32 deletions(-) create mode 100644 pl/java/libfws/io/file-formats/xml/jaxb/jaxb.txt diff --git a/pl/java/features/stream/docs/presentations.txt b/pl/java/features/stream/docs/presentations.txt index 501cc3e0b..0150a8d49 100644 --- a/pl/java/features/stream/docs/presentations.txt +++ b/pl/java/features/stream/docs/presentations.txt @@ -14,6 +14,8 @@ BusyCoderAcademy - Java 8 Stream API Workshop of 3:09:22 ! SAM - single abstract method (for FI, @FunctionalInterface), but can have default methods, static methods ! Lambda is not Anonymous Inner Class (which has a bad perf and creates a lot of extra classes) 2022 +PVTIncubator - Blinov - Java Collections and Streams p2 0:00 of 43:55 + https://www.youtube.com/watch?v=1FgDyzDyJMM PVTIncubator - Blinov - Java Collections and Streams p1 26:00 of 41:30 https://www.youtube.com/watch?v=cHGsaTg9c1c PVTIncubator - Blinov - Java Functional Interfaces 12:00 of 56:19 diff --git a/pl/java/libfws/io/file-formats/xml/jaxb/jaxb.txt b/pl/java/libfws/io/file-formats/xml/jaxb/jaxb.txt new file mode 100644 index 000000000..a555de0bf --- /dev/null +++ b/pl/java/libfws/io/file-formats/xml/jaxb/jaxb.txt @@ -0,0 +1,23 @@ +https://www.oracle.com/technical-resources/articles/javase/jaxb.html + +articles +baeldung +https://www.baeldung.com/tag/jaxb +https://www.baeldung.com/jaxb + https://github.com/eugenp/tutorials/tree/master/jaxb + https://github.com/eugenp/tutorials/blob/master/jaxb/pom.xml +https://www.baeldung.com/jaxb-unmarshalling-dates + +http://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.4/ +https://github.com/mojohaus/jaxb2-maven-plugin/ +https://www.mojohaus.org/jaxb2-maven-plugin/#/repo +https://mvnrepository.com/artifact/org.codehaus.mojo/jaxb2-maven-plugin + 3.2.0 + +http://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.4/example_xjc_basic.html +https://stackoverflow.com/questions/76045464/jaxb2-maven-plugin-fails-to-generate-java-packages-with-correct-imports-or-throw + src/main/xsd + + https://unogeeks.com/jaxb2-maven-plugin/ + +https://github.com/highsource/jaxb-tools diff --git a/pl/java/libfws/spring/boot/integration/docker/docker-compose.txt b/pl/java/libfws/spring/boot/integration/docker/docker-compose.txt index abb4005c2..988326c1e 100644 --- a/pl/java/libfws/spring/boot/integration/docker/docker-compose.txt +++ b/pl/java/libfws/spring/boot/integration/docker/docker-compose.txt @@ -1,7 +1,32 @@ -docker-compose -https://docs.spring.io/spring-boot/reference/features/dev-services.html#features.dev-services.docker-compose - https://www.baeldung.com/ops/docker-compose-support-spring-boot +https://docs.spring.io/spring-boot/reference/features/dev-services.html + dependencies { + developmentOnly("org.springframework.boot:spring-boot-docker-compose") + // testAndDevelopmentOnly("org.springframework.boot:spring-boot-docker-compose") + } + // https://docs.spring.io/spring-boot/gradle-plugin/packaging.html#packaging-executable.configuring.including-development-only-dependencies + tasks.named("bootWar") { + classpath(configurations["developmentOnly"]) + } +https://docs.spring.io/spring-boot/reference/features/dev-services.html#features.dev-services.docker-compose.service-connections + // the connection details take precedence over any connection-related configuration properties + https://docs.spring.io/spring-boot/api/java/org/springframework/boot/autoconfigure/service/connection/ConnectionDetails.html + https://docs.spring.io/spring-boot/api/java/org/springframework/boot/autoconfigure/jdbc/JdbcConnectionDetails.html + +https://docs.spring.io/spring-boot/reference/features/dev-services.html#features.dev-services.testcontainers +https://docs.spring.io/spring-boot/reference/testing/testcontainers.html + @ServiceConnection + https://docs.spring.io/spring-boot/reference/testing/testcontainers.html#testing.testcontainers.service-connections + https://docs.spring.io/spring-boot/api/java/org/springframework/boot/testcontainers/service/connection/ServiceConnection.html + Annotation used to indicate that a field or method is a ContainerConnectionSource which provides a service that can be connected to. + @DynamicPropertySource + https://docs.spring.io/spring-boot/reference/testing/testcontainers.html#testing.testcontainers.dynamic-properties + + Using a @ServiceConnection is recommended whenever possible, + however, dynamic properties can be a useful fallback for technologies that don’t yet have @ServiceConnection support + 2024 +https://alexkosarev.name/2023/06/05/docker-compose-and-testcontainers-in-spring-boot-3-1/ +https://www.baeldung.com/docker-compose-support-spring-boot Amplicode - Spring Boot Applications Conterization of 3:49 https://www.youtube.com/watch?v=f_eyfLVgoq8 https://habr.com/ru/companies/haulmont/articles/848696/ diff --git a/security/server/keycloak/docs/articles.txt b/security/server/keycloak/docs/articles.txt index fc9da7a63..ca2e7c224 100644 --- a/security/server/keycloak/docs/articles.txt +++ b/security/server/keycloak/docs/articles.txt @@ -1,39 +1,43 @@ -2023 -https://habr.com/ru/companies/axenix/articles/780422/ -https://habr.com/ru/articles/779170/ -https://habr.com/ru/articles/772010/ -https://habr.com/ru/articles/716232/ -https://habr.com/ru/articles/772010/ -https://habr.com/ru/articles/716232/ - ! +ABAC - https://github.com/mgalaktionov/keycloak-demo-2 -https://itnext.io/what-is-new-in-jakarta-security-3-98db53317e19 -https://habr.com/ru/companies/otus/articles/733404/ -https://habr.com/ru/articles/546428/ -https://habr.com/ru/companies/kaspersky/articles/756812/ -https://habr.com/ru/companies/nixys/articles/752994/ -https://habr.com/ru/articles/735076/ +baeldung https://www.baeldung.com/spring-boot-keycloak https://github.com/eugenp/tutorials/tree/master/spring-boot-modules/spring-boot-keycloak https://www.baeldung.com/spring-boot-keycloak-integration-testing with testcontainers - -https://habr.com/ru/post/724738/ - refresh-token, bad ideology -https://habr.com/ru/post/720070/ - application.yaml, KeycloakWebSecurityConfigurerAdapter is depr-ted - spring-security-oauth2-resource-server -2022 -https://habr.com/ru/articles/661541/ - https://www.keycloak.org/2022/02/adapter-deprecation -https://habr.com/ru/companies/alfastrah/articles/651861/ -2021 -https://habr.com/ru/companies/reksoft/articles/552346/ -https://habr.com/ru/articles/550704/ https://www.baeldung.com/java-keycloak-custom-user-providers https://www.baeldung.com/keycloak-embedded-in-spring-boot-app https://github.com/Baeldung/spring-security-oauth/tree/master/oauth-rest/oauth-authorization-server -2020 https://www.baeldung.com/postman-keycloak-endpoints +2023 +https://medium.com/@buffetbenjamin/keycloak-essentials-openid-connect-c7fa87d3129d + Realm - Identity Provider + User - End User + Client - Relying Party + confidential + public + Scope - collection of resources to access + Flow + Authorization Flow +2023 +https://habr.com/ru/companies/axenix/articles/780422/ + !!! a lot of kc info +https://habr.com/ru/articles/716232/ + ! good +https://habr.com/ru/articles/772010/ + ! intro + https://github.com/mgalaktionov/keycloak-demo-2 +https://habr.com/ru/companies/otus/articles/733404/ + ! use kc-based roles insetead of spring-security ones +https://habr.com/ru/articles/546428/ + ! misc stuff, incl web and localization +https://habr.com/ru/companies/kaspersky/articles/756812/ + ! otp, rbac +https://habr.com/ru/companies/nixys/articles/752994/ + ! ldap +https://habr.com/ru/post/724738/ + ! spring-securit kc-relates stuff, refresh-token filter etc +2021 +https://habr.com/ru/companies/reksoft/articles/552346/ + ! + spring security +2020 https://habr.com/ru/companies/southbridge/articles/511380/ HA diff --git a/security/server/keycloak/docs/presentations.txt b/security/server/keycloak/docs/presentations.txt index afab13f5c..223b50f9a 100644 --- a/security/server/keycloak/docs/presentations.txt +++ b/security/server/keycloak/docs/presentations.txt @@ -26,6 +26,8 @@ https://www.youtube.com/watch?v=vmEWywGzWbA token can be pasted to jwt.io @PreAuthorize("hasRole('client_role')") defaultRolePrefix="ROLE_" // !!! +SelskiyJavist - Keycloak 0:00 of 37:36 + https://www.youtube.com/watch?v=vlu9FJkj6F0 2022 https://www.youtube.com/watch?v=rbKzR6QWKLI&list=PLSVW22jAG8pBnhAdq9S8BpLnZ0_jVBj0c&index=5 2021