使用 liberty 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.
那么为什么 server1 的身份验证缓存对 server2 不可见?
/bwa