@RestController
public class ElasticLoginController
extends java.lang.Object
| Constructor and Description |
|---|
ElasticLoginController() |
| Modifier and Type | Method and Description |
|---|---|
io.polyglotted.common.model.AuthToken |
login(java.lang.String userId,
java.lang.String password) |
SimpleResponse |
logout(io.polyglotted.common.model.AuthToken result) |
@PostMapping(path="/elastic/login",
params={"userId","password"},
produces="application/json")
public io.polyglotted.common.model.AuthToken login(java.lang.String userId,
java.lang.String password)
throws java.io.IOException
java.io.IOException@PostMapping(path="/elastic/logout",
produces="application/json")
public SimpleResponse logout(@RequestBody
io.polyglotted.common.model.AuthToken result)
throws java.io.IOException
java.io.IOException