Class JmixRememberMeServices

java.lang.Object
org.springframework.security.web.authentication.rememberme.AbstractRememberMeServices
org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices
io.jmix.core.rememberme.JmixRememberMeServices
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware, org.springframework.security.web.authentication.logout.LogoutHandler, org.springframework.security.web.authentication.RememberMeServices

public class JmixRememberMeServices extends org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices
  • Field Summary

    Fields inherited from class org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices

    DEFAULT_SERIES_LENGTH, DEFAULT_TOKEN_LENGTH

    Fields inherited from class org.springframework.security.web.authentication.rememberme.AbstractRememberMeServices

    DEFAULT_PARAMETER, logger, messages, SPRING_SECURITY_REMEMBER_ME_COOKIE_KEY, TWO_WEEKS_S
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixRememberMeServices(String key, org.springframework.security.core.userdetails.UserDetailsService userDetailsService, org.springframework.security.web.authentication.rememberme.PersistentTokenRepository tokenRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    enhanceSession(jakarta.servlet.http.HttpSession session)
     
    protected void
    onLoginSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication successfulAuthentication)
     
    protected boolean
    rememberMeRequested(jakarta.servlet.http.HttpServletRequest request, String parameter)
     

    Methods inherited from class org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices

    generateSeriesData, generateTokenData, logout, processAutoLoginCookie, setSeriesLength, setTokenLength, setTokenValiditySeconds

    Methods inherited from class org.springframework.security.web.authentication.rememberme.AbstractRememberMeServices

    afterPropertiesSet, autoLogin, cancelCookie, createSuccessfulAuthentication, decodeCookie, encodeCookie, extractRememberMeCookie, getAuthenticationDetailsSource, getCookieName, getKey, getParameter, getTokenValiditySeconds, getUserDetailsService, loginFail, loginSuccess, onLoginFail, setAlwaysRemember, setAuthenticationDetailsSource, setAuthoritiesMapper, setCookie, setCookieDomain, setCookieName, setMessageSource, setParameter, setUserDetailsChecker, setUseSecureCookie

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JmixRememberMeServices

      public JmixRememberMeServices(String key, org.springframework.security.core.userdetails.UserDetailsService userDetailsService, org.springframework.security.web.authentication.rememberme.PersistentTokenRepository tokenRepository)
  • Method Details

    • rememberMeRequested

      protected boolean rememberMeRequested(jakarta.servlet.http.HttpServletRequest request, String parameter)
      Overrides:
      rememberMeRequested in class org.springframework.security.web.authentication.rememberme.AbstractRememberMeServices
    • onLoginSuccess

      protected void onLoginSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication successfulAuthentication)
      Overrides:
      onLoginSuccess in class org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices
    • enhanceSession

      protected void enhanceSession(jakarta.servlet.http.HttpSession session)