Class UsherAuthenticationRequest
- java.lang.Object
-
- com.microstrategy.web.app.utils.usher.NetworkRequest
-
- com.microstrategy.web.app.utils.usher.UsherAuthenticationRequest
-
- All Implemented Interfaces:
EnumUsherRequest
public class UsherAuthenticationRequest extends NetworkRequest implements EnumUsherRequest
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.utils.usher.NetworkRequest
FORMAT_JSON, FORMAT_XML, HTTP_USHER_HEADER_ERROR, isPost, jsonDataParam, requestParams, requestProps, responseHeaderFields
-
Fields inherited from interface com.microstrategy.web.app.utils.usher.EnumUsherRequest
BAD_CONFIG, CUSTOMER_USHER_APP_ID, GENERIC_ERROR_CODE_FOR_USHER_AUTH, HANDLE_INPUT_STREAM, HANDLE_STRING, INVALID_RESPONSE_FROM_USHER, INVALID_TOKEN, ORG_ID, SESSION_ID, TIME_TO_LIVE, USER_ALREADY_EXISTS, USHER_ACCESS_TOKEN
-
-
Constructor Summary
Constructors Constructor Description UsherAuthenticationRequest(java.lang.String token, UsherSessionHelper session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addRequestParameters()
protected void
addRequestProperties()
java.lang.String
getAuthenticatedUserID()
protected void
handleResponse(java.io.InputStream imageStream, java.lang.String contentType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
protected void
handleResponse(java.lang.String respFromServer)
void
setAuthenticatedUserID(java.lang.String authenticatedUserID)
-
Methods inherited from class com.microstrategy.web.app.utils.usher.NetworkRequest
addBody, addJsonDataParam, buildURL, executeStringContentType, getCookieFromResponseHeader, getErrorDetails, getJsonStringIfExists, getResponseFromRequest, handleErrorCodes, makePath, setResponseFromRequest
-
-
-
-
Constructor Detail
-
UsherAuthenticationRequest
public UsherAuthenticationRequest(java.lang.String token, UsherSessionHelper session) throws WebObjectsException
- Throws:
WebObjectsException
-
-
Method Detail
-
handleResponse
protected void handleResponse(java.lang.String respFromServer) throws TaskInternalException
- Specified by:
handleResponse
in classNetworkRequest
- Throws:
TaskInternalException
-
addRequestParameters
protected void addRequestParameters()
- Specified by:
addRequestParameters
in classNetworkRequest
-
getAuthenticatedUserID
public java.lang.String getAuthenticatedUserID()
-
setAuthenticatedUserID
public void setAuthenticatedUserID(java.lang.String authenticatedUserID)
-
handleResponse
protected void handleResponse(java.io.InputStream imageStream, java.lang.String contentType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) throws TaskInternalException
- Specified by:
handleResponse
in classNetworkRequest
- Throws:
TaskInternalException
-
addRequestProperties
protected void addRequestProperties()
- Specified by:
addRequestProperties
in classNetworkRequest
-
-