The following can give you a better understanding of the properties used to configure primary user stores:
Using properties
...
Property name
...
Description
...
Connection URL to the LDAP server. In the case of default LDAP in Carbon, the port is mentioned in the carbon.xml
file and a reference to that port is mentioned in the above configuration.
...
This is the username used to connect to the database. This user must have permissions to read the user list and user's attributes. This property is used to perform various operations on the external LDAP. In the case of ReadOnlyLDAPUserStoreManager
, use this for search operations such as user searches or group searches on the external LDAP user store. This user does not have to be an administrator in the LDAP user store or have an administrator role in the WSO2 product that you are using, but this user MUST be able to do search operations on the LDAP user store. The value we put here is the DN (Distinguish Name
) attribute of the user. Note that this is a mandatory configuration.
...
DN of the context or object under which the user entries are stored in the LDAP. In this case it is the "users" container.
Info |
---|
Different databases have different search bases. |
...
This is the attribute used for uniquely identifying a user entry. Users can be authenticated using their email address, uid etc.
Info |
---|
The name of the attribute is considered as the username. |
...
PasswordJavaScriptRegEx
...
ReadOnly
...
IsEmailUserName
...
DomainCalculation
...
PasswordDigest
...
Digesting algorithm of the password. Has values such as, PLAIN_TEXT, SHA etc.
...
StoreSaltedPassword
...
Indicates whether to salt the password.
...
UserNameUniqueAcrossTenants
...
An attribute used for multi-tenancy.
...
PasswordJavaRegEx
...
A regular expression to validate passwords. By default, strings having a length between 5 to 30 with non-empty characters are allowed.
...
PasswordJavaScriptRegEx
...
UsernameJavaRegEx
...
RolenameJavaRegEx
...
RolenameJavaScriptRegEx
...
MultiTenantRealmConfigBuilder
...
Include Page | ||||
---|---|---|---|---|
|