Multi-tenant management system and method
The multi-tenant management system allows single authentication across namespaces, ensuring tenant independence by using an overall scope management table to define resource access ranges, simplifying system administrator access to multiple tenant resources.
Patent Information
- Application Number
- JP2023006837
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-01-19
- Publication Date
- 2024-12-09
- Estimated Expiration
- 2043-01-19
AI Technical Summary
In multi-tenant management systems, system administrators need to authenticate with multiple namespaces to access resources across different tenants, leading to complex management and potential loss of tenant independence due to shared namespaces.
A multi-tenant management system that stores user and tenant information across namespaces, allowing a single authentication for accessing resources across multiple tenants while maintaining independence by using an overall scope management table to define resource access ranges.
Enables system administrators to access resources of multiple tenants without separate namespace authentications, ensuring tenant independence and simplifying management by using a unified scope management system.
Smart Images

Figure 0007596414000001 
Figure 0007596414000002 
Figure 0007596414000003
Abstract
Description
[Technical field]
[0001] The present invention relates generally to user access to resources in a multi-tenant system. [Background technology]
[0002] It is known that restricting access to resources in a system such as a storage system to those from authorized users and for authorized operations can prevent unauthorized access and enhance security. In Role Based Access Control (RBAC), which is one of the access control methods, a role with access rights according to the business etc. is assigned to a user who accesses a resource, and whether or not the user can access the resource is determined based on the role assigned to the user. This can prevent unintended resource access such as unexpected resource operations or erroneous operations, and reduce the management burden on the user.
[0003] A multi-tenant management system is known in which a plurality of different organizations or a plurality of different departments are treated as a plurality of "tenants." A "tenant" may be a group of users belonging to an organization or department as the tenant. In the multi-tenant management system, resources are associated with each tenant. In the multi-tenant management system, in order to ensure the independence between tenants, access control is required on a tenant-by-tenant basis, such as independently managing users for each tenant and limiting access rights to a specific resource to the tenant with which the resource is associated. On the other hand, a system administrator who provides resources to multiple tenants may need authority to access resources associated with tenants and perform specific operations such as monitoring the status. It is possible to grant the system administrator access authority to resources associated with any tenant in advance, but from the viewpoint of the independence of tenant management and the viewpoint of reducing the management load of the system administrator, it is not desirable to grant the system administrator authority that is broader than necessary.
[0004] For example, prior art documents disclosing technologies relating to multi-tenant management include Patent Document 1 and Patent Document 2. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] WO2015 / 200379 [Patent Document 2] JP 2013-8229 A Summary of the Invention [Problem to be solved by the invention]
[0006] It is conceivable to assign a namespace to each tenant, manage users independently for each tenant, and assign roles to users belonging to the tenant. If authentication for a namespace is successful, the user can access resources associated with the tenant assigned to that namespace. However, if a system administrator needs to access resources associated with multiple tenants, the system administrator needs to be authenticated for the namespaces corresponding to the tenants for each tenant. In this way, authentication is required for each tenant, making management cumbersome.
[0007] One possible solution to this problem is to assign multiple tenants to a single namespace and register system administrators in the same namespace. However, because multiple tenants are managed in a single namespace, it is not possible to guarantee independence between tenants. For example, if user A of tenant A is registered in the namespace first, and user B with the same name as user A exists in tenant B, user B cannot be registered in the namespace because they are in different tenants but have the same name as user A. [Means for solving the problem]
[0008] In a representative example of the present disclosure, a multi-tenant management system (hereinafter, in this paragraph, "system") receives from a user terminal user information, which is information about a user, tenant information, which is information about a tenant, and a resource access request that specifies a resource to be accessed from among multiple resources. The system selects a namespace corresponding to the tenant represented by the received tenant information. The system performs an authentication determination, which is a determination as to whether the received user information matches information held by the user management information of the selected namespace. For each of multiple namespaces including a namespace for each tenant, the user management information includes information about a user associated with the tenant corresponding to the namespace, and information representing a tenant scope, which is a label of a resource access range for each of one or more tenants. If the result of the authentication determination is true, the system performs an authorization determination, which is a determination as to whether a resource to be accessed according to the received resource access request corresponds to any of the tenant scopes represented by the user management information of the selected namespace and belongs to a resource access range identified from the entire scope management information. The entire scope management information is information representing a resource access range corresponding to the tenant scope for each of all tenant scopes. If the result of the authorization determination is true, the system executes the received resource access request. Effect of the Invention
[0009] According to a representative example of the present invention, while ensuring the independence between tenants, a user can access resources of multiple tenants without authentication for each namespace. Problems, configurations, and effects other than those described above will become clear from the description of the following embodiment. [Brief description of the drawings]
[0010] [Figure 1] 1 illustrates an example of the configuration of a computer system according to an embodiment. [Diagram 2] 1 shows an example of a logical configuration of a computer system according to a comparative example. [Diagram 3] 13 illustrates an example of a resource access command according to the embodiment. [Figure 4] 1 illustrates an example of a user management table according to an embodiment. [Diagram 5] 1 illustrates an example of a policy management table according to an embodiment. [Figure 6] 13 illustrates an example of a scope management table according to a comparative example. [Figure 7] 1 illustrates an example of multi-tenant management according to a comparative example. [Figure 8] 13 illustrates another example of multi-tenant management according to a comparative example. [Figure 9] 2 illustrates an example of a logical configuration of a computer system according to an embodiment. [Figure 10] 13 illustrates an example of an entire scope management table according to the embodiment. [Figure 11] 1 illustrates an example of a user management table according to an embodiment. [Figure 12] 4 illustrates an example of a logical configuration of a scope management unit according to the embodiment. [Figure 13] 1 illustrates an example of multi-tenant management according to an embodiment. [Figure 14] 13 illustrates a modified example of multi-tenant management according to an embodiment. [Figure 15] 13 shows an example of a flow of user creation and authority setting according to the embodiment. [Figure 16] 1 illustrates an authentication and authorization flow for a system administrator according to an embodiment. [Figure 17] 13 illustrates an authentication and authorization flow for a tenant 1 administrator according to an embodiment. [Figure 18] 13 illustrates an authentication and authorization flow for a tenant 2 administrator according to an embodiment. [Figure 19] 1 illustrates an example of a multi-tenant management migration according to an embodiment. [Figure 20] 13 illustrates another example of multi-tenant management according to an embodiment. [Figure 21] 13 illustrates yet another example of multi-tenant management according to an embodiment. [Figure 22] 13 illustrates yet another example of multi-tenant management according to an embodiment. [Figure 23]13 illustrates yet another example of multi-tenant management according to an embodiment. [Figure 24] 13 illustrates an example of a user affiliation table according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] In the following description, an "interface unit" may refer to one or more interface devices. The one or more interface devices may be at least one of the following: One or more I / O (Input / Output) interface devices. The I / O (Input / Output) interface devices are interface devices to at least one of the I / O devices and a remote display computer. The I / O interface device to the display computer may be a communications interface device. The at least one I / O device may be a user interface device, for example, either an input device such as a keyboard and pointing device, or an output device such as a display device. One or more communication interface devices. The one or more communication interface devices may be one or more homogeneous communication interface devices (e.g., one or more NICs (Network Interface Cards)) or two or more heterogeneous communication interface devices (e.g., a NIC and an HBA (Host Bus Adapter)).
[0012] In the following description, a "memory" refers to one or more memory devices, which are an example of one or more storage devices, and may typically be a primary storage device. At least one memory device in the memory may be a volatile memory device or a non-volatile memory device.
[0013] In the following description, a "persistent storage device" may be one or more persistent storage devices, which are an example of one or more persistent storage devices. A persistent storage device may typically be a non-volatile storage device (e.g., an auxiliary storage device), and more specifically, may be, for example, a hard disk drive (HDD), a solid state drive (SSD), a non-volatile memory express (NVME) drive, or a storage class memory (SCM).
[0014] Also, in the following description, "storage device" may be at least memory, including memory and persistent storage device.
[0015] Also, in the following description, a "processor" may be one or more processor devices. The at least one processor device may typically be a microprocessor device such as a CPU (Central Processing Unit), but may also be other types of processor devices such as a GPU (Graphics Processing Unit). The at least one processor device may be a single-core or multi-core. The at least one processor device may be a processor core. The at least one processor device may also be a processor device in a broader sense, such as a circuit that is a collection of gate arrays written in a hardware description language that performs part or all of the processing (e.g., an FPGA (Field-Programmable Gate Array), a CPLD (Complex Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit)).
[0016] In the following description, information that provides an output for an input may be described in the form of a table such as an "xxx table," but the information may be data of any structure (for example, structured data or unstructured data), or may be a learning model such as that represented by a neural network, genetic algorithm, or random forest that generates an output for an input. Therefore, the "xxx table" may be referred to as "xxx information." In the following description, the structure of each table is an example, and one table may be divided into two or more tables, or all or part of two or more tables may be one table.
[0017] In the following description, functions may be described using the expression "yyy unit", but the functions may be realized by one or more computer programs being executed by a processor, or by one or more hardware circuits (e.g., FPGA or ASIC), or by a combination thereof. When a function is realized by a program being executed by a processor, the function may be at least a part of the processor, since the specified processing is performed using a storage device and / or an interface device, etc., as appropriate. Processing described with a function as the subject may be processing performed by a processor or a device having the processor. A program may be installed from a program source. The program source may be, for example, a program distribution computer or a computer-readable recording medium (e.g., a non-transitory recording medium). The description of each function is an example, and multiple functions may be combined into one function, or one function may be divided into multiple functions.
[0018] In the following description, an ID is used as an example of identification information for an element, but the identification information may be any information capable of identifying an element, such as a name.
[0019] In addition, in the following description, when describing elements of the same type without distinguishing between them, common reference symbols will be used, and when describing elements of the same type with distinction between them, reference symbols will be used.
[0020] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the following description and drawings are merely examples for explaining the present invention, and are omitted or simplified as appropriate for clarity of explanation. The present invention can be embodied in various other forms, and each component may be singular or plural unless otherwise specified.
[0021] Furthermore, the embodiments described below do not limit the invention according to the claims, and not all of the combinations of elements described in the embodiments are necessarily essential to the solution of the invention.
[0022] In the following, multi-tenant management according to one embodiment of the present invention is described.
[0023] The storage system according to the present embodiment (an example of a multi-tenant management system) assigns separate namespaces for managing individual tenants and systems other than tenants, and performs authentication of tenant users and system administrator users, as well as access authority and execution authority for specific resource types for each namespace, and performs authorization judgment processing for the authority for each namespace. Furthermore, the storage system manages the resource ranges associated with tenants and systems without limiting the namespace, so that a user registered in a namespace can specify a resource range associated with another namespace to access and execute an operation. The present disclosure may be applied to resource access control for a target system different from the storage system. Access execution authority may be given, for example, according to the role of the user, or may be given based on other condition items.
[0024] FIG. 1 shows an example of the configuration of a computer system according to this embodiment.
[0025] The computer system includes a user terminal 100, a host server 110, a management server 120, and a storage system 130. These can communicate with each other via a network 160. The storage system 130 can also have a distributed configuration. For example, a storage system 130 configured with a plurality of storage nodes 140 may be adopted. The number of storage nodes is not limited, and may be added or reduced as necessary. The distributed storage system can be configured using existing technology. The number of each of these components is arbitrary. The user terminal 100 may also include the functions of the host server 110 and / or the management server 120.
[0026] The network 160 may be, for example, a local area network (LAN) or a storage area network (SAN). The host server 110 and the management server 120 may access the storage system 130 via different networks, and the user terminal 100 may access the host server 110 or the management server 120 via a network different from the network 160.
[0027] The user terminal 100 is a device that allows a user to access a computer system. The user terminal 100 may have, for example, a general computer configuration, including, for example, an interface device, a storage device, and a processor connected thereto. The user terminal 100 may also include hardware dedicated to a specific process. The user terminal 100 may have I / O devices (for example, a keyboard, a pointing device, and a display device).
[0028] The host server 110 is a host machine on which user applications and the like run. The host server 110 may have, for example, a general computer configuration, and includes an interface device, a storage device, and a processor connected thereto. The host server 110 may also include hardware dedicated to specific processing. The host server 110 may execute various software programs, for example, execute a database or Web service, and write and read data created thereby to and from the storage system 130 via the network 160. The host server 110 may also execute a resource utilization application, which will be described later.
[0029] The management server 120 manages the storage system 130. The management server 120 may have, for example, a general computer configuration, and includes an interface device, a storage device, and a processor connected thereto. The management server 120 may also include hardware dedicated to specific processes. The management server 120 may execute a software program that manages an authentication and authorization system, which will be described later.
[0030] The computer system includes an authentication and authorization system, which is described below.
[0031] The storage system 130 includes a controller 131 and a drive box 137. The controller 131 includes a host interface 132, a management interface 133, a drive interface 134, a memory 136, and a processor 135 connected thereto. The number of these components is arbitrary.
[0032] The host interface 132 is an interface device for communication with the host server 110. The management interface 133 is an interface device for communication with the management server 120. The drive interface 134 is an interface device for communication with the drive box 137.
[0033] The drive box 137 contains one or more non-volatile or volatile storage drives that store various data used by application programs of the host server 110. The drive box 137 is connected to the drive interface 134 of the controller 131. In the configuration example of Fig. 1, the drive box 137 includes a plurality of hard disk drives (HDD) 138 and a plurality of solid state drives (SSD) 139. The plurality of storage drives 138, 139 may form a group for data redundancy such as RAID (Redundant Arrays of Independent Disks).
[0034] The controller 131 controls the storage system 130. The controller 131 provides the host server 210 with a volume for storing data of the host server 210. The controller 131 allocates physical storage areas of the storage drives 138 and 139 to the volume, and stores the data in the storage drives 138 and 139. The controller 131 provides the host server 110 with a storage function.
[0035] The processor 135 issues an instruction to transfer data stored in the corresponding drive box 137 in response to a read command or a write command from the host server 110. The memory 136 of the controller 131 is composed of a semiconductor memory such as a Synchronous Dynamic Random Access Memory (SDRAM). The memory may be composed of a combination of a volatile memory and a non-volatile memory.
[0036] The processor 135 executes processes for controlling the storage system 130 and for communicating with the host server 110, the management server 120, and the drive box 137. The memory 136 serves as the main memory of the processor 135, storing programs and various data for control and communication. The memory 136 stores software programs for implementing an authentication and authorization system, which will be described later. The memory 136 is also used as a disk cache (cache memory) for the controller 131. The processor 135 implements a predetermined function by executing programs, including instruction codes, stored in the memory 136.
[0037] A plurality of controllers 131 may be implemented for redundancy. The plurality of controllers 131 communicate with each other via a network in the storage system 130. The controllers 131 duplicate write data and share metadata via the network in the storage system 130. Even if one controller 131 is blocked due to maintenance or a failure, the other controller 131 can continue storage processing. The storage system 130 may be configured using a general server computer, or may include hardware dedicated to specific processing. As described above, the components 130, 140, and 150 may be storage nodes, and these may be linked to configure one storage system. The number of storage nodes is not limited, and may be added or reduced as necessary. The distributed storage system can be configured using existing technology.
[0038] The computer system may include other components than those shown here. For example, the network may include network devices such as switches and routers. The computer system may also be configured to connect to a storage service on a public cloud via an external network.
[0039] 2 shows an example of the logical configuration of a computer system according to a comparative example. In the figure, the name space is abbreviated as "NS."
[0040] The computer system includes a resource use application 220, an authentication infrastructure 230, an authorization infrastructure 240, and a resource management infrastructure 250. These are software components implemented in the computer system or functional components realized by, for example, a processor.
[0041] The resource use application 220 is included in, for example, the host server 110. The authentication infrastructure 230, the authorization infrastructure 240, the resource management infrastructure 250, and the namespace management infrastructure 260 are included in, for example, the storage system 130. Which hardware device each function is implemented in depends on the design of the computer system. For example, a service provided as a common authentication and authorization server such as IDaaS (Identity as a Service) may be used as the authentication infrastructure 230, the authorization infrastructure 240, and / or the namespace management infrastructure 260.
[0042] 2, a user 200 uses a user terminal 100 to access software or hardware resources of a computer system. The user terminal 100 accesses a resource use application 220 in response to an input from the user. The user requests resource access by issuing a command via the user terminal 100 to the resource use application 220, which specifies a target resource, an operation on the resource, and operation parameters.
[0043] The user terminal 100 includes a user interface (I / F) 211, a user acquisition unit 212, a command acquisition unit 213, and a tenant acquisition unit 214. The user interface 211 is a user interface for the user 200 to request the execution of a resource operation using the user terminal 100, and can utilize, for example, a Web browser.
[0044] The user acquisition unit 212 acquires user information such as a user name, an account name, a login ID, and a password input by the user 200. The command acquisition unit 213 acquires a resource access command input by the user via the user interface 211, and transmits the resource access command to a policy determination unit 242 of the authorization infrastructure 240 and a resource access execution unit 223 of the resource use application 220. The tenant acquisition unit 214 acquires tenant information of tenants input by the user 200, such as the tenant to which the user belongs and the tenant associated with the resource to which the user requests access, and transmits the acquired tenant information to a namespace selection unit 231 of the authentication infrastructure 230 and a namespace selection unit 241 of the authorization infrastructure.
[0045] The resource use application 220 accesses resources such as storage resources, compute resources (including bare machines, VMs (Virtual Machines), and containers), network resources, etc., and executes processing. The resource use application 220 includes an authentication necessity determination unit 221, an access right determination unit 222, a resource access execution unit 223, and a resource use execution unit 224.
[0046] When the user 200 makes a resource access request (when a resource access command is sent), the authentication necessity determination unit 221 acquires information identifying the user, such as an account name, from the user acquisition unit 212 of the user terminal 100, and determines whether authentication is required or whether the user is already authenticated. If authentication is required and the user is unauthenticated, the authentication necessity determination unit 221 requests authentication from the authentication infrastructure 230. If the user 200 has been authenticated, or has received a notification from the authentication infrastructure 230 that authentication has been completed, the authentication necessity determination unit 221 requests the authorization infrastructure 240 to make an authorization decision on the resource access request (resource access command).
[0047] The resource access execution unit 223 acquires a resource access command from the command acquisition unit 213 of the user terminal 100. Note that the resource access execution unit 223 may acquire the resource access command after the access to and execution of the operation on the resource is authorized as a result of the determination by the policy determination unit 242 of the authorization board 240.
[0048] The access right determination unit 222 determines whether the resource access requested by the user 200 is authorized. If authorized, the access right determination unit 222 permits the resource access execution unit 223 to execute the resource access command.
[0049] The resource access execution unit 223 issues a resource access command to the resource management board 250. The resource usage execution unit 224 executes a predetermined process based on the resource access.
[0050] The authentication infrastructure 230 executes user authentication when receiving an authentication request from the authentication necessity determination unit 221 of the resource use application 220. The authentication infrastructure 230 includes a namespace selection unit 231 and a user authentication unit 232. The namespace selection unit 231 selects a namespace assigned to a tenant based on tenant information acquired from the tenant acquisition unit 214 of the user terminal 100. The user authentication unit 232 processes sign-in from the user 200. Specifically, the user authentication unit 232 authenticates that the user 200 is an actual user registered in advance in the computer system, for example, by using a password and / or biometric information of a fingerprint or face input by the user 200 via the user terminal 100.
[0051] The namespace management infrastructure 260 includes one or more namespaces 261, and namespace selectors 262 and 264. The namespace 261 includes a user management table (TBL) 263, a policy management table 265, and a scope management table 266.
[0052] When the user authentication unit 232 of the authentication infrastructure 230 requests access to the user management table 263, the namespace management infrastructure 260 links the user management table 263 of one of the namespaces 261 selected by the namespace selector 262 to the user authentication unit 232 based on the namespace selected by the namespace selection unit 231.
[0053] The user management table 263 stores information of a user registered as an authentication target, such as a user name, a job title, an e-mail address, a password, information for checking biometric information, a group to which the user belongs, an access date and time, an assigned role, and a scope indicating an access range of a resource type to be accessed. A scope included in the scope management table 266 of any one of the namespaces 261 is assigned to a user. The user authentication unit 232 performs user authentication by checking the user information entered by the user 200 at the time of signing in against the information stored in the user management table 263 of the namespace management infrastructure 260.
[0054] If the authentication by the user authentication unit 232 is successful, the user authentication unit 232 transmits user information including the role and scope assigned to the user to the policy determination unit 242 of the authorization board 240 .
[0055] The user information acquired when the user authentication is first performed may be retained in any one or all of the resource use application 220, the authentication infrastructure 230, and the authorization infrastructure 240 while the authentication of the target user is valid (during a valid session). When a resource access request is issued by the same user, policy judgment may be performed using the retained user information. The retained user information may be discarded when the validity period of the session ends.
[0056] The authorization infrastructure 240 determines whether the user 200, who has been authenticated by the authentication infrastructure 230, has the right to access the resource that the user 200 has requested to access and the right to execute the operation on the resource. If the user 200 has the right to access and the right to execute the operation, the authorization infrastructure 240 authorizes the execution. If the user 200 does not have the right to access or the right to execute the operation, the authorization infrastructure 240 does not authorize the execution.
[0057] The authorization infrastructure 240 includes a namespace selection unit 241 , a policy determination unit 242 , and an access authorization unit 243 .
[0058] The namespace selection unit 241 selects a namespace assigned to a tenant based on the tenant information acquired from the tenant acquisition unit 214 of the user terminal 100. When the policy determination unit 242 of the authorization infrastructure 240 requests access to the policy management table 265 and the scope management table 266, the namespace management infrastructure 260 links the policy management table 265 and the scope management table 266 of any one of the namespaces 261 selected by the namespace selector 264 to the policy determination unit 242 based on the namespace selected by the namespace selection unit 241.
[0059] The policy determination unit 242 acquires user information, including a role and a scope, for an authenticated user from the user authentication unit 232. In addition, the policy determination unit 242 acquires information on a resource targeted by a requested resource access command and an operation on the resource from the command acquisition unit 213 of the user terminal 100.
[0060] The policy determination unit 242 compares the acquired information with the access policy information (policy information) stored in the policy management table 265 and the access range information (scope information) stored in the scope management table 266, which are associated with any of the namespaces 261 in the namespace management infrastructure 260, and determines whether the user 200 has the right to access the resource range of the requested resource type and the right to execute operations.
[0061] The policy management table 265 stores policy information used by the policy determination unit 242. The policy information includes, for example, a role, an authority granted to the role, a resource to which the authority allows access, and a determination rule that associates an operation permitted on the resource. The policy determination unit 242 refers to the policy management table 265 and determines whether the role assigned to the user 200 authenticated by the user authentication unit 232 is granted the authority to execute the requested resource access and operation on the resource. The policy determination unit 242 also refers to the scope management table 266 and determines whether the scope assigned to the user 200 authenticated by the user authentication unit 232 is granted the authority to access the requested resource range.
[0062] If the policy determination unit 242 determines that the user 200 has the right to access the resource range of the requested resource type and the right to execute the requested operation, the access authorization unit 243 authorizes the access to and operation of the resource. The access authorization unit 243 transmits an authorization code to the resource use application 220.
[0063] The role and scope assignment information held in any or all of the resource-using application 220, the authentication infrastructure 230, and the authorization infrastructure 240 may be discarded together with the session information when the session validity period ends.
[0064] In another example, when the retained user information is updated at a necessary timing using a normal means for assigning roles and scopes to users, it may be synchronized with the role and scope assignment information in the user management table 263 of the authentication infrastructure 230 and used when a new session is started. This allows policy determination to be performed based on the existing role and scope assignment information when a new resource access is requested by the same user after the session validity period has expired.
[0065] The resource management infrastructure 250 manages resources such as storage resources (volumes, pools, file directories, etc.), compute resources (VMs, containers, etc.), network resources (domains, ports, channels, protocols, etc.), etc. The resource management infrastructure 250 includes one or more resources 25.
[0066] For example, resource 25A is a volume of a data storage. Resource 25B is a file directory of a data storage. Resource 25C is a VM. Resource 25D is a container. Resource 25E is a domain of a network resource. Resource F 25F is a port of a network resource.
[0067] 2 shows an example of the flow of authentication, authorization, and resource access processing according to a comparative example. The authentication and authorization protocol may be executed based on standards such as OAuth2, OpenID Connect, and SAML. Data (e.g., various tokens) containing information required for authentication and authorization may be exchanged between the user terminal 100, the resource use application 220, the authentication infrastructure 230, and the authorization infrastructure 240, and authentication and authorization processing may be executed while maintaining security. As described above, the user 200 uses the user terminal 100 to transmit a resource access command.
[0068] FIG. 3 shows an example of a resource access command issued by the command acquisition unit 213 of the user terminal 100. As shown in FIG.
[0069] The resource access command has information such as a command item 311 and a specification for each item 312. The item 311 indicates the item. The specification 312 indicates a specific value for the item. The resource access execution unit 223 issues such a resource access command to the resource management infrastructure 250.
[0070] The resource access command specifies the target resource, the operation on the resource, and parameters for the operation. For example, the storage resource access can be executed using an application programming interface such as a REST API. The resource to be accessed is, for example, a data storage area of a storage system such as a pool or a volume. As described above, the resource to be accessed and operated is not limited to a storage resource.
[0071] A resource URI (Universal Resource Identifier) 301 to be accessed identifies the resource (a volume in this example). For the resource specified by the resource URI 301, the resource access command defines an operation 302 for changing the volume capacity. Parameters specified for the operation 302 include a storage volume ID 303, a volume type 304, and a volume capacity 305. Other examples of the operation 302 include creating a volume, deleting a volume, getting volume information, etc.
[0072] Other examples of resource access include accessing compute resources to create, delete, or modify a virtual machine (VM) or a Docker Container, etc. Other examples of resource access include accessing network resources to obtain information about a specific domain or create a specific network port.
[0073] When a user 200 requests resource access via the user terminal 100, an authentication necessity determination unit 221 in the resource use application 220 determines whether the user 200 has already been authenticated. If the user 200 has not yet been authenticated, the authentication unit 221 requests a user authentication unit 232 in the authentication infrastructure 230 for user authentication.
[0074] The user authentication unit 232 executes user authentication using a single authentication type or a combination of multiple authentication types to determine whether the user is a legitimate user. The authentication method can be a known method used in various authentication systems. It is also possible to outsource the authentication process to an external authentication system.
[0075] FIG. 4 shows an example of the user management table 263.
[0076] The user management table 263 illustrated in FIG. 4 stores user information assigned to a name space that manages tenant 1. The user information stores, for example, a user name, a group to which the user belongs, a job title, an e-mail address, a password, information for verifying biometric information, access date and time, and an assigned role and scope. In FIG. 4, examples of information included in the user information include a user ID 401, a user name 402, a group name to which the user belongs 403, a role name 404, and a scope 405. The user ID 401 represents the user ID. The user name 402 represents the name of the user. The group name 403 represents the name of the user group to which the user belongs. The role name 404 represents the name of the role of the user that belongs to the user group. The scope 405 represents the label of the range of the resource to be accessed.
[0077] According to the example shown in FIG. 4, user 1, group S1, role 2, role 4, role 10, role 12, and tenant 1 scope are set for a user with ID 1. Role name 404 and scope 405 are assigned when the user is registered in a namespace that manages a tenant that is subject to access control. For example, user 1 belongs to group 1, and is assigned role 2, role 4, role 10, role 12, and tenant 1 scope. User 2 belongs to group T1, and is assigned role 3, role 4, role 11, role 12, and tenant 1 scope. User 3 and user 4 belong to group T1-2, and are assigned role 4, role 12, and tenant 1 scope.
[0078] FIG. 5 shows an example of the policy management table 265 for storing policy information.
[0079] For each role, an operation for which execution authority is granted is associated with a target resource type. Specifically, the policy management table 265 illustrated in Fig. 5 has information such as a role ID 501, a role name 502, and a policy 503 for each role. The role ID 501 indicates the ID of the role. The role name 502 indicates the name of the role. The policy 503 includes information such as a resource type 504 associated with the role and an operation 505 for the resource.
[0080] For example, role 1 is granted the authority to access volume ( / Obj / Volume), LUN ( / Obj / LUN), pool ( / Obj / Pool), drive ( / Obj / Drive), performance ( / Obj / Performance), and compute node ( / Obj / Compute_node) as target resource types, and is granted the authority to obtain information (GET) as an operation on those resource types.
[0081] Role 2 is given the creation (POST) operation authority for the volume resource type ( / Obj / Volume), role 3 is given the update (PATCH) operation authority for the volume resource type ( / Obj / Volume), and role 4 is given the reference (GET) operation authority for the volume resource type ( / Obj / Volume). Based on this, for example, a user assigned role 1 is given the information acquisition authority for the volume, LUN, pool, performance, and compute node resource types. A user assigned role 2 is given the creation authority for the volume resource type, and a user assigned role 3 is given the update authority for the volume resource type. The policy management table may be defined independently for each name space, or a common policy management table may be used for the entire system.
[0082] FIG. 6 shows an example of a scope management table 266 according to a comparative example.
[0083] The scope management table 266 illustrated in Fig. 6 stores scope information of tenant 1. The scope information includes information such as a scope name, a resource type, and an access range for the resource type. According to the example illustrated in Fig. 6, for example, the scope management table 266 includes information such as a scope ID 601, a scope name 602, a resource type 603, and an access range 604. The scope ID 601 represents the ID of the scope. The scope name 602 represents the name of the scope. The resource type 603 represents the type of the resource. The access range 604 represents the range of the resource.
[0084] According to the example shown in FIG. 6, volume ( / Obj / Volume) and compute node ( / Obj / Compute_node) are specified as target resource types of the tenant 1 scope, Volume_ID=1 to 9 are assigned as the access range of the volume resource type, and Compute_node_ID=1 to 5 are assigned as the access range of the compute node resource type. This allows a user to whom the tenant 1 scope is assigned to access the access ranges of Volume_ID=1 to 9 of the volume resource type and Compute_node_ID=1 to 5 of the compute node resource type. In the example shown in FIG. 4, the tenant 1 scope is assigned to user 1. Therefore, user 1 can access the access range of the resource type defined as the tenant 1 scope.
[0085] For example, if User 1 registered in a namespace that manages Tenant 1 also wants to access resources in Tenant 2, the user is registered with the Tenant 2 scope assigned to the namespace that manages Tenant 2. In this case, User 1 needs to perform user authentication and access authorization independently when accessing resources associated with Tenant 1 and when accessing resources associated with Tenant 2.
[0086] FIG. 7 illustrates an example of multi-tenant management according to a comparative example.
[0087] In the example shown in FIG. 7, system resources outside the tenant management are also managed by using the system namespace according to this logical configuration. In the system namespace 261-1, which is an example of the namespace 261, a system administrator is registered as a user and belongs to the group S0. A system editing role and a system scope are assigned to the group S0. The "system resource" is a resource managed by the system administrator, and is all resource types in the storage system 130 (e.g., pool, port, drive, storage node, etc.). The "system editing role" is a role that permits editing operations such as creation, deletion, setting change, and update for resources belonging to the system resource (e.g., "role 5" and "role 6" illustrated in FIG. 5). The "system scope" specifies the system resource as the access range. A user belonging to the group S0 has the authority to execute operations specified by the system editing role for the resource access range specified by the system scope. Since the system administrator belongs to the group S0, the system administrator can execute operations permitted by the system editing role for the system resource.
[0088] In the tenant 1 namespace 261-2, which is another example of the namespace 261, a system administrator and a tenant 1 administrator are registered as users. The system administrator belongs to group S1, and the tenant 1 administrator belongs to group T1. A resource creation role and a tenant 1 scope are assigned to group S1. A resource update role and a tenant 1 scope are assigned to group T1. The "tenant 1 resource" is a resource in an access range associated with tenant 1, among resources such as volumes and compute nodes. The "resource creation role" is a role that permits a creation operation (for example, "role 2" and "role 10" illustrated in FIG. 5) for a resource belonging to the tenant 1 resource. The "resource update role" is a role that permits an update operation such as a setting change (for example, "role 3" and "role 11" illustrated in FIG. 5) for a resource belonging to the tenant 1 resource. The "tenant 1 scope" specifies the tenant 1 resource as an access range. A user belonging to group S1 has the authority to execute an operation specified by the resource creation role for the tenant 1 resource specified by the tenant 1 scope. Furthermore, a user belonging to group T1 has the authority to execute an operation defined by the resource update role on the tenant 1 resource defined by the tenant 1 scope.
[0089] The system administrator registered in the tenant 1 namespace 261-2 belongs to group S1 and can therefore execute operations permitted by the resource creation role on the tenant 1 resources. In addition, the tenant 1 administrator registered in the tenant 1 namespace 261-2 belongs to group T1 and can therefore execute operations permitted by the resource update role on the tenant 1 resources.
[0090] For the namespace 261-3 for tenant 2, which is yet another example of the namespace 261, user management can be performed in the same manner as for the namespace 261-2 for tenant 1. When managing yet another tenant, a namespace for the tenant is added and similar management is performed. For example, in order for one system administrator to perform necessary operations on resource access ranges associated with different namespaces, such as the system resource, the tenant 1 scope, and the tenant 2 scope, user registration and management for each namespace is required, and one user ends up handling multiple account information, which makes management cumbersome.
[0091] As a method for avoiding the complication of performing authentication and authorization independently for each tenant, there is an example method shown in FIG.
[0092] FIG. 8 illustrates another example of multi-tenant management according to a comparative example.
[0093] According to the example shown in FIG. 8, multiple tenants are managed in a single namespace. For example, a system administrator, a tenant 1 administrator, and a tenant 2 administrator are registered as users in the system namespace 261-1. The system administrator belongs to group S, the tenant 1 administrator belongs to group T1, and the tenant 1 administrator belongs to group T2. Group S is assigned a system editing role and a resource creating role, a system scope, a tenant 1 scope, and a tenant 2 scope. Group T1 is assigned a resource updating role and a tenant 1 scope. Group T2 is assigned a resource updating role and a tenant 2 scope. The roles, scopes, and resource definitions are the same as those in FIG. 7, so a description thereof will be omitted.
[0094] A user belonging to group S has the authority to execute operations defined by the system edit role for system resources defined by the system scope, and also has the authority to execute operations defined by the resource create role for Tenant 1 resources defined by the Tenant 1 scope and Tenant 2 resources defined by the Tenant 2 scope. Furthermore, a user belonging to group T1 has the authority to execute operations defined by the resource update role for Tenant 1 resources defined by the Tenant 1 scope. Furthermore, a user belonging to group T2 has the authority to execute operations defined by the resource update role for Tenant 2 resources defined by the Tenant 2 scope.
[0095] Since the system administrator belongs to group S, he / she can execute operations stipulated by the system editing role for system resources, operations permitted by the resource creation role for tenant 1 resources, and operations permitted by the resource creation role for tenant 2 resources. When managing another tenant, a tenant administrator is registered and similar management is performed. A user registered in a single namespace in this way can access and operate multiple tenant resources including system resources. However, in this case, components defined by RBAC, such as users and groups, within the namespace must be registered uniquely, so for example, users with the same user name cannot be registered for management in the same namespace even if the tenants are different. In other words, independence between tenants cannot be guaranteed.
[0096] Therefore, multi-tenant management (which will be described with reference to FIG. 9 and subsequent figures) that solves both the problem regarding the multi-tenant management illustrated in FIG. 7 and the problem regarding the multi-tenant management illustrated in FIG. 8 is developed.
[0097] Fig. 9 shows an example of the logical configuration of a computer system according to this embodiment. With reference to Fig. 9, differences from the computer system shown in Fig. 2 will be mainly described.
[0098] Unlike the namespace management infrastructure 260 described in FIG. 2, the namespace management infrastructure 910 does not allocate a scope management table for each namespace. Scope information is stored in an entire scope management table 912 in the namespace management infrastructure 910 and managed collectively. The entire scope management table 912 is managed by a scope management unit 913. A scope to be allocated to a user corresponding to information stored in a user management table 914 is selected from the entire scope management table 912. Therefore, it is possible to allocate a scope that specifies an access range of resources associated with a tenant other than the one to which the user belongs to a user. As a result, a user registered in a namespace that manages a system or a user registered in a namespace that manages a specific tenant can access resources in an access range associated with a namespace to which the user does not belong as well as the namespace to which the user belongs by authenticating the user only in the namespace to which the user belongs and by performing authorization based on user information and policy information specified in the namespace.
[0099] FIG. 10 shows an example of the entire scope management table 912.
[0100] The entire scope management table 912 stores scope information that specifies the access range for each resource type associated with a plurality of tenant management namespaces. The scope information includes, for each scope, a scope ID 1001, a scope name 1002, a resource type 1003, and an access range 1004, which are the same components as those shown in FIG. 6. The scope information also includes, for each scope, a specifiable namespace 1005, which is information on the namespace in which the scope can be specified. In the example shown in FIG. 10, for example, a pool ( / Obj / Pool), a port ( / Obj / Port), a drive ( / Obj / Drive), and a storage node ( / Obj / Storage_node) are specified as the target resource types of the system scope, and the entire system is assigned as the access range of each resource type. Also, volume ( / Obj / Volume) and compute node ( / Obj / Compute_node) are specified as target resource types of the tenant 1 scope, and Volume_ID=1 to 9 are assigned as the access range of the volume resource type, and Compute_node_ID=1 to 5 are assigned as the access range of the compute node resource type. This allows a user to whom the tenant 1 scope is assigned to access the access ranges of Volume_ID=1 to 9 of the volume resource type and Compute_node_ID=1 to 5 of the compute node resource type. Also, the namespaces that can be specified as access targets for the tenant 1 scope are the system management namespace and the tenant 1 management namespace. Similarly, scopes that define resource ranges associated with tenants accessed by users, such as tenant 2 scope and tenant 3 scope, are registered.
[0101] FIG. 11 shows an example of the user management table 914.
[0102] The user management table 914 is an example of a user management table managed in the system management namespace. The user management table 914, like the table 263 illustrated in FIG. 4, has, for example, a user ID 1101, a user name 1102, a group name 1103, a role name 1104, and a scope 1105 as information included in the user information. The information 1101 to 1105 is the same as the information 401 to 405 illustrated in FIG. 4. User 1, who is a system administrator, is assigned role 1, role 5, role 6, and system scope. Therefore, user 1 can access the system resources defined by the system scope, and can perform operations on the system resources defined by role 1, role 5, and role 6. User 2, who is another system administrator, is assigned role 1, role 2, role 5, role 6, role 10, system scope, and tenant 1 scope. Therefore, User 1 can perform operations defined by Role 1, Role 5, and Role 6 on system resources defined by the system scope, and operations defined by Role 2 and Role 10 on tenant 1 resources defined by the tenant 1 scope.
[0103] The management of tenant 1 is performed using the user management table 263 of the namespace for managing tenant 1 shown in Fig. 4. Therefore, components defined by RBAC such as users and user groups in the namespace for managing the system can be registered in duplicate in the namespace for managing tenant 1, for example. The same applies to the management of other tenants.
[0104] FIG. 12 shows an example of the logical configuration of the scope management unit 913.
[0105] A user such as an administrator who manages the entire system sets the setting value of the scope information illustrated in FIG. 10 using a scope setting I / F (interface) 1201, for example, when creating a tenant or updating tenant management information. The scope setting I / F 1201 may be configured using dedicated software and / or hardware, or may be configured as a part of a user interface function such as a GUI (Graphical User Interface) or a CLI (Command Line Interface) that manages a storage system such as a storage management interface. The scope information set at this time includes a designation of a name space to which the scope is permitted to be assigned as a resource access range. A scope setting value registration unit 1202 of the scope management unit 913 stores the scope setting value set by a user such as a system administrator via the scope setting I / F 1201 in an entire scope management table 912. At this time, restrictions may be set in advance on the setting range of setting values such as the resource type referenced by the setting target scope, the access range, and the specifiable name space, and a function may be provided in the scope setting I / F 1201 or the scope setting value registration unit 1202 to limit the range of scope information setting values that can be set by the user. The setting values may be limited to the limited range by presenting only the settable setting values to the user in the scope setting I / F 1201, or by rejecting the setting in the scope setting value registration unit 1202 if the setting value entered by the user is outside the limited range.
[0106] FIG. 13 shows an example of multi-tenant management according to this embodiment.
[0107] In the example of FIG. 13, in the system management namespace 911-1, which is an example of the namespace 911, a system administrator 1 is registered as a user and belongs to a group S1. A system editing role and a system scope are assigned to the group S1. A user belonging to the group S1 has the authority to execute operations defined by the system editing role for the resource access range defined by the system scope. Since the system administrator 1 belongs to the group S1, he or she can execute operations permitted by the system editing role for the system resources defined by the system scope.
[0108] Furthermore, a system administrator 2 is registered as a user and belongs to group S2. A system editing role and a resource creation role, as well as a system scope, a tenant 1 scope, and a tenant 2 scope are assigned to group S2. A user belonging to group S2 has the authority to execute an operation defined by the system editing role on a system resource defined by the system scope. A user belonging to group S2 has the authority to execute an operation defined by the resource creation role on a tenant 1 resource defined by the tenant 1 scope. A user belonging to group S2 has the authority to execute an operation defined by the resource creation role on a tenant 2 resource defined by the tenant 2 scope. Since system administrator 2 belongs to group S2, he can execute an operation defined by the system editing role on a system resource. Furthermore, system administrator 2 can execute an operation defined by the resource creation role on a tenant 1 resource and a tenant 2 resource.
[0109] In the example of FIG. 13, system administrator 2 belongs to group S2, and group S2 is assigned the system editing role and resource creation role, as well as the system scope, tenant 1 scope, and tenant 2 scope. However, for example, as shown in FIG. 14, even if group S2-1 is assigned the system editing role and system scope, group S2-2 is assigned the system resource creation role and tenant 1 scope, and system administrator 2 belongs to groups S2-1 and S2-2, similar permission settings can be performed.
[0110] In the tenant 1 namespace 911-2 illustrated in FIG. 13, the tenant 1 administrator is registered as a user and belongs to group T1. A resource update role and tenant 1 scope are assigned to group T1. A user belonging to group T1 has the authority to execute an operation defined by the resource update role on the tenant 1 resource defined by the tenant 1 scope. Since the tenant 1 administrator registered in the tenant 1 namespace belongs to group T1, he or she can execute an operation permitted by the resource update role on the tenant 1 resource. For the tenant 2 namespace 911-3, which is yet another example of the namespace 261, user management can be performed in the same manner as for the tenant 1 namespace. When managing yet another tenant, a tenant namespace is added and similar management is performed.
[0111] In addition, the operations permitted when the system administrator 2 registered in the system management namespace accesses the tenant 1 resource associated with the tenant 1 management namespace, which is another namespace, may be different from the operations permitted when the tenant 1 administrator registered in the tenant 1 management namespace accesses the tenant 1 resource associated with the tenant 1 management namespace, which is the namespace in which the tenant 1 administrator is registered. In the example of FIG. 13, the operations permitted when the system administrator 2 accesses the tenant 1 resource are the operations authorized by the resource creation role, and the operations permitted when the tenant 1 administrator accesses the tenant 1 resource are the operations authorized by the resource update role. This allows the access authority to a specific resource to be changed depending on the affiliation of the user.
[0112] According to this embodiment, for example, one system administrator can access and operate multiple tenant resources including system resources by registering and managing users in the system management namespace (without the need to register and manage users in other namespaces) for resource access ranges associated with different namespaces, such as system resources, tenant 1 scope, and tenant 2 scope. In addition, since the system administrator and tenant administrator are managed in different namespaces, components defined by RBAC or the like can be registered independently, and therefore, for example, duplicate user names or the like can be registered for each namespace.
[0113] Note that the configuration illustrated in Figure 13 does not prevent the multi-tenant management shown in Figure 7 or the multi-tenant management shown in Figure 8 from being used in combination, so it is also possible to use the multi-tenant management of this embodiment in combination with the multi-tenant management of the comparative example as necessary, such as when transitioning from the multi-tenant management of the comparative example.
[0114] FIG. 15 shows an example of a flow for creating a user and setting an authority in multi-tenant management according to this embodiment.
[0115] 15, a system administrator (a user who manages system resources and resources associated with tenants) and a group S to which the system administrator belongs are created and registered in a system management namespace 911-1. A tenant 1 administrator who manages resources associated with tenant 1 and a group T1 to which the tenant 1 administrator belongs are created and registered in a tenant 1 management namespace 911-2. A tenant 2 administrator who manages resources associated with tenant 2 and a group T2 to which the tenant 2 administrator belongs are created and registered in a tenant 2 management namespace 911-3.
[0116] FIG. 16 shows an example of a flow for authenticating and authorizing a system administrator in multi-tenant management according to this embodiment.
[0117] When the system administrator 2 accesses a resource to perform an operation, the system administrator 2 first logs in to the system (storage system 130). The authentication infrastructure 230 shown in Fig. 9 judges whether the person who has logged in is a legitimate user registered in the system management namespace 911-1. After being authenticated (OK) as a legitimate user, the system administrator 2 requests the execution of a resource operation command.
[0118] For example, when the system administrator 2 requests the execution of an edit command for a system resource, the authorization base 240 shown in Fig. 9 judges the execution authority of the requested command based on the user information and policy information set for the user. If authorization is granted (OK), the edit command for the system resource is executed on the resource management base 250 via the resource use application 220 shown in Fig. 9.
[0119] Furthermore, when the system administrator 2 requests the execution of a command to create a resource for tenant 1, the authorization infrastructure 240 shown in Fig. 9 judges the execution authority of the requested command based on the user information and policy information set for the user. If authorization is permitted (OK), a command to create a resource for tenant 1 is executed on the resource management infrastructure 250 via the resource use application 220 shown in Fig. 9.
[0120] Furthermore, when the system administrator 2 requests the execution of a command to create a resource for tenant 2, the authorization infrastructure 240 shown in Fig. 9 determines the execution authority of the requested command based on the user information and policy information set for the user. If authorization is permitted (OK), a command to create a resource for tenant 2 is executed on the resource management infrastructure 250 via the resource use application 220 shown in Fig. 9. At this time, authentication of the system administrator is required only once.
[0121] Note that this figure (and the subsequent Figures 17 and 18) omits the flow for when the result of the authentication and authorization processing is disapproval. However, if the result of the authentication or authorization processing is disapproval, normal authentication and authorization procedures may be executed, such as presenting error information to the user via a user terminal or the like and stopping the processing or requesting re-entry of information required for authentication or authorization.
[0122] FIG. 17 shows an example of a flow for authenticating and authorizing the tenant 1 administrator in multi-tenant management according to this embodiment.
[0123] When the Tenant 1 administrator accesses and operates a resource associated with Tenant 1, he or she first logs in to the system (storage system). The authentication infrastructure 230 shown in FIG. 9 judges whether the person who has logged in is a legitimate user registered in the Tenant 1 management namespace. After being authenticated (OK) as a legitimate user, the Tenant 1 administrator requests the execution of a resource operation command. The authorization infrastructure 240 shown in FIG. 9 judges the execution authority of the requested command based on the user information and policy information set for the user. If authorization is permitted (OK), a command to create a resource for Tenant 1 is executed on the resource management infrastructure 250 via the resource use application 220 shown in FIG. 9.
[0124] As illustrated in FIG. 18, the authentication and authorization flow similar to that illustrated in FIG. 17 is also carried out for the tenant 2 administrator.
[0125] FIG. 19 illustrates an example of a transition from the multi-tenant management illustrated in FIG. 8 to the multi-tenant management illustrated in FIG.
[0126] The namespace management infrastructure 260 extracts information representing the tenant 1 administrator, who was registered and managed in the system management namespace 1901, the group T1 to which the tenant 1 administrator belongs, and the role and scope assigned to the group T1 from the user management table managed by the system management namespace 1901, and stores the information in the user management table managed by the tenant 1 management namespace 1902. At this time, if the tenant 1 management namespace 1902 has not been created, the namespace management infrastructure 260 first creates the tenant 1 management namespace 1902. The tenant 1 scope is managed across namespaces by the entire scope management table 912 and the scope management unit 913. Therefore, even if the registration of the tenant 1 administrator moves from the system management namespace 1901 to the tenant 1 management namespace 1902, the affiliation of the tenant 1 administrator to the group T1 is maintained. In this case, by continuing to assign the Tenant 1 scope to group S to which the system administrator registered in the system management namespace 1901 belongs, the system administrator registered in the system management namespace 1901 has the authority to access and operate the Tenant 1 resources specified by the Tenant 1 scope.
[0127] FIG. 20 shows another example of multi-tenant management according to this embodiment.
[0128] A tenant administrator can access resources associated with multiple tenants. In the example of FIG. 20, a resource creation role, a tenant 1 scope, and a tenant 2 scope are assigned to group T1_2 registered in the tenant 1 management namespace 911-2. By making the tenant 1_2 administrator belong to group T1_2, the tenant 1_2 administrator can access the tenant 1 resources and the tenant 2 resources. For this purpose, it is necessary to register the tenant 1 management namespace in advance as a namespace that can specify the tenant 2 scope in the entire scope management table 912 shown in FIG. 10.
[0129] FIG. 21 shows yet another example of multi-tenant management according to this embodiment.
[0130] Users registered in different namespaces are managed uniquely in the entire multi-tenant management system (the storage system 130 in this embodiment). When managing users in different namespaces, it is usually possible to create and register the same user name in different namespaces. However, when different departments in the same organization are different tenants, it may be desirable to avoid duplication of user names in the entire system for reasons such as management with unique user names in the organization. In such a case, when registering a user in a namespace for tenant management, for example, the namespace management platform 910 first registers the user in a single namespace such as the namespace for system management 911-1. After that, the namespace management platform 910 verifies that the user to be registered has not already been registered in the namespace for system management 911-1, and then registers the user in the namespace for tenant management. If the user to be registered has already been registered in the namespace for system management 911-1, the namespace management platform 910 does not permit the user to be registered. As a result, users registered in all namespaces of the multi-tenant management system are registered in the system management namespace 911-1, and users can be managed uniquely within the multi-tenant management system. A similar method can be used for other components that require unique management defined by RBAC, such as group names. Note that for users in the system management namespace corresponding to users to be registered in the tenant management namespace, it is sufficient for the user information to include a user ID and a user name, and information such as a group, role, and scope is not essential.
[0131] FIG. 22 shows yet another example of multi-tenant management according to this embodiment.
[0132] According to the example shown in FIG. 22, a user corresponding to a user registered in a tenant management namespace of the system management namespace 911-1 is managed in association with information on the namespace in which the user is registered. In a system in which users are registered and managed independently for each namespace, when performing user authentication, if information for determining which namespace the user requesting authentication is registered in is not provided, the namespace management platform 910 must repeat authentication operations in order for all namespaces present on the system until user information such as the user name, password, and biometric information of the user requesting authentication matches and authentication is successful. In a case where there are many namespaces on the system, the lower the order in which authentication is performed for the namespace in which the user requesting authentication is registered, the longer it takes to perform authentication, which may impair user convenience. Therefore, information on the namespace in which the user is registered is provided to the user registered in the system management namespace associated with the user registered in the tenant management namespace. The correspondence between the user and the namespace may be added to the user management table 914 shown in Fig. 11, for example, or an independent table may be prepared. When a user requests authentication, the authentication infrastructure 230 may first execute authentication for the system management namespace 911-1. If the matched user is registered in another tenant management namespace, the authentication infrastructure 230 may extract information on the namespace in which the user is registered based on the above-mentioned user and namespace correspondence information, and then execute authentication for the extracted namespace. This makes it possible to shorten the time required for authentication.
[0133] FIG. 23 shows yet another example of multi-tenant management according to this embodiment.
[0134] The namespace management infrastructure 910 holds a user affiliation table 2301 that stores information associating all users registered in all namespaces to be authenticated with the namespaces in which each user is registered. When a user authentication is requested from the system, the namespace management infrastructure 910 first refers to the user affiliation table 2301, extracts the namespace in which the user to be authenticated is registered, and executes authentication for that namespace. This makes it possible to select the namespace in which the user is registered whenever user authentication is executed, thereby shortening the time required for authentication.
[0135] FIG. 24 shows an example of the user affiliation table 2301 .
[0136] 24, the system administrator 1 is associated with the system management namespace. Also, the tenant 1 administrator is associated with the tenant 1 management namespace. For example, when the tenant 1 administrator user requests authentication, the user affiliation table 2301 is checked, and it is extracted that the namespace in which the tenant 1 administrator user is registered is the tenant 1 management namespace, and authentication is performed for the tenant 1 management namespace.
[0137] The present invention is not limited to the above-described embodiment, and various modifications are included. For example, the above-described embodiment has been described in detail to clearly explain the present invention, and is not necessarily limited to those having all of the configurations described. In addition, it is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is possible to add, delete, and / or replace a part of the configuration of each embodiment with another configuration.
[0138] In addition, the above-mentioned configurations, functions, processing units, etc. may be realized in part or in whole by hardware, for example, by designing them as integrated circuits. In addition, the above-mentioned configurations, functions, etc. may be realized in software by a processor interpreting and executing a program that realizes each function. Information such as the program, table, file, etc. that realizes each function can be stored in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card or SD card.
[0139] In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are connected to each other.
[0140] The above description can be summarized, for example, as follows. The following summary may include supplementary explanations and explanations of modifications of the above description.
[0141] The multi-tenant management system may be a system having multiple resources that can be used by multiple tenants (e.g., storage system 130), or may be an entity that exists between a system having multiple resources and a user, and the multi-tenant management system itself may not have multiple resources that can be used by multiple tenants. In the following description, a "tenant" may be an element such as an organization or a department within an organization, or an element that manages multiple organizations or departments as a whole (i.e., a "tenant" that manages one or more "tenants").
[0142] The multi-tenant management system includes an interface device (e.g., a host I / F 132), a storage device (e.g., a memory 136), and a processor (e.g., a processor 135) connected thereto. The interface device receives, from a user terminal 100, user information that is information about a user, tenant information that is information about a tenant, and a resource access request that specifies a resource to be accessed among a plurality of resources. In the resource access request, an operation desired by the user may be specified. The storage device stores, for each of a plurality of namespaces (e.g., 261 or 911) including a namespace for each tenant, user management information (e.g., a user management table 914 or 263) including information about a user associated with a tenant corresponding to the namespace, and overall scope management information (e.g., an overall scope management table 912) that is information representing a resource access range corresponding to the tenant scope for each of all tenant scopes. For each namespace, the user management information includes information representing a tenant scope that is a label of a resource access range for each of one or more tenants. The user management information may include information representing one or more operations.
[0143] The processor selects a namespace corresponding to the tenant represented by the accepted tenant information. The processor performs an authentication determination, which is a determination as to whether the accepted user information matches information possessed by user management information of the selected namespace. If the result of the authentication determination is true, the processor performs an authorization determination, which is a determination as to whether a resource to be accessed according to the accepted resource access request corresponds to any tenant scope represented by the user management information of the selected namespace and belongs to a resource access range identified from the entire scope management information. The authorization determination may include a determination as to whether an operation according to the accepted resource access request corresponds to an operation represented by the user management information of the selected namespace. If the result of the authorization determination is true, the processor executes the accepted resource access request.
[0144] This allows users to access resources of multiple tenants without authentication for each namespace, while ensuring independence between tenants. Specifically, since namespaces are an element whose purpose is separation (independence), multiple namespaces are not normally shared. However, management of tenant scope is shared among different namespaces (spanning different namespaces). This makes it possible to eliminate the hassle of authentication and authorization for each namespace (the hassle of requiring authentication and authorization for the namespace of each tenant when a user manages resources of different tenants) while maintaining independence between tenants.
[0145] The multiple namespaces may include a system management namespace (for example, namespace 911-1) as a namespace corresponding to an unspecified tenant. One or more tenant scopes associated with the system management namespace may include a system scope to which the entire resource range is associated. This allows a user to access both the resources corresponding to the system scope and the resources corresponding to the tenant scope through authentication in the system management namespace without authentication for another namespace. Specifically, for example, the user management information of the system management namespace may represent a tenant scope for a tenant corresponding to a namespace other than the system management namespace. When the system management namespace is selected from the accepted tenant information and the result of the authentication determination is true using the user management information of the system management namespace, the processor may, in the authorization determination, identify a tenant scope for a tenant corresponding to another namespace associated with the system management namespace based on the resource access request, and identify the resource access range corresponding to the tenant scope from the entire scope management information.
[0146] For each namespace, the user management information may include, for each group of users, information that indicates one or more tenant scopes associated with the group. In other words, a tenant scope can be associated with each group of users.
[0147] When information on a first user of a first tenant and information on a second user of a second tenant are included in user management information of a single namespace (e.g., namespace 911-2 in FIG. 20), the processor may generate a namespace (e.g., namespace 911-3 in FIG. 20) corresponding to the second tenant and transfer information on the second user of the second tenant to the user management information of the generated namespace. This makes it possible to transition from management of multiple tenants in a single namespace to management that ensures independence between tenants.
[0148] The user management information of a certain namespace (e.g., namespace 911-1 in FIG. 22) among the multiple namespaces may include information about one or more users registered in the user management information of one or more namespaces different from the certain namespace. The user management information of a certain namespace may include information representing a namespace in which information about each of the one or more users is registered. The processor may identify a namespace corresponding to the user represented by the user information from the user management information of a certain namespace (e.g., tenant 2 namespace 911-3 corresponding to the tenant 2 administrator), and perform authentication determination based on the user management information of the identified namespace and the received user information (e.g., user information of the tenant 2 administrator). This allows the user to be expected to be authenticated for the namespace in which the user is registered, without attempting authentication for each namespace to find the namespace in which the user is registered.
[0149] The storage device may store user affiliation information (e.g., user affiliation table 2301 in FIG. 24) which is information indicating the namespace in which the user is registered for each user. The processor may identify the namespace corresponding to the user indicated by the user information from the user affiliation information, and perform authentication determination based on the user management information of the identified namespace and the above user information. This allows the user to be expected to be authenticated for the namespace in which the user is registered, without attempting authentication for each namespace in order to search for the namespace in which the user is registered. [Explanation of symbols]
[0150] 100 user terminals 110 Host Server 120 Management Server 130 Storage Systems
Claims
1. an interface device that receives, from a user terminal, user information that is information about a user, tenant information that is information about a tenant, and a resource access request that specifies a resource to be accessed from among a plurality of resources; a storage device that stores user management information including information on a user associated with a tenant corresponding to each of a plurality of namespaces including a namespace for each tenant; a processor connected to the interface device and the storage device; Equipped with For each namespace, the user management information includes information representing a tenant scope, which is a label for a resource access scope for each of one or more tenants; the storage device stores, for each of all tenant scopes, entire scope management information which is information indicating a resource access range corresponding to the tenant scope; The processor, Selecting a namespace corresponding to the tenant represented by the received tenant information; performing an authentication determination as to whether the received user information matches information contained in user management information of the selected name space; When a result of the authentication determination is true, an authorization determination is made as to whether or not a resource to be accessed in accordance with the received resource access request corresponds to any one of the tenant scopes represented by the user management information of the selected namespace and belongs to a resource access range identified from the entire scope management information; If the result of the authorization decision is true, executing the accepted resource access request. Multi-tenant management system.
2. the plurality of namespaces includes a namespace for system management as a namespace corresponding to an unspecified tenant, The one or more tenant scopes associated with the system management namespace include a system scope to which a range of entire resources is associated. The multi-tenant management system according to claim 1 .
3. the user management information of the system management namespace represents a tenant scope for a tenant corresponding to a namespace different from the system management namespace; When the system management namespace is selected from the received tenant information, and the result of the authentication determination is true using user management information of the system management namespace, the processor, in the authorization determination, identifies a tenant scope for a tenant corresponding to the other namespace that is associated with the system management namespace based on the resource access request, and identifies a resource access range corresponding to the tenant scope from the entire scope management information. The multi-tenant management system according to claim 2 .
4. For each of the namespaces, the user management information includes, for each group of users, information that represents one or more tenant scopes associated with the group. The multi-tenant management system according to claim 1 .
5. the plurality of resources are resources of a storage system; The multi-tenant management system according to claim 1 .
6. When information about a first user of a first tenant and information about a second user of a second tenant are included in user management information of a single namespace, the processor: Creating a namespace corresponding to the second tenant; Transferring information about the second user of the second tenant to the generated user management information of the namespace; The multi-tenant management system according to claim 1 .
7. user management information of a certain namespace among the plurality of namespaces includes information on one or more users registered in user management information of one or more namespaces different from the certain namespace; The multi-tenant management system according to claim 1 .
8. the user management information of the certain namespace includes, for each of the one or more users, information indicating a namespace in which information about the user is registered; The processor, Identifying a namespace corresponding to a user represented by the user information from the user management information of the certain namespace; performing the authentication determination based on user management information of the identified namespace and the user information; The multi-tenant management system according to claim 7 .
9. the storage device stores user affiliation information, which is information representing a namespace in which the user is registered for each user; The processor, Identifying a namespace corresponding to the user represented by the user information from the user affiliation information; performing the authentication determination based on user management information of the identified namespace and the user information; The multi-tenant management system according to claim 1 .
10. The computer receives, from a user terminal, user information that is information about a user, tenant information that is information about a tenant, and a resource access request that specifies a resource to be accessed from among a plurality of resources; The computer selects a namespace corresponding to the tenant represented by the received tenant information, The computer performs an authentication determination as to whether the received user information matches information contained in user management information of the selected namespace; For each of a plurality of namespaces including a namespace for each tenant, the user management information includes information on a user associated with a tenant corresponding to the namespace, and information representing a tenant scope which is a label of a resource access range for each of one or more tenants; When a result of the authentication determination is true, the computer performs an authorization determination as to whether or not a resource to be accessed in accordance with the received resource access request corresponds to any of the tenant scopes represented by the user management information of the selected namespace and belongs to a resource access range identified from entire scope management information; the entire scope management information is information that indicates, for each of all tenant scopes, a resource access range corresponding to the tenant scope; If the result of the authorization decision is true, the computer causes the accepted resource access request to be executed. Multi-tenant management methods.
Citation Information
Patent Citations
Data-disclosing system, access control-setting method, and access control-setting program
JP2009237671A
Authentication system, authentication method and program
JP2013008229A
Processing execution device, computer program and processing execution method
JP2013182295A
Fixed content storage within a segmented content platform using namespaces
JP2013509657A
Authority management server and authority management method
JP2015125510A
