The present invention relates to an image processing apparatus, a method of controlling the same, and a storage medium.
As an image processing apparatus, an MFP (Multi Function Peripheral) provided with an image reading apparatus, a printing apparatus, and a communication apparatus, and having image processing applications that can execute, for example, copying, printing, and transmission of a scanned image is known. Such an MFP is typically used by a plurality of users, and is provided with a user authentication function for performing personalization by restricting functions used by each authenticated user. In other words, in an MFP, a password (a secret number) is set for each user of the MFP, and user authentication is performed by requiring input of a password when a user logs in.
In addition, something referred to as a simple login function in which an icon of a registered user is displayed on a menu screen or the like of an MFP, and when the icon is selected, a customized login screen for the user is displayed is known. With the simple login function, input of a password is unnecessary, and it is possible to login to the MFP by a user pressing an icon associated with the user. Japanese Patent Laid-Open No. 2012-254618 proposes, as a function of the simple login function, a method for automatically registering a user by using a job owner name added in a print job subject to a print instruction from a PC for a user ID for MFP user identification.
However, there is a problem as is recited below in the foregoing conventional technique. With the foregoing conventional technique, in a login method for allowing a selected user to log into an information processing apparatus after the user is selected from a user selection screen, control for uniformly requiring input of a password for each user to log in is not envisioned. In contrast, in a case where input of a password is required, work for registering the password of each user becomes necessary, and the necessity to require an operation that is cumbersome for all users arises. Consequently, in a case where input of a password is required, providing a method for easily performing registration work or the like is a problem to be solved. In addition, with the foregoing simple login function, while input of a password is required at a time of login for a user whose password is set, login without requiring input of a password is permitted for a user whose password is not set. Consequently, there is room for improving security in a current simple login function.
The present invention enables realization of a mechanism for improving security and reducing a user operation related to authentication by suitably requesting setting of authentication information in accordance with a setting status of the authentication information in user authentication.
One aspect of the present invention provides an image processing apparatus comprising: a storage unit that stores setting information for whether to force setting of authentication information, for a predetermined login method; a memory device that stores a set of instructions; and at least one processor that executes the set of instructions to: accept a login request from a user, upon accepting a login request by the predetermined login method from a user for which authentication information is not set, in a case where the setting information stored in the storage unit indicates forcing setting of the authentication information, display on a display unit a setting screen for setting the authentication information to allow the user to set the authentication information, and execute login processing in accordance with a setting status of the authentication information for the user.
Another aspect of the present invention provides a method of controlling an image processing apparatus provided with a storage unit operable to store setting information on whether to force setting of authentication information, for a predetermined login method, the method comprising: accepting a login request from a user; upon accepting a login request by the predetermined login method from a user for which authentication information is not set, in a case where the setting information stored in the storage unit indicates forcing setting of the authentication information, displaying on a display unit a setting screen for setting the authentication information to allow the user to set the authentication information; and executing login processing in accordance with a setting status of the authentication information for the user.
Still another aspect of the present invention provides a non-transitory computer-readable storage medium storing a computer program for causing a computer to execute each step in a method of controlling an image processing apparatus provided with a storage unit operable to store setting information on whether to force setting of authentication information, for a predetermined login method, the method comprising: accepting a login request from a user; upon accepting a login request by the predetermined login method from a user for which authentication information is not set, in a case where the setting information stored in the storage unit indicates forcing setting of the authentication information, displaying on a display unit a setting screen for setting the authentication information to allow the user to set the authentication information; and executing login processing in accordance with a setting status of the authentication information for the user.
Further features of the present invention will be apparent from the following description of exemplary embodiments with reference to the attached drawings.
Preferred embodiments of the present invention will now be described in detail with reference to the drawings. It should be noted that the relative arrangement of the components, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
<System Configuration>
Below, an embodiment of the present invention will be described. Firstly, description is give regarding a system configuration of the present embodiment with reference to
The MFP 101 includes a printer, a scanner, and the like, and is capable of printing, copying, scanning, and saving or transmitting a scanned document or the like. The PC 102 can access the MFP 101 and transmits a print job to the MFP 101 via a corresponding driver.
<Hardware Arrangement>
Next, description is given regarding a hardware configuration of the MFP 101 according to the present embodiment with reference to
The control unit 200 that includes the CPU 201 controls operations of the entire MFP 101. The CPU 201 performs various control such as transmission of an original scanning or image data by reading a control program stored in the ROM 202. The RAM 203 is used as a temporary storage area such as a main memory, a work area, or the like, of the CPU 201. The HDD 204 stores image data, various programs, or the like.
The operation unit I/F 205 connects the operation unit 209 with the control unit 200. The printer I/F 206 connects the printer 210 and the control unit 200. Image data which should be printed by the printer 210 is transferred from the control unit 200 via the printer I/F 206 and is printed on a printing medium in the printer 210. The scanner I/F 207 connects the scanner 211 and the control unit 200. The scanner 211 generates image data by scanning an image on an original, and inputs the image data into the control unit 200 via the scanner I/F 207. The network I/F 208 connects the control unit 200 (MFP 101) to the LAN 100. The network I/F 208 performs transmission/reception (for example, reception of a print job from the PC 102) of various information with an external apparatus over the LAN 100.
<Software Arrangement>
Next, description is given regarding a software configuration of the MFP 101 according to the present embodiment with reference to
The screen display management unit 301 controls a screen that displays on the operation unit 209. The user authentication unit 302 provides a UI for managing a list of users that can use the MFP 101 and for user authentication. The user authentication unit 302 has a simple login function. The simple login function is a function that causes an icon for each user to display on the operation unit 209, and when a user presses an icon for oneself, an operation screen (a post-login screen) customized for the user is displayed as illustrated in
Also, an automatic registration function for automatically registering a logged in user is included in the simple login function. The automatic registration function is a function that, when a job is inputted to the image processing apparatus, automatically registers a user corresponding to a user ID included in the job as a logged in user of the simple login function. Description regarding details of the automatic registration function is given later using
By virtue of the present embodiment, in cases where a user is newly registered by the automatic registration function, a user for whom a password is not set is allowed to be newly registered even if the password (secret number) setting in the simple login function is turned on. Then, when the new user logs in, a setting of a password is requested to the user (step S505 of
The copy 310, the print 311, and the scan and transmit 312 are examples of applications that are operated by the MFP 101. The copy 310 is an application for executing printing in accordance with image data obtained by scanning an original. The print 311 is an application for accepting and holding a print job inputted from the PC 102, displaying a list of jobs inputted by a logged-in user, allowing a user to confirm details thereof, and then printing. The scan and transmit 312 is an application for externally transmitting, by email or the like, an image resulting from scanning by the scanner 211.
<User Table>
Next, with reference to
In the user table 400 is defined, for each registered user, information on a user ID (uid), secret number, password, authority, electronic mail address (email), and final login date/time. “uid” is a user name for uniquely identifying a user. “secret number” is a character string configured from only numbers that is used when performing user authentication when using the MFP 101 via the operation unit 209. “password” is a character string used to perform user authentication when using the MFP 101 via a network. Note that the different terms secret number and password are used here, but they are substantially the same, and are authentication information for performing user authentication. Settings for operation of secret numbers/passwords is managed by a setting DB as illustrated by
Note that, as illustrated in
<User Authentication Processing Procedure>
Next, with reference to
In step S501, upon accepting a login request with respect to the MFP 101 from a user, the screen display management unit 301 displays on the operation unit 209 an authentication screen provided by the user authentication unit 302. Note that this screen may be displayed on a display unit of the PC 102 when a user accesses the MFP 101 via the PC 102 which is an external apparatus.
Next, in step S502, the user authentication unit 302 accepts selection of a user with respect to the buttons 601 to 603, via the user authentication screen 600 displayed on the operation unit 209. When a button is selected in step S502, the processing proceeds to step S503, and the user authentication unit 302 determines whether a secret number is not yet set. Specifically, the user authentication unit 302 determines that the secret number is not yet set if a secret number of the user corresponding to the selected button is not defined in the user table 400. If the secret number is not yet set, the processing proceeds to step S504, and if it is set the processing proceeds to step S508.
In step S504, the user authentication unit 302 determines whether to force setting of the secret number for the user whose secret number is not yet set. Specifically, the user authentication unit 302 refers to a setting table 700 illustrated in
In step S507, the user authentication unit 302 determines whether it is an initial login. Specifically, if the final login date/time for the user is not defined in the user table 400, the user authentication unit 302 determines that this is an initial login and proceeds to step S505, and if a final login date/time is defined, the user authentication unit 302 determines that this is not an initial login and proceeds to step S508.
In step S505, the screen display management unit 301 displays a secret number setting screen on the operation unit 209.
The description of
Note that, in a case of forcing setting of a secret number (password), control may be performed so that the “OK” button 803 cannot be selected in a state where a secret number is not inputted in the secret number input region 801 in the secret number setting screen 800.
Finally, in step S508, the user authentication unit 302 executes login processing in accordance with the set secret number, and the processing ends. During the login processing, the user authentication unit 302 requests the user to input authentication information such as a secret number that is set. Note that, the present embodiment, the processing branches after determines whether there is an initial login in a case of not forcing setting of a secret number (step S507), but the present invention is not limited to this. For example, in a case of not forcing a secret number to be set, settings and controls so as to proceed to the login processing of step S508 in the present state may be provided. In such a case, the user authentication unit 302 does not request input of a secret number (password) during login processing. In addition, configuration may be taken so that, during the login processing, the user authentication unit 302 controls so as to not permit login of a user if a secret number is not set, irrespective of the setting of a secret number or the like being necessary. Note that such control may be changed in accordance with setting information.
<User Registration at Time of Print Job Input>
Next, with reference to
Description is given in detail below regarding a processing procedure and control of an automatic registration function in the simple login function. By virtue of the present embodiment, it is possible to cause an agent capable of registration to differ for each registration method. For example, all users can register themselves in accordance with “input from an operation unit UI/Web UI”. In addition, a user having an “administrator” authority can register a user in accordance with “input from an operation unit UI/Web UI” and “importing user data”. “Automatic registration using user information included in a print job” is registration that is automatically performed by the user authentication unit 302 and not by a user explicitly performing a registration operation. Note that a registration procedure for a time of a print job input is described later using
Here, with reference to
In the setting table 700 illustrated in
With reference to
In step S1101, the user authentication unit 302 accepts a request to register a user. Next, in step S1102, the user authentication unit 302 determines whether the registration agent needs to set a secret number. For example, the user authentication unit 302 refers to the authority of the user, the setting table 700, and the table 1000 to determine whether the user is a user for which setting of a secret number is required. If setting of a secret number is not necessary (when the registration agent is “administrator” or “system”) the processing proceeds to step S1103, and if setting of a secret number is necessary (when the registration agent is a “general user”), the processing proceeds to step S1104.
In step S1103, the user authentication unit 302, without setting a secret number, uses the user information included in the print job to automatically register the user in the user table 400 as a newly registered user, and the processing ends. Meanwhile, in step S1104, the user authentication unit 302 executes error processing without registering the user, and the processing ends. In the error processing, that user registration corresponding to the user information included in the print job cannot be performed may be notified to the PC 102.
As described above, the image processing apparatus according to the present embodiment stores setting information for whether to force setting of authentication information for each user. Furthermore, upon accepting a login request from a user, in a case where the stored setting information indicates forcing setting of authentication information, the image processing apparatus displays on a display unit a setting screen for setting authentication information to allow the user to set authentication information. In addition, the image processing apparatus executes login processing in accordance with a setting status of authentication information for the user. Furthermore, in a case of performing automatic registration for a simple login function when a print job is received, the image processing apparatus controls whether to automatically register a user in accordance with the authority of a user who is a registration agent. In this way, by virtue of the present embodiment, it is possible to improve security and reduce a user operation related to authentication by suitably requesting setting of authentication information in accordance with a setting status of the authentication information in user authentication. In addition, by virtue of the present embodiment, forcing all users to set authentication information even in the case of a simple login function can be set.
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Number | Date | Country | Kind |
---|---|---|---|
2017-126519 | Jun 2017 | JP | national |
This application is a continuation of U.S. patent application Ser. No. 16/436,081, filed on Jun. 10, 2019, which is a continuation of U.S. patent application Ser. No. 16/013,134, filed on Jun. 20, 2018, now U.S. Pat. No. 10,356,279, which claims the benefit of and priority to Japanese Patent Application No. 2017-126519, filed on Jun. 28, 2017, each of which are hereby incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 16436081 | Jun 2019 | US |
Child | 16856523 | US | |
Parent | 16013134 | Jun 2018 | US |
Child | 16436081 | US |