@Controller
public class LoginController
extends java.lang.Object| コンストラクターと説明 |
|---|
LoginController(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
| 修飾子と型 | メソッドと説明 |
|---|---|
java.lang.String | authorize(AuthenticationRequest authenticationRequest, javax.servlet.http.HttpServletRequest request) |
@Autowired public LoginController(org.springframework.security.authentication.AuthenticationManager authenticationManager)
@RequestMapping(value="/authenticate",
method=POST)
@ResponseBody
public java.lang.String authorize(@RequestBody
AuthenticationRequest authenticationRequest,
javax.servlet.http.HttpServletRequest request)