public class OServerCommandPostAuthToken extends OServerCommandAbstract
server
Constructor and Description |
---|
OServerCommandPostAuthToken() |
Modifier and Type | Method and Description |
---|---|
protected String |
authenticate(String username,
String password,
String iDatabaseName) |
boolean |
execute(OHttpRequest iRequest,
OHttpResponse iResponse)
Executes the command requested.
|
String[] |
getNames() |
protected void |
sendAuthorizationRequest(OHttpRequest iRequest,
OHttpResponse iResponse,
String iDatabaseName) |
protected void |
sendError(OHttpRequest iRequest,
OHttpResponse iResponse,
ODocument error) |
afterExecute, beforeExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCache
public String[] getNames()
public boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws Exception
OServerCommand
Exception
protected String authenticate(String username, String password, String iDatabaseName) throws IOException
IOException
protected void sendError(OHttpRequest iRequest, OHttpResponse iResponse, ODocument error) throws IOException
IOException
protected void sendAuthorizationRequest(OHttpRequest iRequest, OHttpResponse iResponse, String iDatabaseName) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.