Hello Mohammad,
In addition to the guides provided by Dimitar, Please, find the documentaton how to connect AD with your AS Java:
Configuring the UME to Use an LDAP Directory as Data Source - Identity Management - SAP Library
Regards,
Donka Dimitrova