Package org.cxbox.core.util.session
Class CoreSessionServiceImpl
- java.lang.Object
-
- org.cxbox.core.util.session.CoreSessionServiceImpl
-
- All Implemented Interfaces:
org.cxbox.api.service.session.CoreSessionService
@Service("coreSessionService") public class CoreSessionServiceImpl extends Object implements org.cxbox.api.service.session.CoreSessionService
-
-
Constructor Summary
Constructors Constructor Description CoreSessionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.cxbox.api.service.session.CxboxUserDetailsInterfacegetAuthenticationDetails(org.springframework.security.core.Authentication auth)LocalegetLocale(Locale defaultValue)StringgetSessionId()org.cxbox.api.service.session.CxboxUserDetailsInterfacegetSessionUserDetails(boolean raiseError)LonggetSessionUserId()StringgetSessionUserName()TimeZonegetTimeZone(TimeZone defaultValue)ZoneIdgetZoneId(ZoneId defaultValue)
-
-
-
Method Detail
-
getSessionId
public String getSessionId()
- Specified by:
getSessionIdin interfaceorg.cxbox.api.service.session.CoreSessionService
-
getSessionUserDetails
public org.cxbox.api.service.session.CxboxUserDetailsInterface getSessionUserDetails(boolean raiseError)
- Specified by:
getSessionUserDetailsin interfaceorg.cxbox.api.service.session.CoreSessionService
-
getAuthenticationDetails
public org.cxbox.api.service.session.CxboxUserDetailsInterface getAuthenticationDetails(org.springframework.security.core.Authentication auth)
- Specified by:
getAuthenticationDetailsin interfaceorg.cxbox.api.service.session.CoreSessionService
-
getTimeZone
public TimeZone getTimeZone(TimeZone defaultValue)
- Specified by:
getTimeZonein interfaceorg.cxbox.api.service.session.CoreSessionService
-
getZoneId
public ZoneId getZoneId(ZoneId defaultValue)
- Specified by:
getZoneIdin interfaceorg.cxbox.api.service.session.CoreSessionService
-
getLocale
public Locale getLocale(Locale defaultValue)
- Specified by:
getLocalein interfaceorg.cxbox.api.service.session.CoreSessionService
-
getSessionUserId
public Long getSessionUserId()
- Specified by:
getSessionUserIdin interfaceorg.cxbox.api.service.session.CoreSessionService
-
getSessionUserName
public String getSessionUserName()
- Specified by:
getSessionUserNamein interfaceorg.cxbox.api.service.session.CoreSessionService
-
-