Package com.aquima.web.controller
Class AuthenticationController
- java.lang.Object
-
- com.aquima.web.controller.AuthenticationController
-
@Controller @ServerContext public class AuthenticationController extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthenticationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
login(javax.servlet.http.HttpServletResponse response, boolean loginError)
void
logout(javax.servlet.http.HttpServletResponse response)
String
logoutRedirect()
-
-
-
Method Detail
-
logoutRedirect
@GetMapping("/session/{sessionId}/api/authentication/logout") public String logoutRedirect()
-
login
@GetMapping("/session/login.html") public void login(javax.servlet.http.HttpServletResponse response, @RequestParam(value="loginError",required=false) boolean loginError) throws Exception
- Throws:
Exception
-
logout
@GetMapping("/session/logout.html") public void logout(javax.servlet.http.HttpServletResponse response)
-
-