
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, setNoCachepublic String[] getNames()
public boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws Exception
OServerCommandExceptionprotected String authenticate(String username, String password, String iDatabaseName) throws IOException
IOExceptionprotected void sendError(OHttpRequest iRequest, OHttpResponse iResponse, ODocument error) throws IOException
IOExceptionprotected void sendAuthorizationRequest(OHttpRequest iRequest, OHttpResponse iResponse, String iDatabaseName) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.