Class DbPrincipalDetailsImpl
java.lang.Object
ch.tocco.nice2.userbase.impl.auth.DbPrincipalDetailsImpl
- All Implemented Interfaces:
PrincipalDetails
,DbPrincipalDetails
-
Constructor Summary
ConstructorDescriptionDbPrincipalDetailsImpl
(Principal principal, EncodedPassword password, @Nullable EncodedPassword temporaryPassword, String type, String status, boolean supportUser, Integer failedLogins, Integer wrongPasswordCount, @Nullable org.joda.time.DateTime lastPasswordDispatch, boolean newPasswordRequired) -
Method Summary
-
Constructor Details
-
DbPrincipalDetailsImpl
public DbPrincipalDetailsImpl(Principal principal, EncodedPassword password, @Nullable @Nullable EncodedPassword temporaryPassword, String type, String status, boolean supportUser, Integer failedLogins, Integer wrongPasswordCount, @Nullable @Nullable org.joda.time.DateTime lastPasswordDispatch, boolean newPasswordRequired)
-
-
Method Details
-
getPassword
- Specified by:
getPassword
in interfacePrincipalDetails
-
getTemporaryPassword
- Specified by:
getTemporaryPassword
in interfaceDbPrincipalDetails
-
getPrincipal
- Specified by:
getPrincipal
in interfacePrincipalDetails
-
getType
- Specified by:
getType
in interfaceDbPrincipalDetails
-
getStatus
- Specified by:
getStatus
in interfaceDbPrincipalDetails
-
isSupportUser
public boolean isSupportUser()- Specified by:
isSupportUser
in interfaceDbPrincipalDetails
-
getFailedLogins
- Specified by:
getFailedLogins
in interfaceDbPrincipalDetails
-
getWrongPasswordCount
- Specified by:
getWrongPasswordCount
in interfaceDbPrincipalDetails
-
isNewPasswordRequired
public boolean isNewPasswordRequired()- Specified by:
isNewPasswordRequired
in interfaceDbPrincipalDetails
-