org.soyatec.windowsazure.authenticate
Class SharedAccessSignatureCredentials
java.lang.Object
org.soyatec.windowsazure.authenticate.SharedKeyCredentials
org.soyatec.windowsazure.authenticate.SharedAccessSignatureCredentials
public class SharedAccessSignatureCredentials
- extends SharedKeyCredentials
The credentials for SAS
|
Method Summary |
java.lang.String |
getSas()
|
void |
signRequest(org.apache.http.HttpRequest request,
org.soyatec.windowsazure.internal.ResourceUriComponents uriComponents)
Signs the request appropriately to make it an authenticated request. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedAccessSignatureCredentials
public SharedAccessSignatureCredentials()
SharedAccessSignatureCredentials
public SharedAccessSignatureCredentials(java.lang.String sas)
signRequest
public void signRequest(org.apache.http.HttpRequest request,
org.soyatec.windowsazure.internal.ResourceUriComponents uriComponents)
- Description copied from class:
SharedKeyCredentials
- Signs the request appropriately to make it an authenticated request. Note
that this method takes the URI components as decoding the URI components
requires the knowledge of whether the URI is in path-style or host-style
and a host-suffix if it's host-style.
- Overrides:
signRequest in class SharedKeyCredentials
getSas
public java.lang.String getSas()