且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用WebSphere进行Worklight LTPA身份验证

更新时间:2023-12-03 20:00:16

请确认您已将文件命名为login.html和loginError.html。另请确认您已将这些文件放在已部署到服务器的war文件的根目录中。您可以展开已部署的war文件以进行双重检查。另外,请确保您的login.html文件具有有效的结构,例如提供的示例:

Please verify you have named the files login.html and loginError.html exactly. Please also verify you have placed these in the root of the war file that you have deployed to your server. You can expand the war file you have deployed to double check. Also make sure your login.html file has valid structure such as the example provided:

<html>
  <head>
    <title>Login</title>
  </head>
  <body>
    <form method="post" action="j_security_check">
      <input type="text"
             id="j_username"
             name="j_username"
             placeholder="User name" />
      <input type="password"
             id="j_password"
             name="j_password"
             placeholder="Password" />
      <input type="submit" id="login" name="login" value="Log In" />
    </form>
  </body>
</html>

以及loginError.html页面的结构:

As well as the structure of your loginError.html page:

<html>
  <head>
    <title>Login Error</title>
  </head>
  <body>
    An error occurred while trying to log in.
  </body>
</html>

有关详细说明和疑难解答,请查看以下内容:

For more detailed instructions and troubleshooting please look at the following:

LTPA培训模块:
http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/08_06_WebSphere_LTPA_based_authentication.pdf

LTPA信息中心说明
https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm .worklight.deploy.doc%2Fadmin%2Ft_configuring_WL_LTPA_realm.html