public interface AccountStorageConfiguration
Interface for resolving configuration for account storage.
Account storage configuration is used by file engine(s), ticket engine(s) and authorization. Account root path for instance will impact tickets and is relevant in authorizing access to files and directories. File engines may use the information to constrain an account to a scope in the storage system (compare to chroot).
Modifier and Type | Method and Description |
---|---|
String |
resolveAccountRootPath(com.tenduke.sdk2.objectmodel.identity.Account account)
Resolves account root path in storage.
|
Long |
resolveQuota(com.tenduke.sdk2.objectmodel.identity.Account account)
Resolves quota reserved for an account.
|
long |
resolveUsage(com.tenduke.sdk2.objectmodel.identity.Account account)
Resolves amount of storage consumed by an account.
|
String resolveAccountRootPath(com.tenduke.sdk2.objectmodel.identity.Account account)
account
- Account to resolve storage root path for.Long resolveQuota(com.tenduke.sdk2.objectmodel.identity.Account account)
account
- Account to resolve quota for.long resolveUsage(com.tenduke.sdk2.objectmodel.identity.Account account)
account
- Account to resolve storage usage for.Copyright © 2015. All rights reserved.