
public abstract class OServerCommandAuthenticatedServerAbstract extends OServerCommandAbstract
| Modifier and Type | Field and Description |
|---|---|
protected String |
serverPassword |
protected String |
serverUser |
server| Modifier | Constructor and Description |
|---|---|
protected |
OServerCommandAuthenticatedServerAbstract(String iRequiredResource) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authenticate(OHttpRequest iRequest,
OHttpResponse iResponse,
boolean iAskForAuthentication) |
protected boolean |
authenticate(OHttpRequest iRequest,
OHttpResponse iResponse,
boolean iAskForAuthentication,
String resource) |
boolean |
beforeExecute(OHttpRequest iRequest,
OHttpResponse iResponse)
Called before to execute.
|
protected boolean |
checkGuestAccess() |
String |
getResource() |
String |
getUser(OHttpRequest iRequest) |
protected void |
sendAuthorizationRequest(OHttpRequest iRequest,
OHttpResponse iResponse) |
protected void |
sendNotAuthorizedResponse(OHttpRequest iRequest,
OHttpResponse iResponse) |
afterExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getNamesprotected OServerCommandAuthenticatedServerAbstract(String iRequiredResource)
public boolean beforeExecute(OHttpRequest iRequest, OHttpResponse iResponse) throws IOException
OServerCommandbeforeExecute in interface OServerCommandbeforeExecute in class OServerCommandAbstractiResponse - TODOIOExceptionprotected boolean authenticate(OHttpRequest iRequest, OHttpResponse iResponse, boolean iAskForAuthentication, String resource) throws IOException
IOExceptionprotected boolean authenticate(OHttpRequest iRequest, OHttpResponse iResponse, boolean iAskForAuthentication) throws IOException
IOExceptionprotected boolean checkGuestAccess()
protected void sendNotAuthorizedResponse(OHttpRequest iRequest, OHttpResponse iResponse) throws IOException
IOExceptionprotected void sendAuthorizationRequest(OHttpRequest iRequest, OHttpResponse iResponse) throws IOException
IOExceptionpublic String getUser(OHttpRequest iRequest)
public String getResource()
Copyright © 2009–2025 OrientDB. All rights reserved.