Package io.jmix.core.rememberme
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
ConstructorDescriptionJmixRememberMeServices
(String key, org.springframework.security.core.userdetails.UserDetailsService userDetailsService, org.springframework.security.web.authentication.rememberme.PersistentTokenRepository tokenRepository) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
enhanceSession
(javax.servlet.http.HttpSession session) protected void
onLoginSuccess
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication successfulAuthentication) protected boolean
rememberMeRequested
(javax.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
-
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(javax.servlet.http.HttpServletRequest request, String parameter) - Overrides:
rememberMeRequested
in classorg.springframework.security.web.authentication.rememberme.AbstractRememberMeServices
-
onLoginSuccess
protected void onLoginSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication successfulAuthentication) - Overrides:
onLoginSuccess
in classorg.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices
-
enhanceSession
protected void enhanceSession(javax.servlet.http.HttpSession session)
-