Этот коммит содержится в:
ihar_hancharenka 2025-10-22 12:00:55 +03:00
родитель 528b469223
Коммит 81eea5d72f
10 изменённых файлов: 103 добавлений и 6 удалений

Просмотреть файл

@ -8,3 +8,7 @@ https://github.com/bregman-arie/devops-exercises
https://github.com/trimstray/test-your-sysadmin-skills https://github.com/trimstray/test-your-sysadmin-skills
https://github.com/Tikam02/DevOps-Guide https://github.com/Tikam02/DevOps-Guide
2025
https://habr.com/ru/articles/848868/
! tons of technologies

Просмотреть файл

@ -2,8 +2,11 @@ https://linuxcontainers.org/
https://linuxcontainers.org/incus/ https://linuxcontainers.org/incus/
https://zabbly.com/#projects https://zabbly.com/#projects
https://github.com/zabbly/incus https://github.com/zabbly/incus
https://github.com/lxc/incus https://github.com/lxc/incus
https://linuxcontainers.org/incus/try-it
https://images.linuxcontainers.org/ https://images.linuxcontainers.org/
https://linuxcontainers.org/incus/try-it/ https://linuxcontainers.org/incus/try-it/

Просмотреть файл

@ -0,0 +1,3 @@
https://tailscale.com/kb/1081/magicdns
https://tailscale.com/pricing

Просмотреть файл

@ -10,7 +10,7 @@ MacGuffinChannel - Mission Impossible Review 18:00 of 1:18:07
Posledstviya Posledstviya
https://kinogo.org/31531-missija-nevypolnima-posledstvija.html https://kinogo.org/31531-missija-nevypolnima-posledstvija.html
2015 2015
PlemyaIzgoev 12:00 of 2:11:33 PlemyaIzgoev 43:00 of 2:11:33
https://vkvideo.ru/video-146431266_456239089 https://vkvideo.ru/video-146431266_456239089
https://kinogo.org/20712-missija-nevypolnima-plemja-izgoev.html https://kinogo.org/20712-missija-nevypolnima-plemja-izgoev.html
2011 2011

Просмотреть файл

@ -23,6 +23,8 @@ Klyosov - DNA Genealogy of Slavonic
YuriyZhukov - Another Stalin 33-37y YuriyZhukov - Another Stalin 33-37y
2025 2025
SputnikRadio - Osin - Delyagin - ES Fires RUFoby of 22:11
https://www.youtube.com/watch?v=P7r2Lfi_xzE
Ivanov - Delyagin - What Black Sun of Liberals Wants of 26:40 Ivanov - Delyagin - What Black Sun of Liberals Wants of 26:40
https://www.youtube.com/watch?v=N-QErPjRV7I https://www.youtube.com/watch?v=N-QErPjRV7I
SputnikRadio - Kuzmak - Delyagin - Good Business on RU Resources of 21:42 SputnikRadio - Kuzmak - Delyagin - Good Business on RU Resources of 21:42

Просмотреть файл

@ -166,9 +166,13 @@ RussianDoll - Minin - New Economical and Strategical RU Development 1:00 of 43:3
RussianDoll - Teenage Depression 29:00 of 1:20:43 RussianDoll - Teenage Depression 29:00 of 1:20:43
https://www.youtube.com/watch?v=W5b-Qr6fzgQ https://www.youtube.com/watch?v=W5b-Qr6fzgQ
2017 2017
Seminar - Anapa
https://www.youtube.com/playlist?list=PLflQtqFMbdFOk-Nut0JggXWoN2inKf7uo
05.25 - Chanings 0:00 of 2:02:04
https://www.youtube.com/watch?v=W1ONpwEohNc
Seminar - Rest House 23.03.2017 of p7 Seminar - Rest House 23.03.2017 of p7
https://www.youtube.com/playlist?list=PLflQtqFMbdFPBQDZNz8GutPFsc8HnLTHO https://www.youtube.com/playlist?list=PLflQtqFMbdFPBQDZNz8GutPFsc8HnLTHO
23.03.2017 - Newcomers 24:00 of 32:47 23.03.2017 - Newcomers of 32:47
https://www.youtube.com/watch?v=UhQLRQ0Iazk https://www.youtube.com/watch?v=UhQLRQ0Iazk
! 22:00 Communism/Capitalis - forget Own Goals ! 22:00 Communism/Capitalis - forget Own Goals
! Olygarh in depression - goals are ended ! Olygarh in depression - goals are ended

Просмотреть файл

@ -1,4 +1,4 @@
03.02 Gevorgyan - About Language 50:00 of 2:33:59 03.02 Gevorgyan - About Language 1:10:00 of 2:33:59
! 2:00 Theorem of Thomas from sociology ! 2:00 Theorem of Thomas from sociology
! Esli lyudi myslyat chto-to kak realnoe, ono realno po svoim posledstviyam ! Esli lyudi myslyat chto-to kak realnoe, ono realno po svoim posledstviyam
! ? Otto Wenningen (Sytin) - Jews is women people ! ? Otto Wenningen (Sytin) - Jews is women people

Просмотреть файл

@ -7,9 +7,10 @@ Vlad Konovalov - Learning Domain-Driven Design
7F73B4FDC4241131CD44C7DEE74272B3 7F73B4FDC4241131CD44C7DEE74272B3
2025 2025
Devoxx - Tactical Domain Driven Design with Java and Spring by Oliver Drotbohm 1:13:00 of 2:42:19 Devoxx - Oliver Drotbohm - Tactical Domain Driven Design with Java and Spring 1:32:00 of 2:42:19
https://www.youtube.com/watch?v=k3o1nSh3g2Q https://www.youtube.com/watch?v=k3o1nSh3g2Q
! jMoleculus, Spring Modulith ! jMoleculus, Spring Modulith
https://www.youtube.com/watch?v=co3acmgP2Ng
Devoxx - TDD & DDD From the Ground Up Live Coding by Chris Simon 34:00 of 44:36 Devoxx - TDD & DDD From the Ground Up Live Coding by Chris Simon 34:00 of 44:36
https://www.youtube.com/watch?v=eWxOisRMcII https://www.youtube.com/watch?v=eWxOisRMcII
Vetchinkin - DDD Vetchinkin - DDD

Просмотреть файл

@ -60,7 +60,7 @@ Amplicode - Local Environments with Docker Compose for Spring Boot 0:00 of 20:30
https://www.youtube.com/watch?v=1NcFdQX08EE https://www.youtube.com/watch?v=1NcFdQX08EE
https://habr.com/ru/companies/haulmont/articles/836018/ https://habr.com/ru/companies/haulmont/articles/836018/
! with lombok ! with lombok
2024
Amplicode - WN in AC 2024.2 of 7:38 Amplicode - WN in AC 2024.2 of 7:38
https://www.youtube.com/watch?v=E6c-ev04R_0 https://www.youtube.com/watch?v=E6c-ev04R_0
Amplicode - for Developing Existing SP App 0:00 of 32:09
https://www.youtube.com/watch?v=epTcLq3qsA0

80
security/provider/keycloak/docs/misc1.txt Обычный файл
Просмотреть файл

@ -0,0 +1,80 @@
Keycloak — это современный open-source Identity Provider от Red Hat, который часто используется в enterprise-проектах для SSO (Single Sign-On), OAuth2 и OpenID Connect.
Ниже — пошаговая настройка интеграции Keycloak с Spring Boot 3 и Spring Security 6.
1. Зависимости
Проверьте, что в проекте есть или добавьте следующие зависимости:
— Spring Web
— Spring Security
— OAuth2 Resource Server
— OAuth2 Client
2. Разворачиваем Keycloak
Запустите Keycloak через Docker:
docker run -d \
-p 8080:8080 \
-e KEYCLOAK_ADMIN=admin \
-e KEYCLOAK_ADMIN_PASSWORD=admin \
quay.io/keycloak/keycloak:25.0.2 start-dev
После запуска откройте http://localhost:8080, войдите под admin/admin и создайте realm, например demo-realm.
3. Настройка клиента в Keycloak
В разделе Clients → Create client укажите:
— Client ID: spring-client
— Client Protocol: openid-connect
— Root URL: http://localhost:8081
В разделе Settings:
— Установите Access Type → confidential
— Включите Standard Flow Enabled
— Укажите Redirect URI: http://localhost:8081/login/oauth2/code/keycloak
Сохраните и перейдите на вкладку Credentials — скопируйте Client Secret.
4. Настройка application.yml
server:
port: 8081
spring:
security:
oauth2:
client:
registration:
keycloak:
client-id: spring-client
client-secret: YOUR_CLIENT_SECRET
scope: openid, profile, email
redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
provider:
keycloak:
issuer-uri: http://localhost:8080/realms/demo-realm
5. Конфигурация безопасности
Настройте SecurityConfig.java:
@Configuration
public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests(auth -> auth
.requestMatchers("/", "/public").permitAll()
.anyRequest().authenticated()
)
.oauth2Login(Customizer.withDefaults())
.logout(logout -> logout
.logoutSuccessUrl("/")
.invalidateHttpSession(true)
);
return http.build();
}
}