Rytis Codes
Rytis Codes
  • Видео 14
  • Просмотров 93 534
Let's Learn Programming!
Have you ever wanted to learn programming? Don't know where to start? It doesn't have to be difficult, and the language you start with doesn't really matter. As long as you're getting fast results, it's going to fuel your dopamine cycle, which will keep you hungry for more.
Let's see how much traction this gains. I'm not promising any upload schedule or regularity, but your comments fuel MY dopamine cycle, so you keep them coming, and you may be getting some more videos.
This video was shot over a year ago as an experiment while just having fun with a friend. This in turn has spawned more occasional, but high production value videos on my main channel @ryt-is
0:00 Welcome
0:18 You SHOULD lea...
Просмотров: 142

Видео

How to Start Spring Boot Project in Community Edition of IntelliJ IDEA
Просмотров 3,9 тыс.5 месяцев назад
IntelliJ IDEA Community Edition does not come with built in Spring Framework integration. Don't worry, because you don't actually need it. You can simply use online Spring Initializr to get the project started.
How to Install IntelliJ IDEA with JetBrains Toolbox (Community Edition, MacOS)
Просмотров 9215 месяцев назад
Installing IntelliJ IDEA Community Edition through JetBrains Toolbox is very easy. Is this video useless? Perhaps. But if someone asks you how to install IntelliJ, you can save 2 minutes of your life by pointing them to this video
420 Subs Thank You
Просмотров 326Год назад
Just passed 420 subscribers, so I'm just checking in to say thank you
How to Generate and Add SSH Keys to Github / Bitbucket (MacOS)
Просмотров 17 тыс.Год назад
Did someone tell you to just add SSH Keys to your account, but you don't know what they mean? In this video I will show how to generate and SSH Keypair and add it to your Bitbucket and Github accounts. 0:00 Intro 0:19 Generate a key via terminal 2:21 Add key to Bitbucket 3:02 Add key to GitHub 3:28 Load key into Memory (ssh-add) 4:17 Different keys per system
6. Testing | Spring Security with SB3
Просмотров 3,5 тыс.Год назад
Finally, we'll write some tests for our endpoints to make sure that everything is working correctly and we won't need to keep testing manually. We'll also make a couple of mock annotations that will simulate users with different roles and allow us to call endpoints from tests without logging in. github.com/rytis-codes/spring-security 00:00 Intro 00:48 Public endpoint test 05:36 Secured endpoint...
5. Basic Roles | Spring Security with SB3
Просмотров 4 тыс.Год назад
In this video we'll add multiple users to our system with different roles such as Admin and User. github.com/rytis-codes/spring-security 00:00 Intro 00:21 Adding another user 01:32 Testing multiple users 02:03 Refactoring code to service 04:01 Admin endpoint 05:00 Securing Admin endpoint 06:38 Outro
4. Real login | Spring Security with SB3
Просмотров 7 тыс.Год назад
In this video we'll make our login endpoint actually take into account the provided login data and only allow existing users to log in. github.com/rytis-codes/spring-security 00:00 Intro 00:32 Injecting Principal into Controller 02:31 Creating User Service 03:34 User Entity 04:55 Continuing with User Service 07:41 UserDetailsService 10:34 Adding Password to UserPrincipal 11:24 Connecting Detail...
3. Using JWT in requests | Spring Security with SB3
Просмотров 10 тыс.Год назад
In this video we'll make our system be able to consume JWT tokens in requests. github.com/rytis-codes/spring-security 00:00 Intro 01:02 UserPrincipal 03:31 Authentication token 05:52 JWT Decoder 08:49 Decoded JWT to UserPrincipal 12:14 JwtAuthenticationFilter 17:03 Aside: Method reference 17:40 JwtAuthenticationFilter cont'd 20:00 Secure endpoint 22:08 Outro
2. Fake Login | Spring Security with SB3
Просмотров 12 тыс.Год назад
In this video we will create a fake login endpoint that issues JWT tokens regardless of what is entered in the login information. github.com/rytis-codes/spring-security 00:00 Intro 00:21 AuthController 00:44 Login endpoint 01:00 Login request model 02:08 Login response model 03:20 Checking dummy login 03:39 Exposing login endpoint 04:11 Auth0 JWT dependency 05:04 JWT issuer 09:21 Using JWT issu...
1. Initial Setup | Spring Security with SB3
Просмотров 16 тыс.Год назад
In this video we'll set up the Spring Boot project with dependencies, base Security Config, and a dummy public endpoint. github.com/rytis-codes/spring-security 00:00 Intro 00:26 Starting the project 00:51 New project dependencies 01:25 Gradle dependencies 01:58 First controller 03:04 Spring Security config 03:57 SecurityFilterChain Bean 05:39 Default Spring login form 05:58 Disable form login 0...
REST API Security with Spring Boot 3
Просмотров 19 тыс.Год назад
A lot of beginners are struggling with getting Spring Security up and running, so I decided to make a video series about just that. In the series we will be securing a REST API, making a couple of roles, and then writing proper tests for our endpoints. github.com/rytis-codes/spring-security

Комментарии

  • @benjilabonte4280
    @benjilabonte4280 День назад

    bro you are a blessing!!!

  • @rohitsingharya9602
    @rohitsingharya9602 6 дней назад

    thanks bro god bless you

  • @latrousramzi7477
    @latrousramzi7477 22 дня назад

    Thank big boss for the great tuto it really helped

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 25 дней назад

    Why are the aplication.propertie yaml better? Once you have indented something wrong, in 3/4 2/4 of the document you are lost. I don't understand the hype. Is it faster than standard tried but not more readable?

    • @rytis-codes
      @rytis-codes 25 дней назад

      Properties file is very verbose and when you have a lot of configuration it all looks like one big blob. Yaml on the other hand is structured and nicely indented and very easy to read

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 25 дней назад

    You can make life more difficult than it really is and configure everything by hand for 30 minutes.

  • @januarfe
    @januarfe 27 дней назад

    thanks brohh

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 27 дней назад

    Hi, how call the class in spring security wich preconfig the spring security I can't find again in the videos?

  • @john.dough.
    @john.dough. 29 дней назад

    neat! thanks for sharing :]

  • @Sebastian-zs8cp
    @Sebastian-zs8cp Месяц назад

    Why do you put your WebSecurityConfig in Security and not in the Config folder? Can you perhaps explain what belongs in the Security folder, and what belongs in the Config folder for you? For me, for example, PasswordEncoderConfig, WebSecurityConfig, and all config endings belong in the config folder - that's all I know yet, I still need to learn more. For me all CustomAuthenticationProvider, CustomUserDetailService, Security/UserPrincipal, all JwtAuthenticationFilter, all JWT... belong in Security,

    • @rytis-codes
      @rytis-codes Месяц назад

      These are quite arbitrary. I'm trying to place related things in one place, since security config is security related I place it in security package. I find that as the project grows, classes get moved to different packages multiple times. Don't overthink where to place things in the beginning, they will find their place, as long as you're not afraid to move them after a while. If you find yourself jumping through multiple different packages just to change one functionality, maybe it makes sense to group classes under one package.

  • @javajavelin1
    @javajavelin1 Месяц назад

    That's an amazing choice of project. Commenting prior to watching this video. Let's see what will be unfolded in there. I'm a critic and I'll not favour you if you don't teach and just coding. Let's see :)

    • @rytis-codes
      @rytis-codes Месяц назад

      I'm streaming just so that people can watch me struggle to do the most basic things :) Trying to teach along the way, but this is not my usual scripted content. I will at some point make a properly scripted tutorial, just like my Spring Security series.

    • @javajavelin1
      @javajavelin1 Месяц назад

      @@rytis-codes I'm actually got introduced to you with your spring security series. And that is awesome. And I commented on this to learn from this project and leave my actual gut feelings after watching the whole video. However, I love the raw content as well. And this is absolutely fine to have such streams. By the way, this is the absolute reason that I "hate" gradle. And you now will not fight with anyone on this :D I often get the weird errors which I can't understand and that's just due to the gradle-wrapper. Only if I use the intellij provided gradle version then this is working great.

  • @mkay2stay
    @mkay2stay Месяц назад

    appreciate the vid but I think the best part about it was learning about CMD + SPACE, you just saved me hours on hours of finding files so thank you!

  • @mbsanga21
    @mbsanga21 Месяц назад

    W for this one. a great tut. is there a video for refreshing a token?

    • @rytis-codes
      @rytis-codes Месяц назад

      Thanks! Unfortunately there's no tutorial for refresh tokens as I've switched jobs and was a bit busy. But the things are calming down now, so maybe I'll make one :)

  • @ankitaugale4551
    @ankitaugale4551 Месяц назад

    Thank you!

  • @MarcoMoretto-zq8sz
    @MarcoMoretto-zq8sz Месяц назад

    Really interesting. I'm Italian, you're really clear and explain the topic methodically. I'm following the tutorial with involvement. keep it up! Thank you.

  • @yassinebenfekih5591
    @yassinebenfekih5591 Месяц назад

    gold-tiers videos , very good explanations , continue like that !

  • @ariel_chess
    @ariel_chess Месяц назад

    Is it really a bad idea or was that sarcasm?

  • @GhayethAlMasri
    @GhayethAlMasri 2 месяца назад

    Man, I really didn't understand JWT security nor how Spring Security works in general at all until this moment. I always used to copy paste and wondering what is the benefit of using UserDetails, why to use it? Now I understood how security actually works. Thanks to you, I even started analyzing it in my mind, and figure out what are the steps for securing my app.

    • @rytis-codes
      @rytis-codes 2 месяца назад

      Love it! Glad it helped!

  • @joaofernandes7036
    @joaofernandes7036 2 месяца назад

    thank you, appreciated a lot. Great tutorial

  • @michakraft3921
    @michakraft3921 2 месяца назад

    nice, im a senior php and now a java beginner, thanks

  • @rajkiranchaudhary8769
    @rajkiranchaudhary8769 2 месяца назад

    Thank you very much. Quite helpful

  • @mohitsharma6613
    @mohitsharma6613 2 месяца назад

    Hello Rytis, could you start with real life spring boot project. That would be great. 😀

    • @rytis-codes
      @rytis-codes Месяц назад

      Hey, I have started to stream a real Spring Boot project that I'm doing from scratch. Live coding is not as quality as my usual scripted videos, but maybe you'll find something useful in the streams :)

  • @Sp0ntanCombust
    @Sp0ntanCombust 2 месяца назад

    It baffles me how there are no good complete official examples on the subject. This tutorial series has been a liversaver. Thank you!

  • @546hhh9
    @546hhh9 2 месяца назад

    thank you

  • @irvinmarcelocardozoparedes5907
    @irvinmarcelocardozoparedes5907 3 месяца назад

    Thanks!!!

  • @0x7162
    @0x7162 3 месяца назад

    thank you! this helped me with my job

  • @AaronTweeton
    @AaronTweeton 3 месяца назад

    Thank you! Atlassian should replace their tutorial with your video.

  • @jeetshah4699
    @jeetshah4699 3 месяца назад

    Much better than the atlassian tutorial. Thanks !!

  • @uwu-pq1om
    @uwu-pq1om 3 месяца назад

    is this sintax java 2?

  • @ahmadiyad2860
    @ahmadiyad2860 3 месяца назад

    You are the best

  • @mohdcom25
    @mohdcom25 3 месяца назад

    This is better than the traditional way

  • @lifeofme3172
    @lifeofme3172 4 месяца назад

    thanks you are a savior

  • @deolly
    @deolly 4 месяца назад

    Thanks for the help Rytis!

  • @ChilaKasonde
    @ChilaKasonde 4 месяца назад

    Thanks i didnt know there was community edition on Mac i doubt many people do

  • @ChimiChuri-k2o
    @ChimiChuri-k2o 5 месяцев назад

    helpful ty

  • @mohammaddesouky
    @mohammaddesouky 5 месяцев назад

    Welcome BACK!

  • @vitalyD4256
    @vitalyD4256 5 месяцев назад

    Thanks! (Hi from Ukraine).

  • @tan-tan-def
    @tan-tan-def 6 месяцев назад

    thanh you so much

  • @doodh_jalebi
    @doodh_jalebi 6 месяцев назад

    Exactly what I needed -- iteratively built and calmly explained, thank you!

  • @damodar_9_9_9
    @damodar_9_9_9 6 месяцев назад

    Please continue making new videos extension to these, Refresh Tokens... etc It is very very helpful for a junior dev like me who is just starting out with spring.. Many more thanks !

  • @GiorgiNatenadze-v1s
    @GiorgiNatenadze-v1s 6 месяцев назад

    Thanks for tip !

  • @tombrady7390
    @tombrady7390 7 месяцев назад

    Nice work Rytis hope to see more content from you.

  • @ertugrulvalorant1732
    @ertugrulvalorant1732 7 месяцев назад

    +

  • @MichaelRinghusGertz
    @MichaelRinghusGertz 7 месяцев назад

    @Rytis Im a little stuck at 13:22 when you implement the AuthenticationManager I'm using Spring Security 6.3.1 and the .and() and .build() have been removed as of Spring Security 6.1 Can you help me get past this?

    • @MichaelRinghusGertz
      @MichaelRinghusGertz 7 месяцев назад

      Okay i changed your github. and could see the code was changed a bit there, i tried that code, and it works. Im leaving my question as is, in case someone else comes by with the same issue, then they can be guided to where to find the solution. Agains Thanks.

    • @rytis-codes
      @rytis-codes 7 месяцев назад

      Looks like I'll need to make an updated video about it. Haven't touched Spring Security in a while. In the meantime, official changelogs might have a solution.

  • @MichaelRinghusGertz
    @MichaelRinghusGertz 7 месяцев назад

    Thanks for the videos. They have so far been super helpful. Spring Security is new to me, and I have seen many videos about it. But this is definitely the best. Thanks again

  • @mateusfonseca988
    @mateusfonseca988 7 месяцев назад

    The content is very good, but unfortunately it's a lot to take in, a lot of classes. It's very difficult to keep up with you.

    • @rytis-codes
      @rytis-codes 7 месяцев назад

      Well, it is not an easy topic to get into, but I've tried to show every step

  • @7daysinSunnyJune
    @7daysinSunnyJune 7 месяцев назад

    Thanks brother. Really clear tutorial on ssh keys.

  • @SecretHunter-yz2og
    @SecretHunter-yz2og 7 месяцев назад

    Thank you, thank you for explaining JWT, thank you.

  • @mirkamolasrorov906
    @mirkamolasrorov906 8 месяцев назад

    Hi Rytis ! i find your tutorial about JWT very fruitful. Thank you so much! But can you make a video about RefreshToken?

  • @abolfazlnikfarjam9874
    @abolfazlnikfarjam9874 8 месяцев назад

    Thank you very much

  • @prahladpanthi7885
    @prahladpanthi7885 8 месяцев назад

    Thank you so so much 🙏