You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Obtain sqljdbc_auth.dll from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774


  1. Depending on your JDK/Java used, select the correct bit architecture (x86 or x64), make a reference to it under the variable named -Djava.library.path from your joget-start.bat file. Example:-

    ขึ้นอยู่กับ JDK / Java ที่คุณใช้เลือกแบบที่ถูกต้อง (x86 หรือ x64) ทำการอ้างอิงภายใต้ตัวแปรชื่อ -Djava.library.path จากไฟล์ joget-start.bat ของคุณ ตัวอย่าง:-

    set JAVA_OPTS=-XX:MaxPermSize=128m -Xmx512M -Dwflow.home=./wflow/ -Djava.library.path=E:/Downloads/sqljdbc_4.0.2206.100_enu/sqljdbc_4.0/enu\/auth/x86
  2. Edit the datasource properties file. Modify the workflowUrl attribute.
    Add in the "integratedSecurity=true" attribute. Example:-

    แก้ไขไฟล์คุณสมบัติแหล่งข้อมูล ปรับเปลี่ยนแอตทริบิวต์ workflowUrl

    เพิ่มในแอตทริบิวต์ "integratedSecurity = true" ตัวอย่าง:-

    workflowUrl=jdbc\:sqlserver\://192.168.2.213\:1433;DatabaseName\=jwdb;integratedSecurity\=true
  3. You may now empty the workflowPassword attribute. workflowUser attribute must still contain a string but it can be anything.

    ตอนนี้คุณสามารถล้างข้อมูลแอตทริบิวต์ workflowPassword แอ็ตทริบิวต์ workflowUser ต้องยังคงมีสตริง แต่สามารถเป็นอะไรก็ได้

  4. Joget will now start up using the MS SQL Database using the same Windows credential it started up with.

    Joget จะเริ่มต้นใช้ฐานข้อมูล MS SQL โดยใช้ข้อมูลรับรอง Windows เดียวกับที่เริ่มต้น

Make sure that the Windows account used to start up Joget has privilege to access the specified database.

ตรวจสอบให้แน่ใจว่าบัญชี Windows ที่ใช้ในการเริ่มต้น Joget มีสิทธิ์เข้าถึงฐานข้อมูลที่ระบุ

This article is only valid for server running on Windows environment and not on others.

Read on why you can't run this on Linux at https://connect.microsoft.com/SQLServer/feedback/details/275681/sql-jdbc-integrated-security-with-domain-account-from-linux


บทความนี้ใช้ได้เฉพาะกับเซิร์ฟเวอร์ที่ทำงานบน Windows ไม่ใช่กับอย่างอื่น  อ่านสาเหตุที่คุณไม่สามารถรันบน Linux ได้ที่ https://connect.microsoft.com/SQLServer/feedback/details/275681/sql-jdbc-integrated-security-with-domain-account-from-linux

  • No labels