Class HvlAuthOidcRedisSessionRegistry
java.lang.Object
org.springframework.security.core.session.SessionRegistryImpl
tr.com.havelsan.javarch.oauth.auth.starter.oidc.redis.session.HvlAuthOidcRedisSessionRegistry
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.security.core.session.AbstractSessionEvent>
,org.springframework.security.core.session.SessionRegistry
@Component
public class HvlAuthOidcRedisSessionRegistry
extends org.springframework.security.core.session.SessionRegistryImpl
The auth oidc redis session registry.
-
Field Summary
Fields inherited from class org.springframework.security.core.session.SessionRegistryImpl
logger
-
Constructor Summary
ConstructorDescriptionHvlAuthOidcRedisSessionRegistry
(HvlSessionDataRedisSupportService<?> sessionDataRedisUserSupportService) Instantiates a new HvlAuthOidcRedisSessionRegistry. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(org.springframework.security.core.session.AbstractSessionEvent event) Methods inherited from class org.springframework.security.core.session.SessionRegistryImpl
getAllPrincipals, getAllSessions, getSessionInformation, refreshLastRequest, registerNewSession, removeSessionInformation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
HvlAuthOidcRedisSessionRegistry
public HvlAuthOidcRedisSessionRegistry(HvlSessionDataRedisSupportService<?> sessionDataRedisUserSupportService) Instantiates a new HvlAuthOidcRedisSessionRegistry.- Parameters:
sessionDataRedisUserSupportService
- the session data redis user support service
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.security.core.session.AbstractSessionEvent event) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.security.core.session.AbstractSessionEvent>
- Overrides:
onApplicationEvent
in classorg.springframework.security.core.session.SessionRegistryImpl
-