@Controller
public class LoginController
extends java.lang.Object
| Constructor and Description |
|---|
LoginController(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
| Modifier and Type | Method and Description |
|---|---|
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)