# US 2021/0176237 A1 · Authentication and authorization system and authentication and authorization method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176237 A1
- Document ID: US20210176237A1
- Status: Published application
- Kind: A1
- Application number: 17/017,960
- Filed: 2020-09-11
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Hitachi, Ltd.
- Applicants: Hitachi, Ltd.
- Inventors: Toshio NISHIDA; Keisuke HATASAKI
- Web page: https://patentgrep.com/patent/US20210176237A1

## CPC

- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L 63/0853: {using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234)}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 21/33: using certificates
- G06F 21/44: Program or device authentication
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 2221/2129: Authenticate client device independently of the user
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The authentication and authorization system includes an application execution unit, a user information storage unit, a token acquisition unit configured to acquire, using the user information acquired from the user information storage unit, an access token from an authorization server that authorizes the application to use the external service when a valid access token is presented via the cooperation unit, and a token storage unit configured to store the acquired access token. The token acquisition unit acquires the access token from the authorization server at a predetermined cycle, and stores it in the token storage unit. When the application uses the external service, the application execution unit requests a cooperation unit to make the application cooperate with the external service using the access token acquired from the token storage unit.

## Claims

### Claim 1

An authentication and authorization system configured to perform authentication and authorization when an external service with which an application executed by a user cooperates is used via a cooperation unit, the authentication and authorization system comprising:
an application execution unit configured to execute the application;
a user information storage unit configured to store user information of the user;
a token acquisition unit configured to acquire, using the user information acquired from the user information storage unit, an access token from an authorization server that authorizes the application to use the external service when a valid access token is presented via the cooperation unit; and
a token storage unit configured to store the access token acquired by the token acquisition unit, wherein
the token acquisition unit is configured to
acquire the access token from the authorization server at a predetermined cycle, and store the acquired access token in the token storage unit, and
the application execution unit is configured to
when the application uses the external service, acquire the access token from the token storage unit, and request the cooperation unit to make the application cooperate with the external service using the acquired access token.

### Claim 2 (depends on 1)

The authentication and authorization system according to claim 1, wherein
the application execution unit cannot access the user information storage unit.

### Claim 3 (depends on 2)

The authentication and authorization system according to claim 2, wherein
the application execution unit, the token storage unit, the token acquisition unit, and the user information storage unit are built on cloud,
the token acquisition unit and the user information storage unit are disposed in the same container, and
the application execution unit and the token storage unit are disposed in a container different from the container in which the token acquisition unit and the user information storage unit are disposed.

### Claim 4 (depends on 3)

The authentication and authorization system according to claim 3, wherein
the user information is stored in advance in the user information storage unit via a predetermined terminal.

### Claim 5 (depends on 1)

The authentication and authorization system according to claim 1, wherein
the application execution unit is configured to
when a token error occurs in which the access token when the cooperation unit is requested to make the application cooperate with the external service is invalid, reacquire an access token from the token storage unit, and re-request the cooperation unit to make the application cooperate with the external service using the reacquired access token.

### Claim 6 (depends on 1)

The authentication and authorization system according to claim 1, wherein
the token acquisition unit is configured to
when a token error occurs in which the access token when the cooperation unit is requested to make the application cooperate with the external service is invalid, reacquire an access token from the authorization server, and store the reacquired access token in the token storage unit, and
the application execution unit is configured to
after the access token reacquired by the token acquisition unit is stored in the token storage unit, reacquire the access token from the token storage unit, and re-request the cooperation unit to make the application cooperate with the external service using the reacquired access token.

### Claim 7 (depends on 1)

The authentication and authorization system according to claim 1, wherein
the user information storage unit rewritably stores acquisition interval information on the access token, and
the token acquisition unit is configured to
acquire the access token from the authorization server at the predetermined cycle based on the acquisition interval information read from the user information storage unit, and store the acquired access token in the token storage unit.

### Claim 8 (depends on 1)

The authentication and authorization system according to claim 1, wherein
the predetermined cycle is a cycle when the access token previously acquired and stored in the token storage unit is updated with a new access token acquired this time from the authorization server within an expiration date of the previous access token.

### Claim 9

An authentication and authorization method performed by an authentication and authorization system configured to perform authentication and authorization when an external service with which an application executed by a user cooperates is used via a cooperation unit, wherein
the authentication and authorization system includes:
an application execution unit configured to execute the application;
a user information storage unit configured to store user information of the user;
a token acquisition unit configured to acquire, using the user information acquired from the user information storage unit, an access token from an authorization server that authorizes the application to use the external service when a valid access token is presented via the cooperation unit; and
a token storage unit configured to store the access token acquired by the token acquisition unit,
the token acquisition unit is configured to
acquire the access token from the authorization server at a predetermined cycle, and store the acquired access token in the token storage unit, and
the application execution unit is configured to
when the application uses the external service, acquire the access token from the token storage unit, and request the cooperation unit to make the application cooperate with the external service using the acquired access token.
