it.sistematica.isharedoc.service
Interface UserSessionService

All Known Implementing Classes:
UserSessionServiceImpl

public interface UserSessionService

The Interface UserSessionService.


Method Summary
 CloudCredentials getCloudCredentials(RepositoryConnection repo)
          Gets the cloud credentials.
 javax.servlet.http.HttpSession getSession()
          Gets the session.
 void setCloudCredentials(RepositoryConnection repo, CloudCredentials credentials)
          Sets the cloud credentials.
 void setCloudCredentials(RepositoryConnection repo, java.lang.String username, java.lang.String password)
          Sets the cloud credentials.
 

Method Detail

getSession

javax.servlet.http.HttpSession getSession()
Gets the session.

Returns:
the session

getCloudCredentials

CloudCredentials getCloudCredentials(RepositoryConnection repo)
Gets the cloud credentials.

Parameters:
repo - the repo
Returns:
the cloud credentials

setCloudCredentials

void setCloudCredentials(RepositoryConnection repo,
                         java.lang.String username,
                         java.lang.String password)
Sets the cloud credentials.

Parameters:
repo - the repo
username - the username
password - the password

setCloudCredentials

void setCloudCredentials(RepositoryConnection repo,
                         CloudCredentials credentials)
Sets the cloud credentials.

Parameters:
repo - the repo
credentials - the credentials