com.hack23.cia.service.api.common
Interface UserSessionService

Package class diagram package UserSessionService
All Superinterfaces:
org.springframework.security.core.userdetails.UserDetailsService
All Known Implementing Classes:
UserSessionServiceImpl

public interface UserSessionService
extends org.springframework.security.core.userdetails.UserDetailsService

The Interface UserSessionService.


Method Summary
 UserSession addActionEvent(ActionEvent actionEvent, UserSession userSession)
          Adds the action event.
 UserSession createUserSession(String sessionId, String headerHost, String serverHost, String acceptLanguageKeys, String userAgent)
          Creates the user session.
 UserSession loadUserSessionById(Long userSessionId)
          Load user session by id.
 UserSession login(String name, String encodedPassword, UserSession userSession)
          Login.
 UserSession logout(UserSession userSession)
          Logout.
 
Methods inherited from interface org.springframework.security.core.userdetails.UserDetailsService
loadUserByUsername
 

Method Detail

addActionEvent

UserSession addActionEvent(ActionEvent actionEvent,
                           UserSession userSession)
Adds the action event.

Parameters:
actionEvent - the action event
userSession - the user session
Returns:
the user session

createUserSession

UserSession createUserSession(String sessionId,
                              String headerHost,
                              String serverHost,
                              String acceptLanguageKeys,
                              String userAgent)
Creates the user session.

Parameters:
sessionId - the session id
headerHost - the header host
serverHost - the server host
acceptLanguageKeys - the accept language keys
userAgent - the user agent
Returns:
the user session

loadUserSessionById

UserSession loadUserSessionById(Long userSessionId)
Load user session by id.

Parameters:
userSessionId - the user session id
Returns:
the user session

login

UserSession login(String name,
                  String encodedPassword,
                  UserSession userSession)
Login.

Parameters:
name - the name
encodedPassword - the encoded password
userSession - the user session
Returns:
the user session

logout

UserSession logout(UserSession userSession)
Logout.

Parameters:
userSession - the user session
Returns:
the user session


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.