System and method for loading application classes
First Claim
Patent Images
1. A method, comprising:
- determining, at a processing device, a class invoked by an application at run time;
decoding, at the processing device, a security permission encoded as a security token in the application; and
retrieving, from at least one depository, a class variant from a plurality of class variants associated with the class based at least in part on the security permission;
wherein each of the plurality of class variants is configured to define a corresponding functionality of the application; and
wherein the security token is generated upon installation of the application.
3 Assignments
0 Petitions
Accused Products
Abstract
In an application, variants of a class may be generated and associated with different security permissions for the application. When a class is to be loaded, a determination is made as to the application'"'"'s security permissions, e.g. by decoding a security token. The class is then retrieved from a repository that stores class variants matching the required security level. The retrieved class variant, which may have a full or a reduced functionality as appropriate for the security permission may then by loaded.
36 Citations
29 Claims
-
1. A method, comprising:
-
determining, at a processing device, a class invoked by an application at run time; decoding, at the processing device, a security permission encoded as a security token in the application; and retrieving, from at least one depository, a class variant from a plurality of class variants associated with the class based at least in part on the security permission; wherein each of the plurality of class variants is configured to define a corresponding functionality of the application; and wherein the security token is generated upon installation of the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus, comprising:
-
a memory device; and a processing device operatively coupled to the memory device comprising; a request handler; and at least one class loader; wherein the request handler is configured to; process a request for a class invoked by an application at run time; and decode a security permission encoded as a security token in the application; wherein the at least one class loader is configured to retrieve a class variant from a plurality of class variants associated with the class based at least in part on to the security permission; wherein each of the plurality of class variants corresponds to a particular functionality of the application; and wherein the security token is generated upon installation of the application. - View Dependent Claims (10, 11)
-
-
12. A computer-readable storage device including computer-executable instructions stored thereon that, when executed by a processing device, configure the processing device to perform operations comprising:
-
decoding a security permission encoded as a security token in an application; determining a class invoked by the application at run time; selecting a class repository associated with the class; and loading a variant from a plurality of variants corresponding to the class from the class repository based at least in part on the security permission; wherein the security token is generated upon installation of the application. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A device, comprising:
-
a memory device configured to store instructions; and a processing device configured to execute the instructions stored in the memory device to; determine a class invoked by an application at run time; decode a security level encoded as a security token in the application upon installation of the application; select a class repository associated with the security level; and load a class variant from a plurality of class variants corresponding to the class from the class repository. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27)
-
-
28. A method, comprising:
-
decoding, at a processing device, a security permission encoded as a security token in an application; identifying, at the processing device, a requirement for a class in the application at run time; in response to the class not having been previously loaded, loading, at the processing device, a class variant corresponding to the requirement based at least in part on the security permission; creating, at the processing device, an instance of the class variant; and performing, at the processing device, an invocation of the instance of the class variant; wherein the security token is generated upon installation of the application.
-
-
29. A method, comprising:
-
determining, at a processing device, a class invoked by an application at run time; decoding, at the processing device, a security permission encoded as a security token in the application; retrieving, from at least one depository, a class variant from a plurality of class variants associated with the class based at least in part on the security permission; associating each of the plurality of class variants with a corresponding security permission; and associating each of the corresponding security permissions with a class variant repository; wherein each of the plurality of class variants is configured to define a corresponding functionality of the application; wherein the plurality of class variants for the class are stored in a repository with a plurality of class variants for at least another class having equivalent security permissions; and wherein the security token is generated upon installation of the application.
-
Specification