
public abstract class OServerCommandAuthenticatedServerAbstract extends OServerCommandAbstract
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
serverPassword |
protected java.lang.String |
serverUser |
server| Modifier | Constructor and Description |
|---|---|
protected |
OServerCommandAuthenticatedServerAbstract(java.lang.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,
java.lang.String resource) |
boolean |
beforeExecute(OHttpRequest iRequest,
OHttpResponse iResponse)
Called before to execute.
|
protected boolean |
checkGuestAccess() |
java.lang.String |
getResource() |
java.lang.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 java.lang.String serverUser
protected java.lang.String serverPassword
protected OServerCommandAuthenticatedServerAbstract(java.lang.String iRequiredResource)
public boolean beforeExecute(OHttpRequest iRequest, OHttpResponse iResponse) throws java.io.IOException
OServerCommandbeforeExecute in interface OServerCommandbeforeExecute in class OServerCommandAbstractiResponse - TODOjava.io.IOExceptionprotected boolean authenticate(OHttpRequest iRequest, OHttpResponse iResponse, boolean iAskForAuthentication, java.lang.String resource) throws java.io.IOException
java.io.IOExceptionprotected boolean authenticate(OHttpRequest iRequest, OHttpResponse iResponse, boolean iAskForAuthentication) throws java.io.IOException
java.io.IOExceptionprotected boolean checkGuestAccess()
protected void sendNotAuthorizedResponse(OHttpRequest iRequest, OHttpResponse iResponse) throws java.io.IOException
java.io.IOExceptionprotected void sendAuthorizationRequest(OHttpRequest iRequest, OHttpResponse iResponse) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getUser(OHttpRequest iRequest)
public java.lang.String getResource()
Copyright © 2009–2022 OrientDB. All rights reserved.