Package com.emc.d2fs.interfaces
Interface IRepositoryService
- All Superinterfaces:
ID2fsService
Repository services. Provides access to repository information, repository browsing and connection validation.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkLogin
(Context context) Check if current connection is still activecheckLoginUserName
(Context context) Check if the current connection is still active, return the login user's friendly name if it isvoid
cleanupSearchData
(Context context, List<Context> contexts) Cleanup any temporary search objects associated X3 context.generateDMTicket
(Context context) Generate a new DM_TICKETgetAppInfo
(String locale) return list of application names to be displayed in the login dialoggetLogoutRedirectURL
(Context context) get logout redirect URLgetNetworkLocations
(String clientIP) Return either a list of network locations that contain the given IP address or a list of default network locations if there is no network location that contain the given IP address.Get all available repositories for connectiongetRepository
(String id) Get specific repositorygetRepositoryNameFromId
(Context context, String id) return repository matching the objectIdgetUserLoginName
(Context context) Check if the current connection is still active, return the user's login name if it is This function is only needed for the Kerberos user in the end to end solution.boolean
Release specified session(s)void
setKrbWebAppSPN
(String SPN) Set the Kerberos web app service principal nameMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
getRepositories
Get all available repositories for connection- Returns:
Repository
list- Throws:
Exception
- Since:
- 4.0.1
-
getNetworkLocations
Return either a list of network locations that contain the given IP address or a list of default network locations if there is no network location that contain the given IP address.- Parameters:
clientIP
- Client IP address- Returns:
NetworkLocation
list- Throws:
Exception
- Since:
- 4.2 Patch 7
-
getRepository
Get specific repository- Parameters:
id
- String value of targeted repository id- Returns:
Repository
object- Throws:
Exception
- Since:
- 4.0.1
-
checkLogin
Check if current connection is still active -
getLogoutRedirectURL
get logout redirect URL -
release
Release specified session(s) -
cleanupSearchData
Cleanup any temporary search objects associated X3 context.- Parameters:
context
- D2 context.contexts
- X3 contexts list.- Throws:
Exception
- Since:
- 4.2.1
-
setKrbWebAppSPN
Set the Kerberos web app service principal name- Parameters:
SPN
- Kerberos web app service principal name- Throws:
Exception
-
generateDMTicket
Generate a new DM_TICKET -
checkLoginUserName
Check if the current connection is still active, return the login user's friendly name if it is -
getUserLoginName
Check if the current connection is still active, return the user's login name if it is This function is only needed for the Kerberos user in the end to end solution. -
getRepositoryNameFromId
return repository matching the objectId -
getAppInfo
return list of application names to be displayed in the login dialog- Throws:
Exception
- Since:
- 4.8.0
-