繁体   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