In this post under Passay, I will explain with example the purpose and how to use “IllegalCharacterRule” class. In the previous, I explained the purpose of “AllowedCharacterRule” class. The class “IllegalCharacterRule” is the opposite of “AllowedCharacterRule”. In “AllowedCharacterRule” we create an array of characters that should be allowed in the password text. In other words…… Continue reading IllegalCharacterRule example
Month: June 2024
AllowedCharacterRule example
In this post under Passay, I will explain with example the purpose and how to use “AllowedCharacterRule” class. When we ask a user to come up with a password, we can restrict them to use only those characters that are whitelisted by us. In that case, we can have rule with the help of Passay’s…… Continue reading AllowedCharacterRule example
Retrieving attribute of an ldap entry
In this post under Java LDAP, I will show with example how to retrieve an attribute of an existing ldap entry. For our example we will take the below ldap entry. Please note in the above screenshot, all the attributes have only one value except attribute “telephoneNumber” which has 2 values. Below is the complete…… Continue reading Retrieving attribute of an ldap entry