Class LoginCacheAccess<K,V>
java.lang.Object
io.leandev.appfuse.security.auth.internal.LoginCacheAccess<K,V>
登入保護專用的 cache 邊界;不得包住密碼、帳號政策或 SQL 操作。
不改 Cache 的全域契約。每個曾失敗的操作都需實際成功,才宣告本用途恢復; 管理停用不算故障,也不清除先前的故障狀態。事件是盡力發布,不承諾通知送達。
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
-
Constructor Details
-
LoginCacheAccess
-
LoginCacheAccess
-
-
Method Details
-
setEventPublisher
public void setEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) -
get
-
put
-
remove
-