摘要 |
Inter-related second objects attempt to access a first object-oriented interface defining a method support by an inter-related first object. The first object-oriented interface includes a password argument to limit access thereto. The first and the second objects share a password. The first object-oriented interface has a corresponding second object-oriented interface defining a method supported by the first object, which is required by a predetermined specification but that lacks a password argument to limit access. The password is passed via the first object-oriented interface by the second objects such that the second objects are able to invoke the method. A third object not inter-related with the first and the second objects also attempts to access the first object-oriented interface. However, the third object is not privy to the password, and therefore is unable to invoke the method defined by the first object-oriented interface, although it can query the first object-oriented interface.
|