This article describes how to use LDAP to Authenticate users.
If you want to use LDAP to authenticate users you will need to configure uvuyo to use LDAP using the properties files. The following table lists the properties that need to be set to configure ldap
Property | Default Value | Description |
---|---|---|
uvuyo.security.ldap.enabled | false | Use this property to switch on / off the ldap authentication. If set to true, the ldap authentication is switched on. If set to false the ldap authentication is switched to off |
uvuyo.security.ldap.url | ldap://localhost:10389 | The url to the ldap server |
uvuyo.security.ldap.bind | DN=uid=admin,ou=users,dc=2yetis,dc=net | The DN used to bind to the ldap server. This DN is used to connect to the ldap server. It needs the appropriate rights so that it can query the server to find users and groups |
uvuyo.security.ldap.credentials | admin | The credentials used to login to the ldap server. |
uvuyo.security.ldap.userBaseDN | dc=2yetis,dc=net | The base DN used to search for users in the dlap server. This property is used together with the user filter to identify users |
uvuyo.security.ldap.userFilter | (uid={0}) | The filter used to find the appropriate user on the ldap server. The {0} is replaces with the actual userid used while logging into uvuyo |
uvuyo.security.ldap.usernameAttribute | cn | The attribute to use as the username when a user is found. The username will be displayed in the UI after login in |
uvuyo.securrity.ldap.allowUsers | This attribute will set the users that are allowed to autheticate. If this property is empty all users found by the filter confugured above are allowed to connect to uvuyo |