public class LoginRestService extends SecuredRestService
applicationContext, request, servletContext| Constructor and Description |
|---|
LoginRestService() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
javax.ws.rs.core.Response |
keepalive() |
javax.ws.rs.core.Response |
postLogin(javax.servlet.http.HttpServletRequest request)
Authenticates username/password passed in an HTTP form against restcomm.
|
getLoggedUsername, getUserIdentityContext, securebuildErrorResponse, buildInvalidResponse, buildOkResponse, buildOkResponse, buildWebTriggerHtmlResponse, buildWebTriggerJsonResponse, read, size@PostConstruct public void init()
init in class SecuredRestServicepublic javax.ws.rs.core.Response postLogin(@Context
javax.servlet.http.HttpServletRequest request)
throws IOException
request - IOExceptionpublic javax.ws.rs.core.Response keepalive()
Copyright © 2016. All Rights Reserved.