org.jclouds.openstack.swift.extensions
Interface TemporaryUrlKeyApi


public interface TemporaryUrlKeyApi

Author:
Andrei Savu
See Also:

Method Summary
 String getTemporaryUrlKey()
          Retrieve the key used to generate Temporary object access URLs
 void setTemporaryUrlKey(String temporaryUrlKey)
          To create a Temporary URL you must first set a key as account metadata.
 

Method Detail

getTemporaryUrlKey

String getTemporaryUrlKey()
Retrieve the key used to generate Temporary object access URLs

Returns:
shared secret key or null
See Also:

setTemporaryUrlKey

void setTemporaryUrlKey(String temporaryUrlKey)
To create a Temporary URL you must first set a key as account metadata.

Once the key is set, you should not change it while you still want others to be able to access your temporary URL. If you change it, the TempURL becomes invalid (within 60 seconds, which is the cache time for a key) and others will not be allowed to access it.

Parameters:
temporaryUrlKey -
See Also:


Copyright © 2009-2013 jclouds. All Rights Reserved.