วันเสาร์ที่ 21 มิถุนายน พ.ศ. 2557

วิธี Login หรือ link เข้า pentaho แบบไม่ผ่านหน้าlogin



วิธี Login หรือ link เข้า pentaho แบบไม่ผ่านหน้า login  Pentaho มีสองแบบคือ
1 แบบ GET ง่ายแต่ไม่ปลอดภัยเพราะจะแสดง user password บน URL
<a href="http://localhost:8080/pentaho/Master-Schedule-Tracking-Dashboard/View/index.htm?userid=joe&password=password">Link</a>


2 แบบ POST ปล่อยภัย ทำได้ทั้ง Button หรือ link ธรรมดา
<form method="post" action="http://localhost:8080/pentaho/Master-Schedule-Tracking-Dashboard/View/index.htm">

       <input type="text" id="userid" name="userid" value="">
       <input type="text" id="password" name="password" value="">
       <input type="submit" name="submit" value="submit">
      
</form>


1 ความคิดเห็น: