Skip to content
  1. May 07, 2023
  2. May 06, 2023
  3. May 05, 2023
  4. May 04, 2023
  5. May 03, 2023
    • Juraj Paluba's avatar
      core-tests: fix missing bean in tests · 6b94cd7d
      Juraj Paluba authored and Juraj Paluba's avatar Juraj Paluba committed
      Had to add spring security test dependency as well as WithMockUser
      annotation (for rest controllers --> performing requests with given
      user) and MockedBeand for client registration.
      
      It is not the optimal solution, but honestly the only one I was able to
      produce. The main problem is the securityFilterChain in App class
      besides main(). Because the App class is executed during each test.
      6b94cd7d
    • Juraj Paluba's avatar
      core-security: implement basic security · 22ea71fb
      Juraj Paluba authored and Juraj Paluba's avatar Juraj Paluba committed
      Login providers are Github and MUNI. To login just go to
      http://localhost:8080 and choose preffered login provider.
      
      New services are used to create our User entity in database. The
      intended use case is that every time we will need user, we can find him
      by his email.
      
      Of course the authentication is not setup properly as it does not
      differantiate between admin and normal user. That will come in second
      iteration.
      22ea71fb
    • Juraj Paluba's avatar
      core-properties: fix the name for MUNI login · 7f961630
      Juraj Paluba authored and Juraj Paluba's avatar Juraj Paluba committed
      7f961630