Package io.tesler.core.util.session
Class CoreSessionServiceImpl
- java.lang.Object
-
- io.tesler.core.util.session.CoreSessionServiceImpl
-
- All Implemented Interfaces:
CoreSessionService
@Service("coreSessionService") public class CoreSessionServiceImpl extends Object implements CoreSessionService
-
-
Field Summary
-
Fields inherited from interface io.tesler.api.service.session.CoreSessionService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description CoreSessionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeslerUserDetailsInterface
getAuthenticationDetails(org.springframework.security.core.Authentication auth)
Locale
getLocale(Locale defaultValue)
String
getSessionId()
TeslerUserDetailsInterface
getSessionUserDetails(boolean raiseError)
Long
getSessionUserId()
String
getSessionUserName()
TimeZone
getTimeZone(TimeZone defaultValue)
ZoneId
getZoneId(ZoneId defaultValue)
-
-
-
Method Detail
-
getSessionId
public String getSessionId()
- Specified by:
getSessionId
in interfaceCoreSessionService
-
getSessionUserDetails
public TeslerUserDetailsInterface getSessionUserDetails(boolean raiseError)
- Specified by:
getSessionUserDetails
in interfaceCoreSessionService
-
getAuthenticationDetails
public TeslerUserDetailsInterface getAuthenticationDetails(org.springframework.security.core.Authentication auth)
- Specified by:
getAuthenticationDetails
in interfaceCoreSessionService
-
getTimeZone
public TimeZone getTimeZone(TimeZone defaultValue)
- Specified by:
getTimeZone
in interfaceCoreSessionService
-
getZoneId
public ZoneId getZoneId(ZoneId defaultValue)
- Specified by:
getZoneId
in interfaceCoreSessionService
-
getLocale
public Locale getLocale(Locale defaultValue)
- Specified by:
getLocale
in interfaceCoreSessionService
-
getSessionUserId
public Long getSessionUserId()
- Specified by:
getSessionUserId
in interfaceCoreSessionService
-
getSessionUserName
public String getSessionUserName()
- Specified by:
getSessionUserName
in interfaceCoreSessionService
-
-