Class UserPasswordAuthenAddOn
java.lang.Object
tech.corefinance.userprofile.common.service.impl.UserPasswordAuthenAddOn
- All Implemented Interfaces:
org.springframework.core.Ordered,UserAuthenAddOn<CommonUserProfile<?>>
@Service
@ConditionalOnProperty(prefix="tech.corefinance.app.userprofile",
name="default-password-authen",
havingValue="true",
matchIfMissing=true)
public class UserPasswordAuthenAddOn
extends Object
implements UserAuthenAddOn<CommonUserProfile<?>>
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.corefinance.userprofile.common.service.UserAuthenAddOn
buildJwtTokenDto, buildLoginDto, buildUserRoleDtoList, retrieveAdditionalLoginInfo
-
Constructor Details
-
UserPasswordAuthenAddOn
public UserPasswordAuthenAddOn()
-
-
Method Details
-
authenticate
public CommonUserProfile authenticate(String account, String password, Map<String, Object> additionalInfo) - Specified by:
authenticatein interfaceUserAuthenAddOn<CommonUserProfile<?>>
-
getJwtService
public tech.corefinance.common.service.JwtService getJwtService()- Specified by:
getJwtServicein interfaceUserAuthenAddOn<CommonUserProfile<?>>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-