0

使用 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

4

1 回答 1

0

当您使用自定义缓存键时,这意味着主题中有一些自定义内容,我们无法使用 ltpa 令牌重新创建此主题。Liberty 认证缓存不与其他服务器共享。

问候, Ut Le

于 2018-04-18T20:08:46.807 回答