Case-Insensitive User Name Authentication Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Information processing apparatuses face difficulties in recognizing user names input in a case-insensitive setting after initially registering them in a case-sensitive manner, leading to incorrect display of operation screens and inappropriate processing.
Innovation Solution
The apparatus switches between case sensitivity and insensitivity settings for user information, distinguishing or not distinguishing uppercase and lowercase letters, and adjusts the display and registration of user identification information accordingly, ensuring correct authentication and operation screen display.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If case insensitivity setting is switched after case sensitivity setting, then user name registration flexibility is improved, but user identification accuracy deteriorates
Solution Approach 1:
The system performs preliminary actions by registering user names in a case-sensitive manner first, storing both the original input and normalized forms. When case insensitivity is later enabled, the system uses pre-stored mapping relationships between case-sensitive and case-insensitive user names to maintain accurate identification without requiring re-registration.
Solution Approach 2:
The system introduces an intermediary mechanism - a mapping table or database structure that stores the correspondence between case-sensitive user names and their case-insensitive equivalents. This intermediary layer allows the system to translate between the two identification methods, resolving the contradiction between flexibility and accuracy.
2Measurement precision
If case sensitivity setting is used, then user identification accuracy is improved, but user name registration flexibility deteriorates
Solution Approach 1:
The system dynamically adjusts its behavior based on the selected setting. When case sensitivity is enabled, it performs exact string matching for accurate identification. When case insensitivity is enabled, it switches to normalized string matching. This dynamic adaptation allows the system to maintain both accuracy and flexibility depending on the operational context.
Solution Approach 2:
The system changes the parameter of string comparison sensitivity between case-sensitive and case-insensitive modes. By modifying the comparison parameter rather than the fundamental data structure, the system can switch between high accuracy and high flexibility as needed, resolving the contradiction between these two requirements.
3Measurement precision
If multiple user names with different cases are registered as different users, then user identification accuracy is improved, but system complexity increases
Solution Approach 1:
The system segments the user identification process into two independent parts: registration phase (where case sensitivity is applied) and authentication phase (where case insensitivity is applied). This segmentation allows each phase to optimize for its specific requirement without increasing overall system complexity, as the mapping between the two phases is handled through a straightforward translation layer.
Data Source
AI summary
An apparatus and method is provided in which, in a setting of making user names case-insensitive, if a plurality of user names determined to be identical to a user name that is requested to log in is registered in an authentication database, log-in using the user name is not accepted.


