Interface HvlLdapProvider
- All Known Implementing Classes:
HvlLdapProviderImpl
@Validated
public interface HvlLdapProvider
The class is a service using for ldap common operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(@NotBlank String username, @NotBlank String password) Authenticate using username and password.void
delete
(@NotNull HvlLdapBaseModel baseModel) Deletes record.getObjectClassList
(@NotNull HvlLdapTypeEnum ldapEnum) Gets ou list.void
rename
(@NotNull HvlLdapRenameModel renameModel) Renames record.
-
Method Details
-
getObjectClassList
Gets ou list.- Parameters:
ldapEnum
- the ldap enum- Returns:
- the ou list
- Throws:
HvlLdapException
- the hvl ldap exception
-
authenticate
void authenticate(@NotBlank @NotBlank String username, @NotBlank @NotBlank String password) throws HvlLdapException Authenticate using username and password.- Parameters:
username
- kullanici adipassword
- plain password- Throws:
HvlLdapException
- the HvlLdapException
-
rename
Renames record.- Parameters:
renameModel
- the rename model- Throws:
HvlLdapException
-
delete
Deletes record.- Parameters:
baseModel
- the base model- Throws:
HvlLdapException
-