簡體   English   中英

自定義緩存鍵未通過身份驗證緩存。 需要重新挑戰用戶以再次登錄

[英]Custom cache key missed authentication cache. Need to re-challenge the user to login again

使用自由18.0.0.1集體建立。 我有一個自定義的TAI,可使用自定義的緩存鍵創建主題。 這對於WAS Classic Cell來說是開箱即用的,但是在我的集體中,當在一台服務器上進行身份驗證,然后訪問另一台服務器(在同一集體中)時,將強制執行新的身份驗證。

進行了一些追蹤和原因似乎很清楚:

 [4/2/18 18:02:08:659 CEST] 00000803 id=93e3914a com.ibm.ws.security.authentication.AuthenticationException   < <init> Exit  
   com.ibm.ws.security.authentication.AuthenticationException: Custom cache key missed authentication cache. Need to re-challenge the user to login again.

跟蹤的較早部分清楚地表明ltpa令牌已正常運行,已檢索了自定義鍵,但是

[4/2/18 18:02:08:659 CEST] 00000803 id=aea8ae88 com.ibm.ws.security.token.ltpa.internal.LTPATokenService     < recreateTokenFromBytes Exit  
  /VRnC blabla <the rest removed by me ..>
 [4/2/18 18:02:08:659 CEST] 00000803 id=         com.ibm.ws.security.token.internal.TokenManagerImpl          3 Successfully recreated token using token service com.ibm.ws.security.token.ltpa.internal.LTPATokenService@aea8ae88.

那么,為什么server2看不到server1的身份驗證緩存?

/ bwa

使用自定義緩存鍵時,這意味着主題中存在一些自定義內容,因此我們無法使用ltpa令牌重新創建此主題。 Liberty身份驗證緩存不與其他服務器共享。

問候,Ut Le

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM