??? ???? Redis ??? ???? ?????????
Apr 19, 2025 pm 08:03 PMSpring Boot ?? ?????? Redis? ??? ? ??? ?? ? ???? ??? ? OAuth2authorization ??
Spring Boot Applications?? Spring Security OAUTH2 ?? ?? (?? 3.1.0)? Cache Management? ?? Redis? ?? ? ? ?? OAuth2authorization ??? Redis? ????? ?? ??? ?????. ? ??? ??? ??? ???? ???? ???? ?????.
?? ?? :
? ????? spring-boot-starter-oauth2-authorization-server
? ???? RedisTemplate
???? ???? ?????. RedisTemplate
Jackson? Serializer ( RedisSerializer.json()
)?? ?????. ???, Oauth2authorization ??? Redis? ??? ??? ??? ? ? ????. ?? ??? Oauth2authorization ?? ??? AuthorizationGrantType
???? ?? ????? ???? ?? ??? Jackson? ????? ??? ??? ??????. RedisSerializer.java()
???? ??? ??? ??? ? ??? ?? ? ?? ???? ?? ???? ???? ????? ????.
???:
AuthorizationGrantType
???? ?? ????? ???? ???? ?? ??? ??? ???? ?? Jackson? Mixin ??? ??? ? ????. Mixin ??? AuthorizationGrantTypeMixin
??? @JsonCreator
? ??? ?? ???? ???? Jackson? ??? ??? ????? ?? ??? ?? ??? ?????.
Code example:
?? ?? ??? ?? granttypemixin { @jsoncreator Public AuthorizationGrantTypemixin (@jsonProperty ( "value") ??? ?) {} } ObjectMapper ObjectMapper = new ObjectMapper (); ObjectMapper.addmixin (AuthorizationGrantType.class, AuthorizationGrantTypemixin.class); ????<object> Serializer = New Genericjackson2jsonRedisserializer (ObjectMapper); template.setDefaultSerializer (Serializer);</object>
? ??? ?? Mixin ??? AuthorizationGrantTypeMixin
???? ?? ?? AuthorizationGrantType
???? ??? ?? ???? ?????. ?? ?? AuthorizationGrantType
???? ??? ObjectMapper
????? ???? AuthorizationGrantTypeMixin
??????. ????? ??? ?? ObjectMapper
???? GenericJackson2JsonRedisSerializer
Jackson2JsonRedisserializer? ???? RedisTemplate
? ?? ??? ???? ??????. ??? ????, Oauth2authorization ??? JSON ???? ???? ????? ???? ????? Redis? ??? ? ? ????.
? ??? ??? ???? Redis ??? ???? ?????????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Gitstatus ??? ?? ???? ? ?? ?? ??? ??? ???? ? ?????. 1. ?? ??? ?????. 2. ?? ????? ?? ?? ??? ?????.

??? Python ? ?? ????? ????? ?? ??? ?????. 1. Django ?? Flask? ?? ??? ??? ??? ??????. 2. ??????? ???? sqlalchemy? ?? ORM? ??????. 3. ??? ??? ???? Vue ?? React? ??????. 4. ???? ???? Pytest ?? UnitTest? ??????. 5. ?? ????? ???? Docker ? Heroku ?? AWS? ?? ???? ??????. ??? ??? ?? ???? ???? ? ?? ????? ?? ? ? ????.

Java Chinese? ??? ?? ???? ?? ??? ????? ?? ?????. ?? ???? ??? ???? ???? ???? ??? ??? ???? ???? ?? ?????. 1. UTF-8? ???? ?????? ? ?????? ???? ??????. 2. BufferedReader ? InputStreamReader ??? ?? ??? ?? ? ???? ???? ??????. 3. AlterDatabase ?? ???? MySQL? ?? ?????? ?? ??? ??????. 4. HTTP ?? ? ???? ??? ??? ???/html; charset = utf-8? ??????. 5. ???? ??? ??? ???? ?? ???, ?? ? ??? ??? ????? ???? ??????.

??? ??? Blockdag? ???? ???? ??? ???. Blockdag? 2025 ? ??? ?? 28 ? ??? ?? ?? ? 2 ? 6 ? 5 ?? ??? ??????. ????? ??? ?? ??? ????? ???? ????. ?? ??? ???? ??? ?? ?? ????, ??? ?????? ???? ??? ??????,? ??? ?? ? ?? ?? ?????. ?? ?? ??? ??? ?? ? ?? ?? ????? ??? ??? ? ?? ??? ??? ?? ???? ??? ?????. ????? ?? ????? ??? ???? ???, ?? ??? ?? ??? ?????? ??? ??? ????? ????. 1. Blockdag (BDAG) : 7 ? ?????

Linux System? Ulimit ??? ?? ??? ???? ???? ??? ??? ??? ?????. 1. ulimit? ?? ??? ? (-n), ??? ?? (-v), ??? ??? (-u) ?? ?? ? ??? ?? ? ? ?????. 2. ULIMIT-N2048? ?? ?? ??? ?? ULIMIT ??? ?? ????? ?? ???? ?????. 3. ??? ? ??? ???? /etc/security/limits.conf ? pam ?? ??? ???? sessionRequiredPam_limits.so? ???????. 4. SystemD ???? ?? ???? lim? ???????.

Debian? Jenkins? ???? ???? ?? ??, ??, ???? ?? ? ?? ???? ??? ?? ??? ???? ???????. ??? ???? Jenkins ??? ???? ? ????? ??? ??????. Jenkins? ?? ???? ???? Java ??? ???? ??? ??????. Jenkins? JRE (Java Runtime Environment)? ??? ????? ?????. sudoaptupdatesudoaptinstallopenjdk-11-jdk java ??? ????? ?????? : Java-Version ??? Java version a add

ServiceWorker? ???? ??? ?? ?? ?? ?? ???? ???? ???? ??? ?????. ?? ???? ??? ?????. 1) ?? ??? ??? ? ?? ???? ??; 2) SW.JS ???? ?? ?? ? ?? ?? ???? ?????. 3) ?? ???? ??? ???? ?? ???? Fetch ????? ?? ?? ?????? ???? ??? ?????. 4) ?? ??, ?? ?? ?? ? ??? ?????? ??????. 5) ?? ??? ????? ?? ???? ???? ????? HTTP? ??????????.

Numpy Library? ???? ? ?? ??? ????. 1. PIP? ???? ??????. Pipinstallnumpy, ????? ?? ?? ???? ??? ??? ? ????. 2. Conda? ???? ?????? : Anaconda ??? ??? Condainstallnumpy, ???? ???? ?????. 3. ?? : ?? ?? ? ???? gitclone? ??? ??? ????? ??? ????? ?????.
