【问题标题】:How authenticate against LDAP in HTML如何在 HTML 中针对 LDAP 进行身份验证
【发布时间】:2015-07-28 06:18:42
【问题描述】:

我不是 html 专家。我在网上找到了一个简单的身份验证表单。我的问题是我将身份验证服务器放在哪里。当用户名和密码验证通过后,我想打开其他 index.html

LDAP 配置:
LDAP 注册表位置 - ldap://pages.sysaid.com:389

              <!DOCTYPE html>
              <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"><![endif]-->
              <!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
              <!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
              <!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
              <head>
              <meta charset="utf-8">
              <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
              <title>Login Form</title>
              <link rel="stylesheet" href="css/style.css">
              <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
              </head>
              <body>
              <section class="container">
              <div class="login">
                <h1>Login to Web App</h1>
               <form method="post" action="index.html">
              <p><input type="text" name="login" value=""      placeholder="Username or Email"></p>
             <p><input type="password" name="password" value="" placeholder="Password"></p>
    <p class="remember_me">
      <label>
        <input type="checkbox" name="remember_me" id="remember_me">
        Remember me on this computer
      </label>
    </p>
       <p class="submit"><input type="submit" name="commit" value="Login"></p>
       </form>
       </div>

       <div class="login-help">
      <p>Forgot your password? <a href="index.html">Click here to reset it</a>.</p>
   </div>
   </section>

      <section class="about">
     <p class="about-links">
     <a href="http://www.cssflow.com/snippets/login-form" target="_parent">View Article</a>
     <a href="http://www.cssflow.com/snippets/login-form.zip" target="_parent">Download</a>
    </p>
    <p class="about-author">
     &copy; 2012&ndash;2013 <a href="http://thibaut.me" target="_blank">Thibaut Courouble</a> -
      <a href="http://www.cssflow.com/mit-license" target="_blank">MIT License</a><br>
    Original PSD by <a href="http://www.premiumpixels.com/freebies/clean-simple-login-form-psd/" target="_blank">Orman Clark</a>
  </section>
  </body>
  </html>

【问题讨论】:

    标签: html ldap


    【解决方案1】:

    这与 html 完全无关。 通常您使用的 Web 服务器会提供不同类型的身份验证机制。

    如果您告诉我们您使用哪种网络服务器,我们可以为您提供帮助

    【讨论】:

    猜你喜欢
    • 2011-01-11
    • 2012-12-30
    • 2021-09-02
    • 2018-03-11
    • 1970-01-01
    • 2016-01-28
    • 1970-01-01
    • 2016-07-26
    • 2015-01-24
    相关资源
    最近更新 更多