Spring Boot Security | Basic authentication and authorization | Security Application in Spring Boot

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • #springboot
    #springboottutorial
    #spring
    #java

Комментарии • 15

  • @dukhanvlogs
    @dukhanvlogs 19 дней назад +2

    thanks a lot bro i been struggle for two days

    • @javatalent
      @javatalent  19 дней назад +1

      @@dukhanvlogs Thanks Keep learning and exploring

    • @dukhanvlogs
      @dukhanvlogs 18 дней назад

      @@javatalent 😇

  • @sabari.delphi
    @sabari.delphi Год назад +1

    Got below error
    Whitelabel Error Page
    This application has no explicit mapping for /error, so you are seeing this as a fallback.
    Thu Mar 30 16:22:06 IST 2023
    There was an unexpected error (type=Not Found, status=404).

    • @javatalent
      @javatalent  Год назад

      Yes there is no any /error mapping done in this example

    • @javatalent
      @javatalent  Год назад

      Not Found means requested resource not found please cross check for server port and url.

    • @sabari.delphi
      @sabari.delphi Год назад +1

      @@javatalent now error resolved after making the right package..thank you

    • @javatalent
      @javatalent  Год назад

      @@sabari.delphi Great!

  • @sabari.delphi
    @sabari.delphi Год назад +2

    Thank you so much.I did a mistake i.e.code snippet does Work as the controller package under the right package"

  • @sabari.delphi
    @sabari.delphi Год назад +1

    I got error while opening the /messge link itself

    • @javatalent
      @javatalent  Год назад

      What the error you are getting paste the screenshot

  • @sabari.delphi
    @sabari.delphi Год назад +1

    Got the Bad credentials error

    • @javatalent
      @javatalent  Год назад

      Hi Sabari,
      Thanks for visiting in this channel.
      I am writing here with respect to all your comments:
      1. WhiteLabel Error page you are seeing because no /error page i had mapped.
      2. For the Bad Credentials, Once you run this application by using localhost:8080/message one pop will come to ask UserName and Password if you hit cancel there you will see the Whitelabel error.
      3. Bad Credentials please check through the SpringSecurityConfig class what you have configured in that class as username and password.