CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2018-052880 filed Mar. 20, 2018.

BACKGROUND

(i) Technical Field

The present invention relates to a relay device and a non-transitory computer readable medium storing a program.

(ii) Related Art

JP5962261B discloses a relay device that relays data between a client device of a user and a service providing device without holding account information for the user using the service providing device. In a case where the user performs an operation of permitting log-in to a cloud service providing device by the relay device, a personal computer receives the operation and transmits a log-in permission response indicating that the user permits log-in, to the cloud service providing device. In a case where the cloud service providing device receives the log-in permission response, the cloud service providing device transmits an access token to the relay device. A control unit of the relay device stores the access token in association with a user ID. Thus, the relay device has an access authority for allowing an access to the cloud service providing device in place of the client device.

SUMMARY

From a viewpoint of ensuring security, a user may access a service providing device on a cloud (referred to as “a cloud service device” below) from a user terminal such as a personal computer (PC) without passing through a relay device and change log-in information. However, there is a problem in this case.

That is, in a system in which image data and the like are stored by accessing a cloud service device from an image processing apparatus such as a multifunctional device via a relay device, in a case where a user changes log-in information by using a user terminal, the log-in information or an access token held by the relay device is already invalid after the log-in information is changed. Thus, a situation in which it is not possible to access the cloud service device even though an attempt to access the cloud service device from the image processing apparatus via the relay device is performed occurs.

Aspects of non-limiting embodiments of the present disclosure relate to a relay device and a non-transitory computer readable medium storing a program.

Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.

According to an aspect of the present disclosure, there is provided a relay device which includes a receiving unit that receives image data from an image processing apparatus and a control unit that controls an update unit that updates log-in information to be generated in a cloud service device in a case where the received image data is transferred to the cloud service device, and the log-in information for the cloud service device is held.

