无法从RESTdebugger访问RTC(Rational Team Concert),embarcadero

时间:2018-03-29 06:45:13

标签: c++ delphi

无法对RTC进行身份验证,工具抱怨说“authfailed”,虽然凭据是正确的。 但是,相同的请求与Mozilla附加组件中的“REST客户端”一起正常工作。请参阅下面的请求快照 enter image description here

以下是上述请求的响应正文

<script type="text/javascript">
    /* <![CDATA[ */
        dojo.addOnLoad( function() {
            net.jazz.ajax.ui.PlatformUI.createAndRunWorkbench("com.ibm.team.rtc.web.rationalTeamConcertWeb");
        });
    /* ]]> */
    </script>

以下是embarcadero的Rest调试器

enter image description here

REST调试器的主体如下所示

<!DOCTYPE html>
<!--
  Licensed Materials - Property of IBM
  (c) Copyright IBM Corporation 2005, 2015. All Rights Reserved.

  Note to U.S. Government Users Restricted Rights:
  Use, duplication or disclosure restricted by GSA ADP Schedule
  Contract with IBM Corp.
-->

<html >
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<title></title>

<link type="text/css" rel="stylesheet" href="/ccm/web/_style/?include=B~&etag=FtegUJp7asn_en_US&_proxyURL=%2Fccm&ss=MlBwU">
<link rel="shortcut icon" href="/ccm/web/net.jazz.ajax/jazz.ico">

<style type="text/css">
#net-jazz-ajax-NoScriptMessage {
    width: 100%;
    color: #D0D0D0;
    font-size: 2em;
    text-align: center;
    position: absolute;
    top: 1%;
    z-index: 999;
}
</style>

</head>

<body class="claro">
    <noscript><div id="net-jazz-ajax-NoScriptMessage">Javascript is either disabled or not available in your Browser</div></noscript>
    <div id="net-jazz-ajax-InitialLoadMessage">Loading...</div>
    <div id="net-jazz-ajax-WorkbenchRoot"></div>

    <script type="text/javascript">
        djConfig = {
            isDebug: false,
            layout: "",
            usePlainJson: true,
            baseUrl: "/ccm/web/dojo/",
            locale: "en-us",
            localizationComplete: true
        };
        /*null*/
        net = {jazz: {ajax: {}}};
        net.jazz.ajax._contextRoot = "/ccm";
        net.jazz.ajax._appPath = "/ccm/auth/authfailed";
        net.jazz.ajax._webuiPrefix = "/web/";
    </script>

    <script type="text/javascript" src="/ccm/web/_js/?include=B~&etag=FtegUJp7asn_en_US&_proxyURL=%2Fccm&ss=MlBwU&locale=en-us"></script>

<script type="text/javascript">
require("dojo/main").getObject('jazz.core.loader', true)._serverStartup="MlBwU";
require("dojo/main").getObject('jazz.core.loader',true)._loaded=["B"];
</script>


    <script type="text/javascript">
    /* <![CDATA[ */
        dojo.addOnLoad( function() {
            net.jazz.ajax.ui.PlatformUI.createAndRunWorkbench("net.jazz.web.app.authfailed");
        });
    /* ]]> */
    </script>
</body>
</html>

Delphi版本是10.2

0 个答案:

没有答案