Class HvlAuthAuthenticatorServiceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.authenticator.service.HvlAuthAuthenticatorServiceImpl
- All Implemented Interfaces:
HvlAuthAuthenticatorService
@Service
public class HvlAuthAuthenticatorServiceImpl
extends Object
implements HvlAuthAuthenticatorService
The class which implements
HvlAuthAuthenticatorService
-
Constructor Summary
ConstructorDescriptionHvlAuthAuthenticatorServiceImpl
(Set<HvlAuthAuthenticator> validators) Instantiates a new HvlAuthAuthenticatorServiceImpl. -
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(@NotNull @Valid HvlAuthAuthenticationRequestModel authenticationRequestModel) Method that authenticate with the given username and password.
-
Constructor Details
-
HvlAuthAuthenticatorServiceImpl
Instantiates a new HvlAuthAuthenticatorServiceImpl.- Parameters:
validators
- the validators
-
-
Method Details
-
authenticate
public HvlOAuthUserModel authenticate(@NotNull @Valid @NotNull @Valid HvlAuthAuthenticationRequestModel authenticationRequestModel) Method that authenticate with the given username and password.- Specified by:
authenticate
in interfaceHvlAuthAuthenticatorService
- Parameters:
authenticationRequestModel
- the authentication request model- Returns:
- the user model
-