Class HvlOAuthLdapServiceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.ldap.starter.authentication.service.HvlOAuthLdapServiceImpl
- All Implemented Interfaces:
HvlOAuthLdapService
The class which implements
HvlOAuthLdapServiceImpl
.-
Constructor Summary
ConstructorDescriptionHvlOAuthLdapServiceImpl
(HvlLdapProvider ldapProvider, HvlLdapOuProvider ldapOuProvider) Instantiates a new HvlOAuthLdapServiceImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(@NotNull @Valid HvlLdapAuthenticationModel authenticationModel) Authenticate by using authentication model.getObjectClassListByLdapType
(@NotBlank @Size(max=50) String type) Gets Object class list by type.
-
Constructor Details
-
HvlOAuthLdapServiceImpl
Instantiates a new HvlOAuthLdapServiceImpl.- Parameters:
ldapProvider
- the ldap serviceldapOuProvider
- the ldap ou provider
-
-
Method Details
-
authenticate
public void authenticate(@NotNull @Valid @NotNull @Valid HvlLdapAuthenticationModel authenticationModel) Authenticate by using authentication model.- Specified by:
authenticate
in interfaceHvlOAuthLdapService
- Parameters:
authenticationModel
- the authentication request model
-
getObjectClassListByLdapType
public List<String> getObjectClassListByLdapType(@NotBlank @Size(max=50) @NotBlank @Size(max=50) String type) Gets Object class list by type.- Specified by:
getObjectClassListByLdapType
in interfaceHvlOAuthLdapService
- Parameters:
type
- the type- Returns:
- HvlLdapGroupModel model
-