public class DefaultDFSConfig extends Object implements DFSConfig
| Modifier and Type | Field and Description |
|---|---|
protected static String |
INBOX_COMPONENT |
protected static String |
PRIVATE_COMPONENT |
protected static String |
PRIVATE_FILES_COMPONENT |
protected static String |
PUBLIC_COMPONENT |
protected ReadStorePassword |
systemPassword |
protected Uri |
systemRoot |
protected UserProfileLocation |
userProfileLocation |
protected static String |
USERS_ROOT |
protected static String |
VERSION_COMPONENT |
| Constructor and Description |
|---|
DefaultDFSConfig(String systemRoot,
String systemPassword) |
DefaultDFSConfig(Uri systemRoot,
String systemPassword) |
DefaultDFSConfig(URI systemRoot,
String systemPassword) |
DefaultDFSConfig(Uri systemRoot,
String systemPassword,
UserProfileLocation userProfileLocation) |
protected static final String USERS_ROOT
protected static final String PRIVATE_COMPONENT
protected static final String PRIVATE_FILES_COMPONENT
protected static final String PUBLIC_COMPONENT
protected static final String INBOX_COMPONENT
protected static final String VERSION_COMPONENT
protected final Uri systemRoot
protected final ReadStorePassword systemPassword
protected final UserProfileLocation userProfileLocation
public DefaultDFSConfig(String systemRoot, String systemPassword)
systemRoot - Root location for all files - private files, user profiles, etc. For example you want
to place everything in datasafe/system directory within storagesystemPassword - System password to open keystorepublic DefaultDFSConfig(URI systemRoot, String systemPassword)
systemRoot - Root location for all files - private files, user profiles, etc. For example you want
to place everything in datasafe/system directory within storagesystemPassword - System password to open keystorepublic DefaultDFSConfig(Uri systemRoot, String systemPassword)
systemRoot - Root location for all files - private files, user profiles, etc. For example you want
to place everything in datasafe/system directory within storagesystemPassword - System password to open keystorepublic DefaultDFSConfig(Uri systemRoot, String systemPassword, UserProfileLocation userProfileLocation)
systemRoot - Root location for all files - private files, user profiles, etc. For example you want
to place everything in datasafe/system directory within storagesystemPassword - System password to open keystoreuserProfileLocation - Bootstrap for user profile files placementpublic KeyStoreAuth privateKeyStoreAuth(UserIDAuth auth)
privateKeyStoreAuth in interface DFSConfigpublic AbsoluteLocation publicProfile(UserID forUser)
publicProfile in interface DFSConfigpublic AbsoluteLocation privateProfile(UserID forUser)
privateProfile in interface DFSConfigpublic CreateUserPrivateProfile defaultPrivateTemplate(UserIDAuth id)
defaultPrivateTemplate in interface DFSConfigpublic CreateUserPublicProfile defaultPublicTemplate(UserID id)
defaultPublicTemplate in interface DFSConfigprotected AbsoluteLocation<PublicResource> dfsRoot()
protected AbsoluteLocation<PrivateResource> locatePrivateProfile(UserID ofUser)
protected AbsoluteLocation<PublicResource> locatePublicProfile(UserID ofUser)
protected AbsoluteLocation<PublicResource> access(Uri path)
protected AbsoluteLocation<PrivateResource> accessPrivate(Uri path)
Copyright © 2019. All rights reserved.