public class MemorySessionRegistryImpl extends Object implements org.springframework.security.core.session.SessionRegistry, org.springframework.context.ApplicationListener<org.springframework.security.core.session.SessionDestroyedEvent>
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
MemorySessionRegistryImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Object> |
getAllPrincipals() |
List<org.springframework.security.core.session.SessionInformation> |
getAllSessions(Object principal,
boolean includeExpiredSessions) |
org.springframework.security.core.session.SessionInformation |
getSessionInformation(String sessionId) |
void |
onApplicationEvent(org.springframework.security.core.session.SessionDestroyedEvent event) |
void |
refreshLastRequest(String sessionId) |
void |
registerNewSession(String sessionId,
Object principal) |
void |
removeSessionInformation(String sessionId) |
public List<Object> getAllPrincipals()
getAllPrincipals 在接口中 org.springframework.security.core.session.SessionRegistrypublic List<org.springframework.security.core.session.SessionInformation> getAllSessions(Object principal, boolean includeExpiredSessions)
getAllSessions 在接口中 org.springframework.security.core.session.SessionRegistrypublic org.springframework.security.core.session.SessionInformation getSessionInformation(String sessionId)
getSessionInformation 在接口中 org.springframework.security.core.session.SessionRegistrypublic void onApplicationEvent(org.springframework.security.core.session.SessionDestroyedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.security.core.session.SessionDestroyedEvent>public void refreshLastRequest(String sessionId)
refreshLastRequest 在接口中 org.springframework.security.core.session.SessionRegistrypublic void registerNewSession(String sessionId, Object principal)
registerNewSession 在接口中 org.springframework.security.core.session.SessionRegistrypublic void removeSessionInformation(String sessionId)
removeSessionInformation 在接口中 org.springframework.security.core.session.SessionRegistryCopyright © 2018 江苏南大先腾信息产业股份有限公司. All rights reserved.