Package com.soffid.iam.service
Class PasswordManagerServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.PasswordManagerServiceBase
-
- com.soffid.iam.service.PasswordManagerServiceImpl
-
- All Implemented Interfaces:
PasswordManagerService
public class PasswordManagerServiceImpl extends PasswordManagerServiceBase
-
-
Field Summary
-
Fields inherited from interface com.soffid.iam.service.PasswordManagerService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description PasswordManagerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getTokenDuration()
protected long
getTokenRenew()
protected String
handleFindUserByToken(String token)
protected String
handleGenerateToken(String user)
protected String
handleRenewToken(String token)
-
Methods inherited from class com.soffid.iam.service.PasswordManagerServiceBase
findUserByToken, generateToken, getPasswordManagerTokenEntityDao, getPrincipal, getUserEntityDao, renewToken, setPasswordManagerTokenEntityDao, setUserEntityDao
-
-
-
-
Method Detail
-
handleFindUserByToken
protected String handleFindUserByToken(String token) throws Exception
- Specified by:
handleFindUserByToken
in classPasswordManagerServiceBase
- Throws:
Exception
-
handleGenerateToken
protected String handleGenerateToken(String user) throws Exception
- Specified by:
handleGenerateToken
in classPasswordManagerServiceBase
- Throws:
Exception
-
getTokenDuration
protected long getTokenDuration()
-
getTokenRenew
protected long getTokenRenew()
-
handleRenewToken
protected String handleRenewToken(String token) throws Exception
- Specified by:
handleRenewToken
in classPasswordManagerServiceBase
- Throws:
Exception
-
-