public class TokenAuthenticationServlet extends javax.servlet.http.HttpServlet
The token is provided by the TokenAuthenticationService
.
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_NAME_PARAM |
static String |
DEVICE_DESCRIPTION_PARAM |
static String |
DEVICE_ID_PARAM |
static String |
PERMISSION_PARAM |
static String |
REVOKE_PARAM |
static String |
TOKEN_AUTH_PLUGIN_NAME |
Constructor and Description |
---|
TokenAuthenticationServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
sendTextResponse(javax.servlet.http.HttpServletResponse resp,
String textResponse,
int statusCode) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final String TOKEN_AUTH_PLUGIN_NAME
public static final String APPLICATION_NAME_PARAM
public static final String DEVICE_ID_PARAM
public static final String DEVICE_DESCRIPTION_PARAM
public static final String PERMISSION_PARAM
public static final String REVOKE_PARAM
public TokenAuthenticationServlet()
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void sendTextResponse(javax.servlet.http.HttpServletResponse resp, String textResponse, int statusCode) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.