Class 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 Detail

      • CoreSessionServiceImpl

        public CoreSessionServiceImpl()
    • Method Detail

      • getSessionId

        public String getSessionId()
        Specified by:
        getSessionId in interface org.cxbox.api.service.session.CoreSessionService
      • getSessionUserDetails

        public org.cxbox.api.service.session.CxboxUserDetailsInterface getSessionUserDetails​(boolean raiseError)
        Specified by:
        getSessionUserDetails in interface org.cxbox.api.service.session.CoreSessionService
      • getAuthenticationDetails

        public org.cxbox.api.service.session.CxboxUserDetailsInterface getAuthenticationDetails​(org.springframework.security.core.Authentication auth)
        Specified by:
        getAuthenticationDetails in interface org.cxbox.api.service.session.CoreSessionService
      • getTimeZone

        public TimeZone getTimeZone​(TimeZone defaultValue)
        Specified by:
        getTimeZone in interface org.cxbox.api.service.session.CoreSessionService
      • getZoneId

        public ZoneId getZoneId​(ZoneId defaultValue)
        Specified by:
        getZoneId in interface org.cxbox.api.service.session.CoreSessionService
      • getLocale

        public Locale getLocale​(Locale defaultValue)
        Specified by:
        getLocale in interface org.cxbox.api.service.session.CoreSessionService
      • getSessionUserId

        public Long getSessionUserId()
        Specified by:
        getSessionUserId in interface org.cxbox.api.service.session.CoreSessionService
      • getSessionUserName

        public String getSessionUserName()
        Specified by:
        getSessionUserName in interface org.cxbox.api.service.session.CoreSessionService