SYSTEM, METHOD AND PROGRAM PRODUCT FOR PROVIDING CONTENT BASED DESIGNATIONS FOR PROGRAMMING OBJECTS
A way to define an access control that scales to component architectures. Specifically, the present invention allows annotations to be added to objects, for example in the javadoc section of a Java object, to restrict access to that object. Each annotation comprises a tag that specifies a designated...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A way to define an access control that scales to component architectures. Specifically, the present invention allows annotations to be added to objects, for example in the javadoc section of a Java object, to restrict access to that object. Each annotation comprises a tag that specifies a designated privilege and one or more designees to which the privilege applies. The annotations may designate access options such as which packages, classes, interfaces, fields and/or operations may be visible to another package, class, interface, field and/or operation; which classes are allowed to implement a particular interface; which classes are allowed to instantiate a particular class; and/or which classes/interfaces are allowed to extend a particular class/interface. The annotation may refer to allowed objects directly, may refer to a group of classes having similar names, and/or may use an alias, which refers to an external object designation. |
---|