void function ( String arg0 , String arg1 ) { if ( m_maxBadAttempts < 0 ) { return ; } String loc0 = createStorageKey ( arg0 , arg1 ) ; CmsUserData loc1 = m_storage . get ( loc0 ) ; if ( loc1 != null ) { loc1 . increaseInvalidLoginCount ( ) ; } else { loc1 = new CmsUserData ( ) ; m_storage . put ( loc0 , loc1 ) ; } }
adds an invalid attempt to login for the given user / ip to the storage . in case the configured threshold is reached , the user is disabled for the configured time . concode_field_sep int m_invalidLoginCount concode_elem_sep int m_maxBadAttempts concode_elem_sep int m_disableMillis concode_elem_sep int m_disableMinutes concode_elem_sep int MAX_BAD_ATTEMPTS_DEFAULT concode_elem_sep long m_disableTimeStart concode_elem_sep int DISABLE_MINUTES_DEFAULT concode_elem_sep boolean ENABLE_SECURITY_DEFAULT concode_elem_sep Map<String,CmsUserData> m_storage concode_elem_sep boolean m_enableSecurity concode_elem_sep CmsLoginMessage m_loginMessage concode_field_sep CmsLoginMessage getLoginMessage concode_elem_sep void checkInvalidLogins concode_elem_sep void removeInvalidLogins concode_elem_sep Integer getInvalidLoginCount concode_elem_sep void increaseInvalidLoginCount concode_elem_sep void removeLoginMessage concode_elem_sep boolean isEnableSecurity concode_elem_sep int getMaxBadAttempts concode_elem_sep Date getReleaseDate concode_elem_sep String createStorageKey concode_elem_sep void setLoginMessage concode_elem_sep boolean isDisabled concode_elem_sep int getDisableMinutes concode_elem_sep void checkLoginAllowed