@RestController public class AuthController extends Object
AuthController
used to handle all the authentication requests.Constructor and Description |
---|
AuthController() |
Modifier and Type | Method and Description |
---|---|
AuthResponseDTO |
authenticateIndividual(AuthRequestDTO authrequestdto,
org.springframework.validation.Errors errors,
String partnerId,
String mispLK)
authenticateRequest - method to authenticate request.
|
@PostMapping(path="/{Auth-Partner-ID}/{MISP-LK}", consumes="application/json", produces="application/json") public AuthResponseDTO authenticateIndividual(@Validated @RequestBody AuthRequestDTO authrequestdto, org.springframework.validation.Errors errors, @PathVariable(value="Auth-Partner-ID") String partnerId, @PathVariable(value="MISP-LK") String mispLK) throws IdAuthenticationAppException, IdAuthenticationDaoException, IdAuthenticationBusinessException
authrequestdto
- - Authenticate Requesterrors
- the errorsIdAuthenticationAppException
- the id authentication app exceptionIdAuthenticationDaoException
- the id authentication dao exceptionIdAuthenticationBusinessException
Copyright © 2020. All rights reserved.