mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
feat: support LDAP with SSL/TLS enabled (#1655)
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
import React from "react";
|
||||
import {Button, Card, Col, Input, InputNumber, Row, Select} from "antd";
|
||||
import {Button, Card, Col, Input, InputNumber, Row, Select, Switch} from "antd";
|
||||
import {EyeInvisibleOutlined, EyeTwoTone} from "@ant-design/icons";
|
||||
import * as LddpBackend from "./backend/LdapBackend";
|
||||
import * as OrganizationBackend from "./backend/OrganizationBackend";
|
||||
@ -146,6 +146,16 @@ class LdapEditPage extends React.Component {
|
||||
}} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row style={{marginTop: "20px"}} >
|
||||
<Col style={{lineHeight: "32px", textAlign: "right", paddingRight: "25px"}} span={3}>
|
||||
{Setting.getLabel(i18next.t("ldap:Enable SSL"), i18next.t("ldap:Enable SSL - Tooltip"))} :
|
||||
</Col>
|
||||
<Col span={21} >
|
||||
<Switch checked={this.state.ldap.enableSsl} onChange={checked => {
|
||||
this.updateLdapField("enableSsl", checked);
|
||||
}} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row style={{marginTop: "20px"}}>
|
||||
<Col style={{lineHeight: "32px", textAlign: "right", paddingRight: "25px"}} span={3}>
|
||||
{Setting.getLabel(i18next.t("ldap:Base DN"), i18next.t("ldap:Base DN - Tooltip"))} :
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "KN",
|
||||
"Edit LDAP": "LDAP bearbeiten",
|
||||
"Email": "E-Mail",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "Gruppen Id",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Letzter Sync",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "Edit LDAP",
|
||||
"Email": "Email",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "Group Id",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Last Sync",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "Editar LDAP",
|
||||
"Email": "Email",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "Group Id",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Última Sincronización",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "Modifier LDAP",
|
||||
"Email": "Courriel",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "Identifiant du groupe",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Dernière synchronisation",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "LDAP を編集",
|
||||
"Email": "Eメールアドレス",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "グループ ID",
|
||||
"ID": "ID",
|
||||
"Last Sync": "前回の同期",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "Edit LDAP",
|
||||
"Email": "Email",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "Group Id",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Last Sync",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "КНР",
|
||||
"Edit LDAP": "Редактировать LDAP",
|
||||
"Email": "Почта",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "ID группы",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Последняя синхронизация",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "Edit LDAP",
|
||||
"Email": "Email",
|
||||
"Enable SSL": "Enable SSL",
|
||||
"Enable SSL - Tooltip": "Enable SSL - Tooltip",
|
||||
"Group Id": "Group Id",
|
||||
"ID": "ID",
|
||||
"Last Sync": "Last Sync",
|
||||
|
@ -288,6 +288,8 @@
|
||||
"CN": "CN",
|
||||
"Edit LDAP": "编辑LDAP",
|
||||
"Email": "电子邮件",
|
||||
"Enable SSL": "启用 SSL",
|
||||
"Enable SSL - Tooltip": "启用 SSL",
|
||||
"Group Id": "组ID",
|
||||
"ID": "ID",
|
||||
"Last Sync": "最近同步",
|
||||
|
Reference in New Issue
Block a user