1. A method for controlling access to a resource of an application in a data-processing device, comprising the steps: registering an access interface of an access-management component at the data-processing device; requesting access to the access interface of the access-management component at the data-processing device by a first application; registering a resource of the first application at the access-management component; actuating a second application by a user who requests access to the resource of the first application; sending an access-authorization query of the first application about the user to the access-management component; and given authorization of the user, granting access to the resource of the first application by the second application.