it.sistematica.isharedoc.service
Class UserSessionServiceImpl

java.lang.Object
  extended by it.sistematica.isharedoc.service.UserSessionServiceImpl
All Implemented Interfaces:
UserSessionService

@Service(value="userSessionService")
public class UserSessionServiceImpl
extends java.lang.Object
implements UserSessionService


Field Summary
(package private)  CmisServer cmisServer
           
static java.lang.String REPOSITORY_AUTHENTICATION_MAP_NAME
           
(package private)  it.neverworks.application.service.UserInfo userInfo
           
 
Constructor Summary
UserSessionServiceImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_AUTHENTICATION_MAP_NAME

public static final java.lang.String REPOSITORY_AUTHENTICATION_MAP_NAME
See Also:
Constant Field Values

cmisServer

CmisServer cmisServer

userInfo

it.neverworks.application.service.UserInfo userInfo
Constructor Detail

UserSessionServiceImpl

public UserSessionServiceImpl()
Method Detail

getSession

public javax.servlet.http.HttpSession getSession()
Description copied from interface: UserSessionService
Gets the session.

Specified by:
getSession in interface UserSessionService
Returns:
the session

getCloudCredentials

public CloudCredentials getCloudCredentials(RepositoryConnection repo)
Description copied from interface: UserSessionService
Gets the cloud credentials.

Specified by:
getCloudCredentials in interface UserSessionService
Parameters:
repo - the repo
Returns:
the cloud credentials

setCloudCredentials

public void setCloudCredentials(RepositoryConnection repo,
                                java.lang.String username,
                                java.lang.String password)
Description copied from interface: UserSessionService
Sets the cloud credentials.

Specified by:
setCloudCredentials in interface UserSessionService
Parameters:
repo - the repo
username - the username
password - the password

setCloudCredentials

public void setCloudCredentials(RepositoryConnection repo,
                                CloudCredentials credentials)
Description copied from interface: UserSessionService
Sets the cloud credentials.

Specified by:
setCloudCredentials in interface UserSessionService
Parameters:
repo - the repo
credentials - the credentials