错误-{org.jaggeryjs.modules.sso.common.util.Util}验证签名时出错

时间:2018-10-26 10:02:04

标签: wso2 wso2iot

从wso2 IoT 3.2.0存储应用程序安装Android Catalyst应用程序时出现以下错误:

[IoT-Core]错误-{org.jaggeryjs.modules.sso.common.util.Util}验证签名时出错 org.opensaml.xml.validation.ValidationException:无法根据签名评估密钥         在org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:74)         在org.jaggeryjs.modules.sso.common.util.Util.validateSignature(Util.java:404)         在org.jaggeryjs.modules.sso.common.util.Util.validateSignature(Util.java:327)         在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处         在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)         在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         在java.lang.reflect.Method.invoke(Method.java:498)         在org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)         在org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)         在org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)         在org.jaggeryjs.rhino..scripts.c0._c_anonymous_3(/scripts/sso.client.js:64)         在org.jaggeryjs.rhino..scripts.c0.call(/scripts/sso.client.js)         在org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)         在org.jaggeryjs.rhino..scripts.c0._c_anonymous_15(/scripts/sso.client.js:253)         在org.jaggeryjs.rhino..scripts.c0.call(/scripts/sso.client.js)         在org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)         在org.jaggeryjs.rhino.social.controllers.c2._c_anonymous_1(/social/controllers/acs.jag:77)         在org.jaggeryjs.rhino.social.controllers.c2.call(/social/controllers/acs.jag)         在org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)         在org.jaggeryjs.rhino.social.controllers.c2._c_script_0(/social/controllers/acs.jag:20)         在org.jaggeryjs.rhino.social.controllers.c2.call(/social/controllers/acs.jag)         在org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)         在org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)         在org.jaggeryjs.rhino.social.controllers.c2.call(/social/controllers/acs.jag)         在org.jaggeryjs.rhino.social.controllers.c2.exec(/social/controllers/acs.jag)         在org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)         在org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)         在org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)         在org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)         在org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)         在javax.servlet.http.HttpServlet.service(HttpServlet.java:650)         在javax.servlet.http.HttpServlet.service(HttpServlet.java:731)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)         在org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)         在org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)         在org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)         在org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)         在org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)         在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)         在org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)         在org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)         在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)         在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)         在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)         在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)         在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)         在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)         在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)         在org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)         在org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve $ 1.invoke(CarbonTomcatValve.java:47)         在org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)         在org.wso2.carbon.webapp.authenticator.framework.WebappAuthenticationValve.invoke(WebappAuthenticationValve.java:46)         在org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)         在org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)         在org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)         在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)         在org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)         在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)         在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)         在org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)         在org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:637)         在org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1770)         在org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1729)         在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)         在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)         在org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)         在java.lang.Thread.run(Thread.java:748) 由以下原因引起:org.apache.xml.security.signature.XMLSignatureException:签名长度不正确:得到了128,但预期是512 原始异常为java.security.SignatureException:签名长度不正确:得到了128,但预期为512         在org.apache.xml.security.algorithms.implementations.SignatureBaseRSA.engineVerify(SignatureBaseRSA.java:93)         在org.apache.xml.security.algorithms.SignatureAlgorithm.verify(SignatureAlgorithm.java:301)         在org.apache.xml.security.signature.XMLSignature.checkSignatureValue(XMLSignature.java:723)         在org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:69)

0 个答案:

没有答案