목록SPRING/chapter08_Security (13)
WON.dev
package org.joonzis.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import lombok.extern.log4j.Log4j; @Log4j @Controller @RequestMapping("/sample/*") public class SampleController { @GetMapping("/all") public String doAll() { log.info("do all can access everybod..
package org.joonzis.controller; import org.springframework.security.core.Authentication; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import lombok.extern.log4j.Log4j; @Log4j @Controller public class CommonController { @GetMapping("/accessError")//jsp파일 만들어줘야함 파일명:accessError public String access..