| Package | Description |
|---|---|
| com.akamai.auth | |
| com.akamai.netstorage |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
RequestSigner.execute(ClientCredential credential) |
InputStream |
RequestSigner.execute(HttpURLConnection request,
ClientCredential credential) |
HttpURLConnection |
RequestSigner.sign(HttpURLConnection request,
ClientCredential credential)
Signs a request with the client credential.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCredential
Default implementation of the
ClientCredential. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
NetStorageCMSv35Signer.computeHeaders(ClientCredential credential)
Assmembles the HTTP Headers necessary for API communication
|
InputStream |
NetStorageCMSv35Signer.execute(ClientCredential credential) |
InputStream |
NetStorageCMSv35Signer.execute(HttpURLConnection request,
ClientCredential credential)
Opens the connection to Netstorage, assembles the signing headers and uploads any files.
|
protected String |
NetStorageCMSv35Signer.getAuthDataHeaderValue(ClientCredential credential)
Constructs the X-Akamai-ACS-Auth-Data header which contains the signing version, the current time, a random number
and the username that is used to sign the data.
|
protected String |
NetStorageCMSv35Signer.getAuthSignHeaderValue(String action,
String authData,
ClientCredential credential)
Computes the X-Akamai-ACS-Auth-Sign header for a given Action and Data header values.
|
HttpURLConnection |
NetStorageCMSv35Signer.sign(HttpURLConnection request,
ClientCredential credential) |
Copyright © 2016. All rights reserved.