当我在 Liberty 配置文件中启用 ldapregistry 并将 appcentre 配置为使用“用户 S”时,登录时出现以下错误:
com.ibm.ws.security.registry.RegistryException: com.ibm.websphere.wim.model.Entity cannot be cast to com.ibm.websphere.wim.model.Group
at com.ibm.ws.wim.registry.WIMUserRegistry.getUniqueGroupIdsForUser(WIMUserRegistry.java:378)
at com.ibm.ws.security.credentials.wscred.internal.WSCredentialProvider.getUniqueGroupAccessIds(WSCredentialProvider.java:219)
at com.ibm.ws.security.credentials.wscred.internal.WSCredentialProvider.createUserWSCredential(WSCredentialProvider.java:164)
at com.ibm.ws.security.credentials.wscred.internal.WSCredentialProvider.setCredential(WSCredentialProvider.java:138)
at com.ibm.ws.security.credentials.wscred.internal.WSCredentialProvider.setCredential(WSCredentialProvider.java:96)
at com.ibm.ws.security.credentials.internal.CredentialsServiceImpl.setCredentials(CredentialsServiceImpl.java:57)
-Worklight Server V6.0 (WAS Liberty V8.5.5)
不确定这是 Worklight 还是 Liberty 问题,有其他人以前见过吗?