使用Liberty 18.0.0.1集体设置。我有一个自定义TAI,可以使用自定义缓存键创建主题。这是与经典的单元格开箱即用的,但是在我的集体中,当在一台服务器上进行身份验证时,然后将另一台服务器(在同一集合中(强加了一个新的身份验证。
做了一些跟踪,理性似乎很清楚:
[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
使用自定义缓存键时,这意味着该主题中有一些自定义内容,我们无法用LTPA令牌重新创建此主题。自由身份验证缓存不与其他服务器共享。
问候,ut le