Загрузка...

UserController.java || Spring Boot UserController class for Spring boot Security code in description

UserController.java || Spring Boot UserController class for Spring boot Security code in description

Welcome to my Viraj Tech YouTube channel new to the channel please subscribe to the channel... & turn on the bell icon by clicking and making it to 'all' to get more interesting and technical videos.
If you like the video or video provide you any help or support, hit the like button. For any query comment below in the comment section I will try to help you and also try to sort out all your problems as soon as possible.
Thanks for Watching...
package com.virajtech.todo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import com.virajtech.todo.model.User;
import com.virajtech.todo.service.UserService;

@Controller
public class UserController {

@Autowired
private UserService userService;

@GetMapping("/login")
public String login() {
return "login";
}

@GetMapping("/logout")
public String logout() {
return "logout";

}

@GetMapping("/success")
public String success() {
return "success";
}

@GetMapping("/register")
public String showRegistrationForm(Model model) {
model.addAttribute("user", new User());
return "register";
}

@PostMapping("/register")
public String registerUser(@ModelAttribute User user) {
userService.saveUser(user);
return "redirect:/login";
}

}
----------------------------------------------------------------------------------------------------------------------------------------

INSTAGRAM :- https://www.instagram.com/VIRAJTECHS

FACEBOOK :- https://www.facebook.com/VIRAJTECHS

TWITTER :- https://twitter.com/VIRAJTECHS

TELEGRAM :- https://t.me/virajtech

GITHUB :- https://github.com/virajvicky

----------------------------------------------------------------------------------------------------------------------------------------
Subscribe to my main channel
https://www.youtube.com/c/VIRAJTECHS

also Subscribe to my second channel
https://www.youtube.com/channel/UCM-kZGcJXJJtyHyKU-neybg
APK LINK:-

Salesforce Trailhead playlist
https://youtube.com/playlist?list=PLRU-dokJWxnOxh--ax8TpzpleBXSncKTM

Spring Boot playlist
https://www.youtube.com/playlist?list=PLRU-dokJWxnN0W1z7ITQBMsDa8WSkOIuu

Github playlist
https://www.youtube.com/playlist?list=PLRU-dokJWxnPn3UJuXA2S15CEs8wZDqgh
Music Credit:-
Music Link:-
Disclaimer :
This channel doesn't Promote or Encourage any illegal activity & All contents provided by this Channel are Meant for Educational Purpose only.

Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use
usercontroller class file for spring boot security,
spring boot security project example,
spring boot security thymeleaf,
spring security example in spring boot,
spring boot read file from resource folder,
spring boot security authentication and authorization,
spring boot security example,
spring security authentication manager,
spring security in spring boot thymeleaf,
spring security with thymeleaf
viraj tech
#springboot
#spring
#springboottutorial
#javaspringboot
#learnspringboot
#springbootjava
#thymeleaf
#springmvc
#springdatajpa
#springcore
#springmaven
#maven
#mvc
#bootstrap
#tailhead
#css
#html
#java
#corejava
#advancejava
#reactjs
#react
#mysql
#database
#frontend
#backend
#fullstack
#crud
#crudoperation
#axios
#reactrouterdom
#reactrouter
#reactvite
#vitereact
#vite
#javascript
#js
#reactjavascript
#javascriptreact
#viraj_tech
#CodingTutorial
#WebDevelopment
#Programming
#LearnToCode

Видео UserController.java || Spring Boot UserController class for Spring boot Security code in description канала VIRAJ TECH (VICKY KUMAR SINGH)
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять