public class AssetStoreUtil extends Object
Created by Jeff Gaynor
on 1/28/13 at 2:27 PM
| Constructor and Description |
|---|
AssetStoreUtil() |
| Modifier and Type | Method and Description |
|---|---|
static edu.uiuc.ncsa.security.core.Identifier |
createID()
Create an identifier with a random id plus timestamp.
|
static Asset |
get(String identifier,
AssetStore assetStore)
Retrieves the asset with the identifier from the store.
|
protected static SecureRandom |
getRandom() |
static void |
save(String identifier,
Asset asset,
AssetStore assetStore)
Saves the asset with the given identifier to the store.
|
protected static SecureRandom getRandom()
public static edu.uiuc.ncsa.security.core.Identifier createID()
public static Asset get(String identifier, AssetStore assetStore)
identifier - assetStore - public static void save(String identifier, Asset asset, AssetStore assetStore)
identifier - asset - assetStore - Copyright © 2019. All Rights Reserved.