将redhat bpm(pam)套件与RH-SSO集成

时间:2019-06-27 00:42:12

标签: single-sign-on redhat

将RH-SSO与kie-server和商务中心集成时出现以下错误:

05:35:57,493信息[org.kie.server.controller.websocket.client.WebSocketKieServerControllerImpl](KieServer-ControllerConnect)Kie Server使用默认的REST机制指向非Web套接字控制器'http://localhost:8080/business-central/rest/controller' 05:35:57,494警告[org.kie.server.common.KeyStoreHelperUtil](KieServer-ControllerConnect)无法加载密钥存储。使用配置中的密码

05:35:57,503错误[io.undertow.request](默认任务34)UT005023:对/ business-central / rest / controller / server / default-kieserver的异常处理请求:java.lang.IllegalStateException:应该永远不会在Keycloak流中被调用         在org.keycloak.adapters.undertow.KeycloakServletExtension $ 2.verify(KeycloakServletExtension.java:167)         在io.undertow.security.impl.SecurityContextImpl.login(SecurityContextImpl.java:198)         在io.undertow.servlet.spec.HttpServletRequestImpl.login(HttpServletRequestImpl.java:442)         在org.uberfire.ext.security.server.ServletSecurityAuthenticationService.login(ServletSecurityAuthenticationService.java:69)         org.uberfire.ext.security.server.ServletSecurityAuthenticationService $ Proxy $ _ $$ _ WeldClientProxy.login(未知来源)         在org.uberfire.ext.security.server.BasicAuthSecurityFilter.authenticate(BasicAuthSecurityFilter.java:118)         在org.uberfire.ext.security.server.BasicAuthSecurityFilter.doFilter(BasicAuthSecurityFilter.java:69)         在io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)         在io.undertow.servlet.handlers.FilterHandler $ FilterChainImpl.doFilter(FilterHandler.java:131)         在org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110)         在io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)         在io.undertow.servlet.handlers.FilterHandler $ FilterChainImpl.doFilter(FilterHandler.java:131)         在org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:70)         在io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)         在io.undertow.servlet.handlers.FilterHandler $ FilterChainImpl.doFilter(FilterHandler.java:131)         在io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)         在io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)         在io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)         在org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)处         在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)         在org.keycloak.adapters.undertow.UndertowAuthenticatedActionsHandler.handleRequest(UndertowAuthenticatedActionsHandler.java:66)         在io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)         在io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)         在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)         在io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)         在io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)         在io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)         在io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)         在io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)         在io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)         在io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)         在io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)         在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)         在org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)处         在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)         在org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)         在org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69)         在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)         在io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)         在io.undertow.servlet.handlers.ServletInitialHandler.access $ 100(ServletInitialHandler.java:81)         在io.undertow.servlet.handlers.ServletInitialHandler $ 2.call(ServletInitialHandler.java:138)         在io.undertow.servlet.handlers.ServletInitialHandler $ 2.call(ServletInitialHandler.java:135)         在io.undertow.servlet.core.ServletRequestContextThreadSetupAction $ 1.call(ServletRequestContextThreadSetupAction.java:48)         在io.undertow.servlet.core.ContextClassLoaderSetupAction $ 1.call(ContextClassLoaderSetupAction.java:43)         在org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda $ create $ 0(SecurityContextThreadSetupAction.java:105)         在org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService $ UndertowThreadSetupAction.lambda $ create $ 0(UndertowDeploymentInfoService.java:1508)         在org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService $ UndertowThreadSetupAction.lambda $ create $ 0(UndertowDeploymentInfoService.java:1508)         在org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService $ UndertowThreadSetupAction.lambda $ create $ 0(UndertowDeploymentInfoService.java:1508)         在org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService $ UndertowThreadSetupAction.lambda $ create $ 0(UndertowDeploymentInfoService.java:1508)         在io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)

05:35:57,566警告[org.kie.server.services.impl.controller.DefaultRestControllerImpl](KieServer-ControllerConnect)与http://localhost:8080/business-central/rest/controller/server/default-kieserver处的控制器同步时遇到异常错误将PUT请求发送到{{ 3}}响应码500

我在RH-SSO的安全领域中创建了两个客户端。一种用于业务中心,另一种用于kie服务器。业务中央ui正在打开,但未将kie服务器作为默认服务器加载。

有人曾经尝试过这种整合吗?

EAP的独立文件具有以下配置: PAM-SSO安全 http://localhost:8080/business-central/rest/controller/server/default-kieserver 外部业务中心 PAM-SSO安全  http://localhost:8180/auth外部 凯服务器

0 个答案:

没有答案