java.lang.Object
tr.com.havelsan.javarch.oauth.ldap.starter.authentication.service.HvlOAuthLdapServiceImpl
All Implemented Interfaces:
HvlOAuthLdapService

@Service public class HvlOAuthLdapServiceImpl extends Object implements HvlOAuthLdapService
The class which implements HvlOAuthLdapServiceImpl.
  • Constructor Details

    • HvlOAuthLdapServiceImpl

      public HvlOAuthLdapServiceImpl(HvlLdapProvider ldapProvider, HvlLdapOuProvider ldapOuProvider)
      Instantiates a new HvlOAuthLdapServiceImpl.
      Parameters:
      ldapProvider - the ldap service
      ldapOuProvider - 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 interface HvlOAuthLdapService
      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 interface HvlOAuthLdapService
      Parameters:
      type - the type
      Returns:
      HvlLdapGroupModel model