Package com.emc.documentum.rest.dfc
Interface RepositorySessionManager
public interface RepositorySessionManager
An interface to provide the functions to create, get and remove DFC session managers.
Implementation beans for this interface could be autowired in callers.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearAll()
Clear all session managers.com.documentum.fc.client.IDfSessionManager
Get the DFC session manager.List<com.documentum.fc.client.IDfSessionManager>
list()
List current working session managers.void
Remove the session manager by the user identity.
-
Method Details
-
get
com.documentum.fc.client.IDfSessionManager get(String repositoryName, String user, Object credential, AuthType authType) throws com.documentum.fc.common.DfException Get the DFC session manager. An identity will be setup into the session manager. An implementation should create a new session manager if it does not exist for the corresponding user identity.- Parameters:
repositoryName
- the repository nameuser
- the user login namecredential
- the user credentialauthType
- the authentication type- Returns:
- the session manager corresponding to the user identity
- Throws:
com.documentum.fc.common.DfException
- the exception during the operation
-
clearAll
void clearAll()Clear all session managers. -
list
List<com.documentum.fc.client.IDfSessionManager> list()List current working session managers.- Returns:
- a list of session managers
-
remove
Remove the session manager by the user identity.- Parameters:
repositoryName
- the repository nameuser
- the user login namepassword
- the user passwordauthType
- the authentication type
-