Class BaseLoginCommand<F extends BaseForm>
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseSimpleCommand<F>
com.echothree.control.user.authentication.server.command.BaseLoginCommand<F>
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
- Direct Known Subclasses:
CreateUserLoginCommand,CustomerLoginCommand,DeleteUserLoginCommand,EmployeeLoginCommand,ResetLockoutCommand,SetPasswordCommand,VendorLoginCommand
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseSimpleCommand
form, mimeTypeControlFields inherited from class com.echothree.util.server.control.BaseCommand
commandControl, componentControl, coreControl, entityTypeControl, eventControl, securityRoleLogic, session, userControl -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseLoginCommand(CommandSecurityDefinition commandSecurityDefinition, List<FieldDefinition> formFieldDefinition) Creates a new instance of BaseLoginCommand -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRemoteInet4AddressToParty(Party party, Integer remoteInet4Address) protected UserLoginPasswordStringcheckPassword(String password, Party party, String userLoginPasswordTypeName, boolean deleteOnSuccess) protected booleancheckPasswords(UserLoginStatus userLoginStatus, String password, Party party, boolean doStatusChecks) protected voidclearLoginFailures(UserLoginStatus userLoginStatus) protected StringgetSecurityRoleGroupName(PartyType partyType) protected voidsuccessfulLogin(UserLoginStatus userLoginStatus, Party party, PartyRelationship partyRelationship, Integer remoteInet4Address) protected voidunsuccessfulLogin(UserLoginStatus userLoginStatus) Methods inherited from class com.echothree.util.server.control.BaseSimpleCommand
canQueryByGraphQl, getForm, getFormFieldDefinitions, run, runAsync, setupPreferredClobMimeType, setupSession, setupValidator, validate, validateMethods inherited from class com.echothree.util.server.control.BaseCommand
addExecutionError, addExecutionError, addExecutionWarning, addExecutionWarning, addSecurityMessage, addSecurityMessage, canSpecifyParty, checkCommandSecurityDefinition, checkOptionalSecurityRoles, execute, getBaseResultAfterErrors, getCheckIdentityVerifiedTime, getCommandName, getCommandSecurityDefinition, getCompanyParty, getComponentVendorName, getExecutionErrors, getExecutionWarnings, getInsufficientSecurityResult, getLog, getLogCommand, getParty, getPartyPK, getPartyType, getPartyTypeName, getPreferredCurrency, getPreferredCurrency, getPreferredDateTimeFormat, getPreferredDateTimeFormat, getPreferredLanguage, getPreferredLanguage, getPreferredTimeZone, getPreferredTimeZone, getSecurityMessages, getSession, getUpdateLastCommandTime, getUserControl, getUserSession, getUserVisit, getUserVisitForUpdate, getUserVisitPK, hasExecutionErrors, hasExecutionWarnings, hasSecurityMessages, initSession, removeFilteredTransferProperty, removeOption, run, runAsync, security, selfOnly, sendEvent, sendEvent, sendEvent, setCheckIdentityVerifiedTime, setLogCommand, setUpdateLastCommandTime, setUserVisitPK, teardownSession
-
Constructor Details
-
BaseLoginCommand
protected BaseLoginCommand(CommandSecurityDefinition commandSecurityDefinition, List<FieldDefinition> formFieldDefinition) Creates a new instance of BaseLoginCommand
-
-
Method Details
-
checkPassword
protected UserLoginPasswordString checkPassword(String password, Party party, String userLoginPasswordTypeName, boolean deleteOnSuccess) -
checkPasswords
protected boolean checkPasswords(UserLoginStatus userLoginStatus, String password, Party party, boolean doStatusChecks) -
getSecurityRoleGroupName
-
clearLoginFailures
-
addRemoteInet4AddressToParty
-
successfulLogin
protected void successfulLogin(UserLoginStatus userLoginStatus, Party party, PartyRelationship partyRelationship, Integer remoteInet4Address) -
unsuccessfulLogin
-