Controlling Access to a Destination in a Data Processing Network
AssigneeInternational Business Machines Corporation
InventorsAdrian James Preston, David Ware
Life of this patent
Estimating the term…
Abstract
A method and system of controlling access to a destination (17, 23, 24) in a data processing network where the destination is limited to a fixed number of requesters responds to a new request (50) for access from a given requestor (20) by determining whether the fixed number would be exceeded. If the fixed number would not be exceeded (51), the new request is granted by connecting (52) the given requester to the destination. If the fixed number would be exceeded, the liveness of the or each current connection to a respective requester is tested (55). If the liveness test succeeds, the new request is rejected but if the liveness test fails, the new request is granted (52).
Claims14
A computer-implemented method of controlling access to a device in a data processing network where the device is limited to a fixed number of available connections, the method comprising:
- receiving a first request from a client to connect to the device on the data processing network;
- determining whether the fixed number of available connections on the device would be exceeded by connecting the client;
- testing liveness of each connection on the device;
- and
- dropping one of the current connections based on the liveness test;
- and
- connecting the client to the device.
A message broker in a publish/subscribe messaging system compatible with durable subscriptions, the broker comprising:
- a store for storing publications on topics subject to a durable subscription in the event that the durable subscription is inactive;
- and
- a connection control responsive to a request from a client application for a durable subscription topic to determine if any other durable subscription for that topic appears to exist, the connection control including a liveness test for testing the liveness of any such other durable subscription and being arranged to terminate a connection to the other durable subscription if it is not live and to grant access to the requester to the publications store and to subsequent publications on the durable subscription topic.
A computer program product for controlling access to a device in a data processing network where the device is limited to a fixed number of available connections, the computer program product comprising at least one computer usable storage medium having computer usable program code embodied there, the computer usable program code operable for:
- receiving a first request from a client to connect to the device on the data processing network;
- determining whether the fixed number of available connections on the device would be exceeded by connecting the client;
- testing liveness of each connection on the device;
- and
- dropping one of the current connections based on the liveness test;
- and
- connecting the client to the device.
Dependencies are inferred from the claim text.