WSO2使用JDBC作为主数据存储

时间:2018-02-26 23:01:12

标签: encryption wso2 wso2is

我们正在尝试将WSO2 IS配置为使用SQL Server数据库作为默认主数据源。

我们已从文档中审核了以下指南:https://docs.wso2.com/display/IS500/Setting+up+MySQL https://docs.wso2.com/display/IS500/Configuring+a+JDBC+User+Store

我们运行命令wso2server.bat -Dsetup并且一切运行都没有问题,用户admin也存在于表dbo.UM_USER中,密码为“admin”

但是当我们尝试登录管理控制台时,我们收到以下错误:

  

[2015-01-08 22:31:03,647-0500]

管理员登录尝试失败'admin [-1234]'

我们还注意到租户ID是-1234。这是预期的默认值还是表明潜在的多租户错误?

在日志文件中,我找到了:

  

TID:[ - 1234] [] [2018-02-27 01:20:37,171] DEBUG {org.wso2.carbon.identity.application.common.processors.RandomPasswordProcessor} - 找不到随机密码容器的​​缓存密钥   TID:[ - 1] [] [2018-02-27 01:20:37,172] DEBUG {org.wso2.carbon.context.PrivilegedCarbonContext} - 解决租户域中的租户ID   TID:[ - 1234] [] [2018-02-27 01:20:37,172] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,173] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,173] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,174] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,175] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,175] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,176] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,177] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,177] DEBUG {org.wso2.carbon.identity.event.IdentityEventConfigBuilder} - 秘密解析器不存在。无法解析配置文件中的加密   TID:[ - 1234] [] [2018-02-27 01:20:37,179] DEBUG {org.wso2.carbon.idp.mgt.dao.CacheBackedIdPMgtDAO} - 为身份提供商LOCAL找到的缓存条目   TID:[ - 1234] [] [2018-02-27 01:20:37,179] DEBUG {org.wso2.carbon.identity.application.common.processors.RandomPasswordProcessor} - 找不到随机密码容器的​​缓存密钥   TID:[ - 1] [] [2018-02-27 01:20:37,179] DEBUG {org.wso2.carbon.context.PrivilegedCarbonContext} - 解析租户域中的租户ID   TID:[ - 1234] [] [2018-02-27 01:20:37,180] DEBUG {org.wso2.carbon.user.core.common.AbstractUserStoreManager} - 身份验证失败。提供了错误的用户名或密码。   TID:[ - 1234] [] [2018-02-27 01:20:37,180]警告{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 管理员登录尝试失败'admin [-1234]'在[ 2018-02-27 01:20:37,180 + 0300]   TID:[ - 1234] [] [2018-02-27 01:20:37,198] DEBUG {org.wso2.carbon.core.multitenancy.MultitenantAddressingBasedDispatcher} - [MessageContext:logID = f450ee3284096b972cdbd2e258325b986853f2e7012145d8]系统正在检查以下RelatesTo:金塔:UUID:d4d7fb9f-b19b-4feb-b88b-3378362a6e22   TID:[ - 1234] [] [2018-02-27 01:20:37,211] DEBUG {org.wso2.carbon.ui.CarbonUILoginUtil} - 身份验证失败...   org.wso2.carbon.core.common.AuthenticationException:访问用户授权信息时发生异常       在org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:255)

您可以看到配置文件并使用以下链接登录:

配置文件的链接wso2carbon.log

master-datasources link

配置文件user-mgt.xml的链接

user-mgt Link

日志文件wso2carbon.log的链接

wso2carbon log Link

0 个答案:

没有答案
相关问题