Interface HvlLdapRestService
- All Known Implementing Classes:
HvlOAuthLdapRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="${hvl.oauth.ldap.service.name:ldapPublicRestService}",
path="${hvl.oauth.ldap.service.base.path:/ldap}",
url="${hvl.oauth.ldap.service.url}")
public interface HvlLdapRestService
A restful service which provides specific methods for ldap operations.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<Void>
authenticate
(@NotNull @Valid HvlLdapAuthenticationModel authenticationModel) Authenticate by using authentication model.getObjectClassListByLdapType
(@NotBlank @Size(max=50) String type) Get object class list.
-
Method Details
-
authenticate
@PostMapping(path="/authenticate", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> authenticate(@NotNull @Valid @RequestBody @NotNull @Valid HvlLdapAuthenticationModel authenticationModel) Authenticate by using authentication model.- Parameters:
authenticationModel
- the authentication request model- Returns:
- the hvl response
-
getObjectClassListByLdapType
@GetMapping(path="/object-class/type/{type}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<String>> getObjectClassListByLdapType(@NotBlank @Size(max=50) @PathVariable("type") @NotBlank @Size(max=50) String type) Get object class list.- Parameters:
type
- the type- Returns:
- the hvl response
-