My Oracle Support Banner

Best Practice Of Object Storage Access API (Doc ID 2401744.1)

Last updated on SEPTEMBER 25, 2018

Applies to:

Oracle Storage Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

Store pictures into Oracle storage classic by API (Java call), and then access these pictures by API.

UI (Frontend) will be JSP/H5 page that allow customer to upload picture , preview picture and download picture.

From Oracle storage classic documentation, we can use API. 

Questions:

1] Do we need to generate Auth token first , then access the API that operate files. Does it require "two steps" operation ? Do we have any workaround that only one time authentication (Auth token will change as time flying), e.g. base64 authentication. then end users can upload and download pictures easily, no need to get token every time.
If no , any best practice for this scenario?
 
2] If we want to  accept basic auth, using username & password, how to leverage that?
 
3] Can we use the script to update auth token when it expires ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.