Non pre-authenticated kerberos logon via asynchronous message mechanism7024692Abstract A method and system is provided wherein a multiple number of non-preauthenticated clients and non-preauthenticated principals are seeking to logon into a Kerberos domain. Normally, such logon operations would be held-up and stopped until any one single client or principal had completed his logon authorization. However, the present system uses an asynchronous message mechanism by which any single non-preauthenticated client or non-preauthenticated principal can complete his initial logon operation without having to wait for another's authenticating logon operation to be completed. A series of asynchronous message mechanisms are provided in which any single client or principal can complete and finalize the authentication of his logon without having to wait for the completion of other requesting clients and principals seeking to logon and be authenticated. Claims What is claimed is: Description FIELD OF THE INVENTION
7. HLCNTS (Host LAN Connection Terminal Service)—ClearPath NX terminal service product predicated on the underlying HLCN product. HLCNTS Provides connection based communications between clients using Netware based IPX/NetBIOS and the ClearPath NX. Reference: Unisys Host LAN Connection Terminal Services (HLCNTS) 0.1.4/Version D, Jun. 26, 1995. 8. Asynchronous message (Definition #1)—A message (data in display or non-display format) which is generated by a concurrent independent process yet requiring occasional synchronization and cooperation of other processes). (Definition #2):—A message (data in display or non-display format) which was generated in an environment where asynchronism of processes exists. Reference: "An introduction to operating Systems" by Harvey M. Deitel (Addison-Wesley Publishing Company) First Edition 1984. 9. Synchronous Message #1—A message (data in display or non-display format) which is generated by a concurrent process dependent upon its own environment. #2—A message (data in display or non-display format) which was generated in an environment where synchronism of a single process exists. Reference: "An Introduction to Operating Systems" by Harvey M. Deitel (Addison-Wesley Publishing Company) First Edition 1984. 10. Kerberos Support Library (KSL)—This library provides functions to support the various Kerberos message exchange protocols and a number of User administration functions. It closely interacts with the GSS Library and other system software. Reference: A-EAM Kerberos Support Library—Functional Specification 93187/3 Version C. Published Mar. 6, 1997 by Unisys Corp. 11. Stack Capsulate—A "snapshot" or "outline" of a non-detailed process environment. For explanatory purposes, it is a mid-level overview of the processing environment highlighting events in a sequential order. 12. Dialog No. (Dialog Number)—MARC establishes Dialog(s) Numbers on behalf of a client requesting services. A Dialog Number is the internal/external number associated with a client which is accessing (using) MARC. 13. NX MCP Environment—Unisys Corp. sells computers under the name "ClearPath". For explanatory purposes, the architecture is designated as the ClearPath NX. The ClearPath NX is packaged with both MCP environments (this is the Unisys A Series E mode processor) and the "NT" Server side. The NX MCP Environment pertains specifically to the E mode processor side of the architecture exclusive of the NT Server side. 14. Unsolicited Message—A message (data in display or non-display format) which is generated by a concurrent process that is received by a concurrent independent (different) process. 15. Transaction ID i.e., (TRANSACTION_ID)—The internal name given to a uniquely generated number passed from MARC to the KSL (Kerberos Support Library) identifying a clients service request. This number will then be attached by the KSL and in turn sent back to MARC such that MARC may route an asynchronous message back to the appropriate client (originator). 16. Networking Host Software—Generalized term for software residing and functioning on the ClearPath NX which provides network communication capability. Software such as the Networking Support Library, Telnet, TCP/IP, HLCN, etc. would be "known" or "thought of" as Networking Host Software. 17. IPX—A communications protocol "Internetwork Packet Exchange". 18. COMS MSG Format—A message consistent with an agreed upon format that COMS (Item #4 of Glossary) recognizes. A message containing a COMS header (information in an agreed upon location and format) and the message portion so that COMS may route the message. 19. Key Distribution Center—Portion of the software residing on the Kerberos Server which processes tasks related to Key(s). A key is a signal code which can be used to access a message which would not ordinarily be accessible. 20. K-Admin—Kerberos Administration/Software on the Kerberos Server responsible for configuration and User administration of the Kerberos Server. 21. DCWRITE—A function construct in DCALGOL used to construct messages and pass messages to an MCS. (Item #3) Reference: A Series DCALGOL Programming Reference Manual form #5014574.380 (May 1989) Page 3-13 and Section 5. Published by Unisys Corporation. 22. NetWare—An operating system developed by Novell, Inc. The Netware operating system runs in a file server and controls system resources and information processing on the entire network or Internetwork. Reference: "Concepts" Novell Netware 3.12, July 1993. Part Number 100-001715-001. 23. Station Transfer—ClearPath NX terminal service product predicated on an underlying Station Transfer Protocol. Reference: Unisys "A Series Station Transfer Changes for A-EAM," Functional Design Specification 95145/3 Version A, Nov. 2, 1995. 24. GSS-API Library—ClearPath NX support library providing services as defined in item #6 above. 25. UserData—constitutes a miniature data management system that maintains a database called SYSTEM/USERDATAFILE. The database defines valid Usercodes and contains various types of data concerning the User population on a particular ClearPath NX Server. 26. Encryption Library—The DES (Data Encryption Standard) Support Library. The DES Encryption Support Library provides the various encryption algorithms which are needed by the Kerberos protocols. According to [RFC1510] any Kerberos implementation must, at a minimum, support the following encryption algorithm:—DES/CBC/MD5 (DES encryption, using cipher block chaining mode with an MD5 checksum). 27. Directives interface—A Directive Command is a feature of MARC which enables a system to create new commands and make them available to MARC Users. To implement a 'true' directive, the function of these commands is defined by writing a library of ALGOL procedures (within the KSL in this case). The DIRECTIVE command is used in MARC to associate a command name with the procedure. Thereafter, Users can use the new command in the same way as they use any other MARC command. Reference Unisys "A-EAM Kerberos Directive Commands," Functional Design, 95057/3 Version B, Aug. 17, 1995. 28. Master Control Program (MCP)—Unisys reference to "Burroughs Large Systems MCP Manual"—Release 3.5; May, 1985/Copyright 1985, Burroughs Corporation, Detroit, Mich. 48232. 29. Event—An "Event" provides a means to synchronize simultaneously executing processes. An event can be used either to indicate the completion of an activity (this would be how Kerberos is using it, i.e., on the Kerberos Server; and EVENT is changed to a "Happened" state and the KSL is made aware of this change, (in this case the response has been formed) or as an interlock between participating programs over the use of a shared resource. From Unisys "A Series ALGOL Programming Reference Manual Volume 1: Basic Implementation" Release Mark 3.7/July, 1987; Form# 1169844. 30. Credential Handle—A data structure that points to a unique instance of a credential. 31. Kerberos Authentication—A standard protocol that verifies the identity of a client to a server. The verification occurs by the client obtaining credentials from a Ticket-Granting Server. These credentials provide proof of the client's identity to the server. 32. Preauthentication—A client has obtained credentials before connecting to a server. 33. Non-preauthentication—A client connects to a server without having obtained credentials beforehand. 34. Principal—A client, server or service. 35. Principal ID—A unique identifier used to name principals. 36. Ticket-Granting Server—A trusted third-party server that authenticates clients and issue credentials that clients use to authenticate themselves to servers. 37. Credentials—A data structure issued by a trusted third party that uniquely identifies a client to a server. This data structure is encrypted such that only the server can decrypt it. Successful decryption of this data structure by the server verifies the identity of the client, since only the true client could have obtained the credential from the Ticket-Granting Server. 38. GSS-cred-handle—A credential handle. A GSS handle is of type DOUBLE and is represented by two words. The first word of the handle has three components containing important pieces of information about the handle. The second word is unused. The three key components of a handle are its type, index and qualifier. The type of a handle can have three possible values, name-handle, and credential handle or a context handle. This is stored in bits 43 through 40 of the first word. The index of a handle represents the index in the GSS internal data set. This is stored in bits 39 through 20 of the first word. The qualifier represents a random number that makes the handle unique. This random number is generated while creating the handle. This is stored in bits 19 through 0 of the first word. 39. GSS-cred-tag—The GSS-cred-tag is the unique key by which GSS references the credential efficiently. 40. Mech_Add_Cred—This is a GSS procedure that KSL calls to add a credential for the name-handle that is passed in. A new credential handle is created by GSS and passed back to KSL. 41. MCP_ADD_Credential—This is a GSS procedure that is called by the MCP when a new session is logged on. The MCP is handed a credential or context handle that is associated with the mix number that was passed in. 42. Name-Handle—A Name-Handle is a handle representing a name that GSS knows about. The type field of this handle has the value for the name-handle, the index represents its index in the GSS internal tables and the qualifier makes the handle unique. 43. Telnet—A standardized protocol that logically connects a terminal or terminal emulator running in a workstation to a server. After successfully connecting to the server, the client may directly issue commands to the server that the server interprets and responds to. 44. Station Transfer—A Unisys proprietary protocol that logically connects a terminal or terminal emulator to remote Unisys A Series or ClearPath system. 45. ASP-Handle_Internal ID is a GSS-API procedure that returns the local usercode associated with the handle that is passed in. Any type of handle—name handle, credential handle or context handle, can be passed in, as input to the procedure. MARC calls this procedure passing in a credential handle and gets back the A-Series usercode to log the user onto the system. 46. Intercomq—an array of message(s) which is shared by one or more processes or programs This "queue" would be managed by an external third party such as an MCS (and ultimately the MCP). Processes or programs sharing this array of messages would be able to "communicate" via this queue, i.e., "Intercomq." 47. Queue Event Mechanism—A software module designed to produce various results based on the success or failure of a message or command being INSERTed into a queue. The result would be in the form of an EVENT which could be interrogated and would be found to have HAPPENED or NOT_HAPPENED. 48. MCS Logger Describes a "function" or "set of functions" whereby activities associated with an MCS (Message Control System) are logged in the system SUMLOG residing on some readable/writeable media on the ClearPath NX Server. Examples of what would be logged in the System SUMLOG are tasks initiated or terminated under or through an MCSA, changes in status of tasks would also be logged. For a complete evaluation, see the Unisys A Series System Software Support Reference Manual Version Mark 3.7, July 1987 #1170016. 49. Mix Number—A "Mix Number" is a number assigned by the ClearPath NX Server which identifies a task, process, or library numerically such that task/process administration, resource allocation, etc. may be performed by the MCP (Operating System). 50. DCSENDMESSAGETOMCS—The name of a procedure which is exported from the MCP and is available as "re-enterent code" to the Kerberos Support Library. The function of this procedure is to transport or "send" a message from the Kerberos Library to a specified MCS. For this implementation the MCS is COMS. This process occurs via an asynchronous mechanism. GLOSSARY Kerberos Security Administrative Commands 1. All commands are entered by the client with the Kerberos prefix of "KRB". 2. Commands:
A general overview of various aspects of the Kerberos domain messaging systems is shown in FIG. 8. This figure illustrates various sequences used for both synchronous message handling and for asynchronous message handling. Discussion of "asynchronous" operations is provided to show the contrast to the presently described "synchronous" operations. As seen in FIG. 8, the client 10 initiates a command transfer 90 to the COMS program 99 (Communications management System Program). Here the COMS program partitions into two aspects, one of which is the pre-processing for the Menu Assisted Resource Control Program (MARC) and the pre-processing for the Message Control Systems Programs. One leg at marker 100 shows the use of the Menu Assisted Resource Control Program 40, while the other leg 200 shows the use of the message control system program 41m. Now, following the leg 100 marker, the MARC program 40 is invoked which program initiates via Marker 101, the directives processes 300. The directives processes 300 is a software mechanism in MARC to identify and process a "directive command". The directives process then operates at marker 301 to contact the Kerberos Support Library 34. Now assuming that the system is operating on a synchronous message basis, the Kerberos Support Library 34 will operate at marker 202 requesting service on behalf of the MARC program 40. During this service request all previous process within this environment will wait for the service response from the Kerberos Server 20. Following marker 203 back to the Kerberos Support Library 34 the response is returned. The Kerberos Support Library 34 will operate at marker 102 to send the Kerberos response to the COMS program 103, which then at marker 104, will contact the MARC program 40 which will then use the marker 105 to reconnect to the COMS program 103 with the processed message response which at marker 106 will be conveyed to the multiplexer 5x, and thence at marker 10x conveyed back to the client 10. Now on the other hand, if this had been an "asynchronous" message response, it would follow that the directives process 300 would at marker 301 connect to the Kerberos Support Library 34 which then, at marker 202, would contact the Kerberos Server 20 which would then respond at marker 203 back to the Kerberos Support Library 34. As an asynchronous process during the transfer of control at marker 202 to the Kerberos Server 20 all previous process in the process environment are notified, specifically the MARC program 40 via marker 102 through COMS 103 via marker 104 that the response to its service request will be returned at a later time. Continuing with the original request the Kerberos Server 20 now having generated the response passes the response via marker 203 to the Kerberos Support Library 34. The Kerberos Support Library 34 would then at marker 102, connect to the COMS program 103 which program would, at marker 104, connect to the MARC program 40, which would then at marker 105, communicate back to the COMS program 103 which then at marker 106 would convey the message response to multiplexer 5x, which would then, using marker 10x, convey the Kerberos Message Response to the client 10. Now, looking on the Message Control Systems (MCS) operations originating from the COMS program at marker 99, it will be seen that at marker 200 the pre-processing will initiate the MCS program 41m, which then at marker 201 will connect to the directives process 300. The directives process operates at marker 301 to contact the Kerberos Support Library 34. Now assuming that the command is a "synchronous command", then the Kerberos Support Library will operate at marker 202 requesting service on behalf of the MARC program 40. During this service request all previous process within this environment will wait for the service response from the Kerberos Server 20. Following marker 203 back to the Kerberos Support Library 34, the response is returned. The Kerberos Support Library 34 will operate at marker 204 to send the Kerberos response over to the COMS program 205, which then at marker 208 will convey the Kerberos message response to the multiplexer 5x, which at marker 10x will convey the synchronous message response back to the client 10. On the other hand, if the command involved were a "asynchronous command", then the MCS program 41m would connect at marker 201 to the directives processes 300, which at marker 301 would contact the Kerberos Support Library 34. As an asynchronous process during the transfer of control at marker 202 to the Kerberos Server 20, all previous processes in the process environment are notified (specifically the MCS program 41m via marker 204 through COMS 205 via marker 206) that the response to its service request will be returned at a later time. Continuing with the original request the Kerberos Server 20 now having generated the response, passes the response via marker 203 to the Kerberos Support Library 34. Thence, using the asynchronous command situation, the Kerberos Support Library 34 would operate at marker 204 over to communicate with the COMS program 205, which then at marker 206, would contact the MCS program 41m. Thence, the MCS program at marker 207 would reconnect to the COMS program 205 which then would at marker 208, connect to the multiplexer 5x in order to return the asynchronous message command at marker 10x back to the client 10. At the bottom of FIG. 8 there is seen a number of notations and references to certain of the markers in FIG. 8. Thus, the marker 301 represents a Kerberos command to be responded to by either the Kerberos Support Library 34, or the Kerberos Server 20. The marker 102 represents the command response for the MARC message layout. FIG. 9 (9A, B, C) is an illustration of the full word format for the ClearPath NX Server, 13 of FIG. 2. Referring to FIG. 8, it may be noted that the marker 105 is related to the sequences of FIGS. 6A and 6B which refer to the handling of asynchronous service requests from the MARC program. Then again in FIG. 8, at the marker 207, this can be correlated to FIG. 5 (which is derived from FIG. 4) and which involves the processes for handling the message control system request operations. If the message control system MCS used is that of MARC 40, this particular system uses a Transaction_ID. In this case, the routing of an asynchronous response message is done by COMS 42 through the MARC 40 program as is indicated in FIGS. 6A, 6B for the sequence "C", of FIG. 4. On the other hand, the response message 104 may be routed in a separate channel shown in FIG. 8 through the COMS 42 over to the other MCS 41m and the queue 62 as indicated in FIG. 5 at the sequence "B". The channel for other types of Message Control Systems (MCS) will use the COMS program 42 and use an MCS number instead of the Transaction_ID. The MCS 41m has a program with a queue 62 defined with stacks shown in FIG. 10. The MCS channel does not generally have to worry about routing of the message, since there is generally a single User for that MCS program, while on the other hand, the MARC program may have a thousand Users and this requires a unique Transaction_ID. The MCS system and channel (B of FIG. 5) is considerably more versatile in that it could use several words, or could use neither of these and just use an MCS number. Additionally, the MCS channel could make use of all of the extra words or even more words if required in order to handle the possibility of thousands of client users. Thus, there are variety of channels for providing asynchronous response messages back to a client requester as seen by the above examples where the MARC program uses the Transaction_ID while on the other hand, the Kerberos response message may be handled on the other MCS system via COMS 42 using one word or multiple words or a combination of greater number of words to route a message to particular client Users. When non-asynchronous (synchronous) response messages are involved, the "synchronous" response messages are normally routed as shown in FIG. 4 through steps a, b, c1, d1, e, f1, g, h, i, j, k, and L. However, certain response improvement will be indicated in connection With FIGS. 12 and 14 subsequently described. The present system and method involves the Kerberos realm or domain which denotes a number of hosts, servers and clients connected into a single administrative domain. The general concept for modules which are hosts, servers or clients are often designated herein as "principals". The term "principal" is a term used to denote a uniquely named client or server participating in a network environment. The Kerberos realm or domain is provided with a Kerberos Server which is a host-server responsible for Kerberos security. Clients are units which may reside in attachment to the network cloud or within the network cloud. The use of the term "cloud" or the term "network cloud" is a term often proposed by the Novell Corporation and used to designate interconnections in a network. The term "ClearPath" is used to denote a Unisys Corporation system network wherein different platforms may be connected together but are also provided with compatible communication protocols and services. A general overview of a network designated as a Kerberos realm or Kerberos domain is shown in FIG. 1. The realm or domain involves a number of principals which may be considered digital machines and wherein these principals involve clients or servers that are participating in the domain which is under the control of a particular Kerberos server. Thus, as seen in FIG. 1, there may be a series of clients or client-terminals designated 10a, 10b, 10c. . . 10n. These units are connected to a network cloud 16 and a communications connector 18. There are a number of unique clients or servers 11, 12, and 13 which can be designated as principals. One of the principals such as principal 13, is seen having a UDP (User Datagram Port) port 15, which connects the third principal 13 to the Kerberos Server 20. The network cloud 16 is also connected to the communication connector 18 which is then connected to the Kerberos Server 20. The UDP port 15 is an acronym for the "User Datagram Protocol" port. The network cloud 16 is a generalized interconnection element which may indicate that various clients are residing in the network cloud. A "realm" or a "domain" may denote a number of host servers or clients and principals involved in a single administrative domain designated as a Kerberos domain. The Kerberos realm can be considered as a term for modules participating in a Kerberos domain. There can also occur a number of different realms or domains which can be interconnected and which involve another level of complexity. FIG. 1 could also have more than one Kerberos Server connected in with various network connections. The Kerberos Servers can communicate with each other and participate as part of the domain involved. FIG. 2 indicates the Kerberos Server network with an expanded view of the principal unit 13. Here, the client terminal 10 is connected to the communications connector 18 which enables it to communicate and operate with various aspects of the principal 13 and the Kerberos server 20. The typical principal 13 (ClearPath NX Server) is shown with a number of the basic functional elements. The bus 18c from the communications connector 18 is seen connected to the UDP port 26 of the Kerberos server 20. The bus further provides connection to the principal 13 via the IPX/NetBIOS (Netware process) 54 and the TCP/IP unit 56. The hardware IPX/NetBIOS provides similar functions to TCP/IP 56. IPX is an Internetwork Packet Exchange Protocol developed by Novell that sends data packets to requested destinations, i.e. workstations, servers, etc. NetBIOS and IPX provide the session, transport and networking layers of a protocol stack which handles communication between dissimilar systems. The TCP/IP 56 (Transmission Control Protocol/Internet Protocol is a protocol for Internetwork communication between dissimilar systems. The Ports module 52 provides an interface to the Telnet Unit 48, to the station transfer unit 46 and to the HLCNTS Unit 50. The Telnet 48 involves a package switching network that enables many different varieties of terminals and computers to exchange data. The station transfer network 46 functions to provide the necessary protocol for information transfer. The HLCNTS 50 is a unit which provides the function of connection and communication between Netware clients and ClearPath NX clients. The client information or message thus enters the principal 13 through the ports 52 and talks through the Telenet 48 and station transfer unit 46, through the DC WRITE Unit 44 which calls on the program COMS which is the communications management system (COMS 42). This in turn then communicates or talks to MARC 40 which is the Menu-Assisted System Resource Control program. MARC and COMS are Unisys Corp. A-Series program functions which were developed for the Unisys Corporation A-Series computer systems. When a client logs on to the A-series systems, a call is made on the MARC, that is to say, the Menu-Assisted System Resource Control program. The MARC 40 will function to call on the Kerberos Support Library (KSL) 34 in order to initiate the proper security functions. The library module 38 designated GSS-API connects the MARC program both to the Support Library 34 and to a user data bank 36. The encryption library 32 is connected to service both the Kerberos Support Library 34 and the GSS-API library 38. The GSS-API library 38 serves the function of providing interface application programs to access available security services. Also shown is the MCP internal service provider 33 which is part of the Unisys A-Series Master Control program (MCP). This includes a queue management function module and a UDP port management module 15. The MCP Service Provider 33 connects to a series of ports and also to the Telnet 48, the HLCN 50 and the station transfer unit 46. Additionally, the MCP Service Provider 33 (FIG. 2) is also connected as seen in FIG. 3 to COMS 42 and to the MARC 40 via MCP 60 as well as the Kerberos Support Library 34. There are several functions that are provided by the MCP 60, but the major functional concerns are those which involve the passing of an asynchronous message in addition to handling the queue management 62 functions and management of the UDP port 15 in the principal 13. (ClearPath NX Server). The client 10 enters his communications via the communication connector 18 and bus 18c over into the ports 52 and then talks through the Telnet unit 48 and the station transfer group 46 designated in block 50c. These units in turn call the COMS 42 which in turn talks or communicates with MARC 40 (Menu Assisted System Resource Control program). Both COMS and MARC are Unisys A-Series computer system functions described in the attached Glossary. Further regarding FIGS. 2 and 3, the Kerberos Server 20 is seen to have a UDP port 26, a Kerberos administrator K-ADMIN 24 unit and a Key Distribution Center 22 (KDC). The function of the Key Distribution Center 22 (KDC) is to act as a trusted third party authority that holds the secret keys for all the principals in a realm. The KDC provides two services designated AS and TGS. "AS" denotes Authentication Service (AS): i.e., A service of KDC that verifies the authenticity of a principal. From "CyberSAFE Challenger Administrator's Guide" Version 5.2.5/April, 1995. The function of the K-ADMIN 24 is to provide a program to perform administration of a remote Kerberos principal database. TGS is Ticket Granting Service (TGS). K-ADMIN is the part of the KDC that provides tickets when a client wants to access a server. From "CyberSAFE Challenger Administrator's Guide" Version 5.2.5/April, 1995. The UDP port 26 functions to handle the User Datagram Protocol. It may be noted that the UDP port 26 of the Kerberos server is provided with a communication line 18c through the TCP/IP 56 to the internal UDP port 15 (FIG. 2) of the principal 13 via bus 15b. The two UDP ports (15 and 26) are two separate entities and reside in different machines. Each principal would have its own UDP port which then provides a special communications line to the Kerberos server, via the Kerberos server's UDP port, 26 (FIG. 2). The principal 13 unit shown in FIG. 2 is also sometimes designated as a ClearPath NX server and describes one specific type of a principal 13. FIG. 3 is a drawing showing the message model in a Kerberized environment. The client terminal 10 is here connected to the network connector 18 which provides a connection on bus 18k to the Kerberos server 20 and a connection on the bus 18c to the principal 13. This particular principal 13 is a specialized unit designated as the Unisys ClearPath NX. The Unisys ClearPath HMP (Heterogeneous Multiprocessing System) acts to integrate a number of platforms such as UNIX, Windows NT and Enterprise operating system environments by combining them into one platform. Within the principal 13, FIG. 3, there is seen the port's interfaces 52 which connect to the combination unit 50c designated as Telnet/HLCN/Station Transfer. The HLCN refers to the high-level communication network. The combination module 50c then connects to the COMS 42 programs (Communications Management System) and also the MARC programs 40 (Menu Assisted Resource Control programs). Then as seen, the MARC programs connect to the Kerberos Support Library 34. Further in FIG. 3, the Master Control Program MCP 60 is seen connected to the ports 52, the combination module 50c, the COMS program 42 and the MARC program 40 and also the Kerberos Support Library 34. Each of the modules are connected to the MCP 60 (Master Control Program). The Master Control Program 60 is shown to have two modules of which the queue management function module 62 provides the function of managing an array of Queues shown in FIG. 10. Additionally in the MCP 60, there is a UDP port management unit 64. The Master Control Program 60 is seen in FIG. 3 to have the queue management function module 62 which involves a Queue data structure which is shown in FIG. 10. As an analogy, the queue could be thought of as a pipe. For example, considering that there is a person involved at each end of the pipe such that Person A at the left end of the pipe and Person B at the right end of the pipe. Then, at the halfway point of the pipe, there could be considered a Person C. Then for example, Person A wants to move a ball (message) from one end of the pipe to the other. Person A with the ball, then asks Person C (halfway point) to tell Person B to wake up and notice that there is a ball coming down the pipe. Person C wakes up Person B and then tells Person A to insert the ball in the Pipe for delivery. Person C then moves the ball down the pipe and tells person B that "Yes, okay the ball is now here". In the above analogy, it can be considered that Person A is the COMS program, while Person B is any one of the various Message Control Systems (MCS), and likewise, the Person C would be analogous to the Master Control Program (MCP). This is, of course, an over-simplified version, but it illustrates the role of the COMS program to the Message Control System programs (MCS) with the Master Control Program (MCP) acting as a "overseer/controller". Queue Management Function 62 in the MCP 60 (FIG. 3): The MCP 60 controls the operational environment of the system by performing the functions of job selection, memory management, peripheral management virtual memory management, dynamic sub-routine linkage, logging of errors, system utilization, and queue management. More specifically, the MCP 60 manages an array of queues. A stack called the Datacomm Queue Stack (FIG. 10) holds messages (data descriptors) and other hidden messages. The primary function of the Datacomm Queue Stack (FIG. 10) is to hold queues which are declared in DCALGOL language, and to file input queues for programs with remote files. The Datacomm Queue Stack also serves as one possible communication link between the Master Control Program (MCP) and the "IR" (Independent Runner) "Controller. "IR" stands for "Independent Runner" Controller which is a separate process that gets initiated during system initialization. This Controller handles functions such as Job Control (queuing of jobs, starting and stopping of jobs, operator command processing, etc.). The MCP initiates a number of "IR's" during initialization. A common name or nomenclature in the industry today would be to "spawn a separate process". The Datacomm Queue Stack is seen in FIG. 10. The first word in the stack contains a TOSCW (Top of Stack Control Word), while the second word contains a link. This link is the start of a link list of available queue locations and is relative to "Word 1" of the stack. Locations in the stack that are not a part of this list are "data descriptors" that point to hidden messages. The "hidden messages" contain the head and the tail pointers of queue entries, plus attributes of the queue, such as the memory limit and the population. As messages are placed in the Datacomm queue, (FIG. 10) the queue's memory limit may be reached. In this case, if the queue's limit is reached, a Tank Information Block (TIB) is built, then disk rows are obtained with the procedures called GETUSERDISK and the subsequent messages for the queue are TANKED, that is to say, written to disk. It may be indicated that the queue messages will not be found in memory and disk at the same time. They will either be queued on disk or in the memory, but not both. "Word One" in the stack is the beginning of a linked list of available stack locations. Other locations will point to the "hidden message". The Tank information Block (TIB) contains a variable number of Row Address Words. These Row Address Words point to the disk area. Further in FIG. 2, the network cloud 16 and con-connector 18 are seen having communication busses 18k and 18c over to the Kerberos server 20 which has a Key Distribution Center Unit 22 and a Kerberos Administrator Unit 24. The Key Distribution Center unit 22 functions to provide secret access signal codes (keys) to enable message access. The UDP port management unit 15, FIG. 3, involves the User Datagram Protocol (UDP) which is a TCP/IP protocol that permits an application to send a message to one of several other applications running in the destination machine. The "send message" Application is responsible for providing a reliable delivery of the message. In regard to the preliminary steps which lead up to and through a request for service so that there can be enabled the return of a synchronous or an asynchronous message in response to the client request, it will be seen that there are several assumptions which must be considered as residing in place before the detailed functioning of this model can be operative. These assumptions include:
Briefly, a client or principal must already have been "logged on" within a Kerberos Realm and thus be provided with the same privileges as that provided any "Kerberized" client or principal's expectation of privileges. The references made below to a client will, of course, assume that the client or principal is participating in a Kerberos Realm. As a further assumption for this description, it will be assumed that there is a person or a client operator sitting at a personal computer (PC) with Kerberos privileges. FIG. 4 is a generalized flow chart indicating the operations occurring upon initiation of a service request by a client. The service request (a) shown in FIG. 4 comes into COMS (b) and COMS will view this as a request to MARC or to an MCS (message Communication System) as seen in FIG. 8. The COMS program at (b) FIG. 4, will indicate that this was a request which was either a MARC request or a MCS request which is shown at block (c1) and block (c2), which is the MCS request. At position (b) of FIG. 4, where the COMS program routes the request to the MCS or the MARC, the term "routes" or the term %% passes" in this instance implies that a request or a message is being moved via a queue (queuing structure) from one software stack to another software stack. This move, via a queue, is accomplished by transferring the request or message data from one stack's environment, to another stack's environment (FIG. 10) by passing a "data descriptor" which points to an area in memory where the data can be found. The management of this function is provided by the MCP 60. This likewise applies to position (i) of FIG. 4 which indicates that the Kerberos Support Library 34 passes the response via queue to the MARC program, 40. Now referring to position (k) of FIG. 4 which indicates that the "MARC" program returns the service requested, the term "returns" implies the use of a queue for communicating both through and to the COMS program which is an ancillary process occurring each time that MARC communicates outside of its stack environment. The MCP 60 provides low-level queue management functions with COMS providing the higher-level queue management functions. It is understood that when a client has made a service request, the client is communicating over the FIG. 3 communication bus 18c, then through the TCP/IP protocol 56 (FIG. 2) in order to access the COMS program 42. Now taking the leg (of FIG. 4) shown at (c1) which is the MARC-request for Kerberos service, here there is provided a specialized process where the MARC program requests service from the Kerberos Support Library (KSL) 34 at (d1). Once the Kerberos Support Library receives a request for service, then a decision tree ("A") at position (e) of FIG. 4, is shown as decision tree "A" which raises the question of—is this going to be a "asynchronous message" (yes, Y) or is this going to be a "synchronous" message (no, N). If the answer is "no" (N), that is to say, it is not an asynchronous message but merely an ordinary synchronous message, then this can be handled normally in the next block (f1) where the Kerberos Support Library 34 notifies MARC 40 that the response is to be "synchronous". Then two operations are presented for execution at (f1) (FIG. 4) at this time. The system will let MARC know that it is waiting for response at (j), or otherwise at (g) the Kerberos server (or Kerberos Support Library) is going to go ahead and process this request. Alternately, there is the factor that this request can be serviced locally by KSL 34. This is shown in the block at element (g) which indicates the statement that the Kerberos Server (20) or the KSL Library (34) is processing the request. This means that the service can be accomplished via the Kerberos Server 20 or locally on the Kerberos Support Library 34. In the event that it is on the Kerberos Server 20, the system will then receive a response back from the Kerberos Server and then the Kerberos support Library will pass that response on to MARC at step (i). This is shown at blocks (h) and (i) after which the response is sent to the MARC program at the (j) block of FIG. 4. On this particular synchronous message path, it is expected that the response will occur within milliseconds. Thus, when MARC at position (k) returns the service requested, the client 10 will be informed and the program will stop at (L), in order to end the process. The term "service" here means that a request (a Kerberos command) has been made. This request for service is the processing of the Kerberos command. An example of a service request would be:
Again referring to FIG. 4 and observing the decision tree at (e) where the block "A" on the decision tree takes the "Yes" path "Y" to indicate the "asynchronous request." The "Yes" (Y) branch goes to block (f2) which indicates a separate process "C" which involves the processing of asynchronous messages and the handling of these messages. This involves a separate sequence (via process "C") which is shown in FIGS. 6 (A,B) and 7 (A,B). Referring to FIG. 4 and proceeding from step (b) on the leg where the request is routed to the MCS (rather than to MARC) as indicated at block (c2). This is a MCS (Message Control Management System program) for Kerberos service which then evolves to block designated (d2) which indicates a process "B" which is subsequently shown and discussed in FIG. 5. It may be noted that in FIG. 4, ref erring to the "synchronous" message passing branch "N" (No) at decision block (e), that the Kerberos Support Library 34 notifies the system that the MARC response was to be "synchronous" and then this is passed on to the Kerberos Server 20 at the Kerberos Support Library 34 which then receives the response. Then the Kerberos Support Library passes the response back to MARC at position (j) where MARC was waiting for the response after which at step (k) the service requested was returned by MARC to the client 10, so that at (L) the process came to a stop. The channel on FIG. 4 which goes from block location (b) over to block location (c2) involves an MCS-request for Kerberos service. This then involves the process block "B" which is designated at location (d2) and is discussed hereinafter in regard to FIG. 5 (Process "B"). FIG. 5A will indicate a series of flowchart steps labeled B1, B2 . . . B6 which involved an earlier used sequence. At position B1, the MCS request is generated and fed at B2 to the Kerberos Support Library 34 (FIG. 3) which receives the request and calls the Kerberos Server 20. Then at location B3, the Kerberos Server 20 will process the request and return it back to the Kerberos Support Library (KSL 34). At step B4, the Kerberos Support Library delivers the service request via directives over to the MCS where upon, at step B5, the COMS process 40 routes the message to the appropriate MCS. Thereafter at step B6, the MCS receives the requested service, at which time this process cycle is brought to an ending, after notifying client 10. The transition of the message (data) between B5 and B6 is accomplished via a queue. The Message Control Systems (MCS) will communicate outside their environment (stack) by using queues. In this instance, when the COMS program receives a message from the Kerberos Server Library 34, it forwards the message to the appropriate Message Control System (MCS) by placing the message into a queue array. Both the MCS and the CONS programs "know" about the existence of the queue and operate to monitor it by means of what is called an "Event". The message Control System (MCS) is waiting for an "Event" to "happen" which will then wake up the process MCS and will extract the information (data) which it now has a visibility to. The "Event" handling, the moving of data from one environment to the other is controlled by the MCP 60. While the earlier provided systems shown in FIG. 5 required the time-consuming factor of calling the Kerberos Server which was then required to access the Kerberos Support Library after which the Kerberos Support Library had to respond, it will be seen that under the presently disclosed improved system, there is no longer any need for the double jump action of accessing both the Kerberos Server and the Kerberos Support Library since under the improved system, the Kerberos Support Library can provide an immediate synchronous response without the need to access the Kerberos Server 20. This will be seen in connection with FIG. 11 which is a simplified description of FIG. 1. As will be seen in FIG. 11, a series of principal modules 11, 12, and 13, are connected to network cloud 16 to the Kerberos Server 20 which maintains a communication relationship on line 17 to the Control Capable Terminal (CCT). The difference between FIG. 11 and FIG. 1 is the addition of the Control Capable Terminal designed C1. A Control Capable Terminal (C1) is a terminal capable of entering secure administrative commands which are recognized by the Kerberos Server 20. The CCT (C1) may be a physical unit attached to the Kerberos Server 20 via a local area network connection 17 or could even be physically included within the Kerberos Server 20 such that the CCT would reside as administrative software in the Kerberos Server 20. FIG. 12 is a schematic view, specific to a particular simplified Kerberos realm designated 69 which uses the expedited synchronous message model. Here there are seen three basic constructs which may be considered as four constructs if the Control Capable Terminal, CCT (C1) is included. These constructs process or manage the synchronous message within the Kerberos Realm 69. It may be noted there may be additional principals 13 as seen in FIG. 12 and also clients 10 within this realm or multiple realms. However, for this model there will be only one Kerberos Server 20 within any given particular realm. The following is a discussion of the processes involved in expediting synchronous message traffic over to a client 10. Referring to FIG. 12, there is seen a client 10 connected to and from a network cloud 16 via the communication channel 15 while the network cloud 16 has communication channels 14 to the ClearPath NX Server 13 and also via channel 18 to the Kerberos Server 20. The Kerberos Server 20 has a communication channel 17 to C1 which is the Control Capable Terminal. Shown also in FIG. 12 is a series of independent or dependent processes or tasks which are designated with the letter P. The process P1 related to the Kerberos Server 20 is performed by the Kerberos Server 20 and is the initialization process of the Kerberos security mechanism resident on the Kerberos Server 20. This process P1 processes the information stored in a file designated F1 which resides in memory on the Kerberos Server 20 or it may reside as a disk file which can be accessed by the Kerberos Server 20. The file F1 contains various information about the specific Kerberos realm 69 involved for which it, 20, is the Kerberos Server. It may be stated for this discussion that there will no longer be any further mention of multiple Kerberos realms and/or slave Kerberos Servers which may possibly exist within any given realm. The described model will focus on a relationship of one server to one realm. Information in the configuration file F1 will contain information about its realm name, other realm names, and information about the principal (s) 13 which are within its sphere of control. Additional information about the clients 10, which also are often called principals, is also found here. The process P1 of FIG. 12 is completed after various initialization duties have been completed. At the completion of the process P1, the Kerberos Server 20 is now "available" for general processing of requests from any client 10 or any principal 13 or any realm. Process P2 of FIG. 12 is seen in the ClearPath Server at P2 and is the Kerberos initialization process for the ClearPath NX Server 13 which is also designated as a principal. The process P2 reads information stored in its configuration file F2. The information stored in this file F2 at initialization time is the realm name for which the principal 13 wishes to consider itself as belonging to that realm. Upon completion of the initialization process P2, the ClearPath NX Server 13 will now be able to process requests from other principals or clients 10 via the various network connections shown in FIG. 12 as 14, 15, 16, and 18. At any given time after completion of the process P1, then services may be requested of the Kerberos Server 20. In addition, changes may be requested by a client 10 or a principal 13 about its configuration or operational status. However, system wide changes or changes made by the administrator at the CCT (C1) for a particular client are stored in the file F1 in the Kerberos Server 20. The file F2 in the ClearPath NX Server 13 does not yet contain the "change" that already has been stored in the other file F1. When a "change" occurs, a programmatic event changes the state on the Kerberos Server 20. This change is also noted on the ClearPath NX Server 13 via the communication links 18, 16 and 14 and the process P5 is then initiated by the ClearPath NX Server 13. This process request will execute data transfers so that any change made to the file F1 (in Kerberos Server 20) will be forwarded to the ClearPath NX Server 13 and then recorded in the file F2 of the principal 13. The files F1 and F2 are called "Configuration Files" and contain the name of the Kerberos realm plus the names and attributes of the principals participating in that realm. The Kerberos Security Administrative Commands are a method of requesting information from the configuration file, about the principals and the attributes associated with each principal. Kerberos Server 20 initiates the process P6, forwarding the updated data to the ClearPath NX Server 13. This process or processes are repeated as necessary to keep the files F1 and F2 in a synchronous state. The client 10 makes requests for service related specifically to itself as client 10. Here it is assumed, at this point, that the client 10 has been authenticated and has or has been actively participating with the Kerberos realm 69 as administered by the Kerberos Server 20. A request for service by the client 10 is passed by some combination of network communication links such as 14, 15, 16, etc. through the ClearPath NX Server 13. Since the ClearPath NX Server 13 had been previously been "updated" about any changes via the process P6 of FIG. 12 by the Kerberos Server 20, the ClearPath NX Server 13 can directly respond in a synchronous manner (in behalf of the Kerberos Server 20) back to the client 10 via the communication links 14, 16 and 15. Now as a result, prior to the improved expedited message control system, the earlier system would operate such that a request for service was made by the client 10. This request would then be forwarded to the ClearPath NX Server 13 via the communication links 15, 16 and 14. Then the ClearPath NX Server 13 would query the Kerberos Server 20 via the process P3 each time that a request for service was initiated by a client 10. Then the Kerberos Server 20 would respond to this request (P3) via the process P4 returning the response to the ClearPath NX Server 13 on behalf of the client 10. Then in turn the ClearPath NX Server 13 would return the requested information via the communication links 14, 16 and 15. Unfortunately, this method was rather time consuming with considerably delays which could be expected since very often the Kerberos Server 20 was under a heavy load. In addition to the communication links and protocols used to transport data via the process P4 using the links 18, 16 and 14, these links were relatively slow and required additional overhead during many time-critical requests. As a result, the improved expedited system as seen in FIG. 12 operated in a much more expeditious fashion. Here, the client 10 makes a request for service related specifically to itself as client 10. Of course, it is assumed at this point that the client 10 has been authenticated and is or has been actively participating within the Kerberos realm 69 as administered by the Kerberos Server 20. A request for service by the client 10 is then passed by a combination of network communication links such as 15, 16 and 14 over to the ClearPath NX Server 13. Since the ClearPath NX Server 13 had been previously "updated" about any changes via the combination of the process P5 and P6 by the Kerberos Server 20, now the ClearPath NX Server can directly respond to the client 10 in a synchronous manner on behalf of the Kerberos Server using the communication links 14, 16 and 15. Thus this avoided the variable delays associated under the earlier system which required communication links 18, 16 and 14. FIG. 9 (9A, 9B, 9C) indicates word formats on the ClearPath NX Server and shows the MARC message layout, the MCS message layout, and the message display format. A word (FIG. 13) consists of forty-eight data bits and three leading control bits which define the type of word. The control bits for words shown in FIG. 13 are all zero; making the control value zero. FIG. 14 is a conceptual diagram of a word array that is passed from process to process. The words as marked in FIG. 9 are represented by FIG. 13 and can be referenced as such. The passing of messages asynchronously uses a message array containing a header and message data. In this particular instance the data is being passed from the Kerberos Support Library, KSL, FIG. 3 (34) to MARC, FIG. 3 (40). The details associated with FIGS. 13 and 14 is as follows: Words zero through five are control words (information) for KSL to communicate and route a message to/from COMS. Words six and up contain control and text data which is interpreted by MCS(s), such as MARC, which will in turn ultimately route the message to the appropriate client.
The values for X in field [39:08] are as follows:
FIG. 15 depicts a process flow diagram of the independent and dependent process associated with an expedited synchronous message control model. In FIG. 16, which is an exploded view of both the ClearPath NX Server 13 and the Kerberos Server 20 from FIG. 12, it should be assumed that the communication channel(s) 14 and 18 (FIG. 12) ultimately are connected via a LAN (Local Area Network) and/or a WAN (Wide Area Network) connection with facilitates communication between these two principals (servers) within the Kerberos realm. During the initialization phase of the Kerberos Server 20, an independent process P1 is responsible for obtaining information stored in file F1 (FIG. 12) which is either stored on a disk either locally or as a file which the Kerberos Server disk either locally or as a file which the Kerberos Server has visibility to, via a network. The process P1 initiates a read R1A which obtains realm for which the Kerberos Server 20 administers. The information is returned from file F1 via read result R1B to process P1 which builds any internal structure(s) necessary to administer the Kerberos realm. At this time the Kerberos Server 20 is now "available" to process any request from any principal or any other realm. Independent of process P1 (FIG. 15) on the Kerberos Server 20, process P2 (in Server 13) is the initialization process of the Kerberos Support Library 40 (FIG. 2) resident on the ClearPath NX Server 13. Process P2 functions in a similar method to that of process P1. Process P2 executes a read R2A on the file F2. The read result R2B from file F2 returns information about any principal(s) it had been previously been made aware of, along with the "name" of the realm for which it is a member and any other configuration information. Once process P2 has completed the read operation it processes off to a dependent task P3. Process P3 initiates an update request for realm and principal information. This request is a call C3 to the Kerberos Server 20. Process P4 which, if not already initiated, is processed off. The incoming call C3 indicates to process P4 that an update is being requested. Process P4 executes a read R4B of file F1. The read result R4A is returned to process P4. Process P4 packages the information using a shared mutually agreed-upon protocol and initiates a return C4 back to process P3 which has been waiting. Process P3 executes a Write R3 to file F2. Upon completion of this task, process P3 notifies process P2 of the success or failure in obtaining current information from the Kerberos Server 20. Process P3 now terminates regardless of the outcome of the update. If the update process P3 returned a result indicating failure, process P2 waits a predetermined period of time. After that time period has expired the above process P3 is repeated. This continues until process P2 obtains a successful result and is made "available" to perform Kerberos-related functions. If the information was successfully returned, process P2 finishes its initialization by making the ClearPath NX Server 13 "available" to any principal requiring service. At this point in time both files F1 and F2 on the Kerberos Server 20 and the ClearPath NX Server 13 share in a state of synchronicity. Once files F1 and F2 have been synchronized (FIG. 15), any requests received by the ClearPath Server 13 can be responded to directly. In the event that a change has occurred on the Kerberos Server 20, the change is noted and file F2 is updated. A corresponding change is noted and file F1 is updated. A corresponding change is necessary on the ClearPath NX Server 13. To accomplish this "update" the Kerberos Server 20 initiates the process P5. Process P5 processes changes received by the Kerberos Server 20. As part of the update process, process P5 initiates call C5 to the ClearPath NX Server 13. The ClearPath NX Server 13 initiates process P6 which in turn performs a "Write" operation R6 which updates file F2. Once again at this point files F1 and F2 are again synchronized. Process P7 handles requests made via communication line 14i, (FIG. 15). When a service is requested, the Kerberos Support Library 34 initiates process P7. Process P7 starts a Read R7A from file F2. The Read result R7B returns the requested information. Process P7 is then able to return a message in response to the clients' request via communications line 14o. The time-saving shown here is that process P7 has a single read/process to return the result to the client. Without initial and event-driven updates, the processes P3, P5, P6 would have to be performed while the client waited. This is no longer the case, and a fast immediate response can now be effectuated to provide the appropriate response to the client. FIG. 6 is a flowchart comprising FIGS. 6A and 6B illustrating the steps involved in the handling of an "asynchronous service" request from the MARC processes 40. This block involves the "C" block which was indicated in FIG. 4, at position (f2). Operational Processes for Block Process "c" (FIGS. 6A, 6B) Asynchronous Service Request from MARC:
FIGS. 6A and 6B show flow chart diagrams illustrating the operational steps of the processes involved in the location (f2) designated block "C" of FIG. 4. As seen in FIG. 6A, the Kerberos Support Library receives a request for service (i). Then the Kerberos Support Library notifies the Menu-Assisted Resource Control Program (MARC) that an "asynchronous" service is requested (ii). At branch 61, (FIGS. 6A and 7A) the MARC process notes the details of the client and "releases," at step (iii), the session. The "session" is used to denote the active connection between a User and a computer or between two computers. This provides an input back to the original requester 10 which then leaves the client free to initiate a new service request, step (v), thus to continue with further operations even though the service for the original request was not yet provided by the Kerberos server 20. Returning now to the FIG. 6A block designated (ii) where the KSL 34 notifies MARC 40 that an asynchronous service is requested. Now, the process cycle 62 (FIGS. 7A, 7B) occurs over at location step (vii), FIG. 6A, where the Kerberos Support Library builds a service request and stores the "client information". This then proceeds to location (viii) FIG. 6A at which the Kerberos Server 20 processes the service request. Then, at location (ix), here, the NX server 13 receives the asynchronous response after which at location (x) the Kerberos Support Library receives the message. An auxiliary operation can occur at location (x) where the path 63 indicates that the Kerberos Support Library then builds a message header at location (xii). Then, at position (x), the Kerberos Support Library having received the message continues on to position (xi) designated as "P" which continues as shown in FIG. 6B. At position (xi) designated "P" of FIG. 6B, it is then necessary to refer to FIG. 7B which shows the Queue Insertion Event (at xi=P). Then, as shown in FIG. 6B at position (xiii), the Kerberos Support Library inserts a formatted message in the queue. The Kerberos Support Library 34 has built the message, that was received from the Kerberos Server, and placed into a queue array, plus attaching in certain control information. The Kerberos Support Library (KSL) then "inserts" this message using an "insert construct" as provided by the DCALGOL programming language. When the "insert statement" is executed, then the MCP code will then be invoked. Now referring to FIG. 6B, the process "P" continues at position (xi) over to the position (xiii) wherein the Kerberos Support Library inserts a formatted message in the queue (62, FIG. 3) and detailed in FIG. 10. Then, at position (xiv), the master control program (MCP) notes the queue event and passes the information onto COMS. In summary, and as a continuation from position (xi), the MCP code is invoked on top of the queue stack environment (at P of FIG. 7B) which will then process the "insert event statement". This code then takes the array (a structure containing the data or message), which is actually a data descriptor, and in combination, noting the source and the destination, then lays the groundwork to "notify" the destination. The COMS program is the interim destination. The master Control Program "causes" an Event which the COMS environment has been monitoring. When this Event "happens", the CONS program now has visibility to the array (data descriptor), which will then be routed by another queue over to the MARC program, via 61 of FIG. 7B over to 61 of FIG. 7A. Thus it can be said that the MARC program receives the message at position (xvi), FIG. 6B. This processing function then proceeds to position (xv) FIG. 6B where COMS then notes the queue event and passes the message on to MARC. Then at position (xvi), the MARC process receives the unsolicited message in the control queue FIG. 10. At position (xvi), it is seen that the MARC program receives the unsolicited message in a queue. An "Unsolicited Message" is a message generated by any software which will be ultimately displayed by another software which is not in a "wait" state (waiting) for said message to be delivered to it. The receiving software is not aware (programatically) that a message is being delivered. Conversely, a "Solicited message" is a message generated by any software for which another software is waiting (the process environment is suspended) and the receiving software is aware that it will be receiving this message. The process of "receives" is an instance again of moving data from one environment to another environment using a queue. The data descriptor which points to the data in an area of memory is passed from one process to a different process. The MARC program receives the MSG (data descriptor) from COMS, and then MARC will then process this message (xxi) FIG. 6B which will ultimately be passed back to COMS for delivery shown at position (xxii). At position (xxii), it is seen that COMS receives the message to be delivered to the original requester. Here, COMS receives the message from MARC. Then through a series of procedure calls, the message is eventually delivered to the appropriate transport for delivery at the original client-requester 10. Then, along the communication channel 64 (FIG. 6B) to the position (xvii), here the MARC program processes the unsolicited message and also checks the present validity of the original request. Thus, at position step (xviii), MARC verifies to see whether the original requester is still a valid requester, after which at position (xix), a check is made at the decision tree to determine whether the particular station is still valid. If the station is valid, Y=Yes, then at position (xx) a "valid return" signal is sent to location step (xvi), where MARC receives the unsolicited message in a control queue, at which time on channel 65, at position step (xxi), MARC converts the encoded station information into a CONS message format. This is sent via position (xxii) whereby CONS receives the message to be delivered to the original requester at the terminal 10. FIGS. 7A and 7B are a set of drawings showing the stack of processes used in a sequential set of software operations. In FIG. 7A, the left-hand stack designated "100s" is marked as the NX/TCP/MARC stack capsulate. The stack "200s" on the right side of FIG. 7A is designated as the Kerberos Support Library stack capsulete. Sequential interconnections between stacks 100s and 200s are shown. In FIG. 7B, the process stack designated NX MCP environment is the sequence of processes which originate from the pointer P, location step (xi) coming from FIG. 7A. The lower portion of FIG. 7B is the processor stack environment for the Kerberos server correlating the pointer P1 location step (xi-1) of FIG. 7A and also the pointer P2 location (xi-2) coming from FIG. 7A. Referring to FIG. 7A, the stack capsulete 100 starts with the Kerberized client request received by the NX server 13. Then the transmission control protocol/internet protocol provides communication to the CONS software whereinafter the COMS routes the request to MARC for processing Support Library to process the command. Then, a call is made to the Kerberos Support Library to process the command, after which there is a period for awaiting the return and a call-back. The call back process is the KSL informing MARC that this command will be processed asynchronously. In addition KSL requests several attributes (the MCS number and Transaction_ID) such that KSL may return this information for routing purposes to MARC when the final response is returned. Since MARC can receive Unsolicited Message(s) from other software's like Controller, it is intended to show that the message MARC received is a message from KSL 34. There is a fine distinction between box (xvi) and (xvii) in FIG. 6B; in (xvi) MARC is receiving an unsolicited message from someone. In (xvii) MARC now knows it to be a Kerberos message from KSL 34. The MARC program notes the station information and stores the information (Stack 100s, FIG. 7A). The MARC program notifies the requester and "releases" the station for other operations. Now MARC maps the dialogue number to the Transaction_ID and returns the dialogue number to the Kerberos Support Library. This brings the process to FIG. 6A, (61) shown in stack 100s which correlates to FIG. 6A designated (61) between the step (ii) and step (iii). Note that in stack 100s (FIG. 7A), there were several intermediate steps, such that the step involving "Calls Kerberos Support Library To Process Command", will be seen to communicate to the stack 200s whereupon there is a processing of the Kerberos command and the building of a requester message after which there is a notification to MARC via a "call back" procedure, such that the response to the Kerberos command is to be returned "asynchronously". This is then fed over to the first stack 100s at the block designated "Await Return And Call-Back". Subsequently at stack 100s at the function where MARC maps the dialogue number to the Transaction_ID and returns this data to the Kerberos Server Library, there is then a sequence over to the stack 200s (FIG. 7A) where the system stores the Transaction_ID and associates it with a pending request to the Kerberos server, after which the system builds a header and request message which then involves a request of service via the User Datagram Port (UDP) to the KDC (Key Distribution Center) 22, FIG. 2. The request for service via the UDP to the KDC in stack 200s is seen at location (xi-2) "P2" FIG. 7A which is further continued on FIG. 7B where the Kerberos server receives the request via the UDP port then processes the request and builds the response, then sends out the response via the UDP port to the NX server 13 which function is continued as "P1" which relates back to FIG. 7A at location (xi-1). Here, at FIG. 7A, step (xi-1)=P1, there is a KDC event, such that the message is processed to send back to the originator. Then proceeding upward in stack 200S, the Kerberos Support Library will build the message header with a Transaction_ID match after which there will be an insertion of the message in the queue for delivery to the requester at location (xi) "P". Now referring to FIG. 7B, the NX_MCP environment shows the sequence at "P" (xi) which involves a queue insertion event, followed by an action to validate that the queue is active and to cause an "event" for monitoring the process. Then, a call is made to (61) located on stack 100S (FIG. 7A) followed by the events shown on the upper part of stack 100s, where the COMS-event has "happened" and notes a message for MARC. Then, the message is passed to MARC with the appropriate header, after which MARC receives the unsolicited message. At this time, there is also a validation cycle to validate that the client is still valid. After this, MARC recalls the client dialogue number and if valid, forwards the dialogue number. If the dialogue number is invalid, then MARC will discard the message. This is followed by a call to position (62) of FIG. 7B whereby the client-server 13 is seen to transport the response to the client with a message as—"your password has been successfully changed". Thus, in summary, the asynchronous service request from MARC designated as "process C" is seen in FIG. 6A so that now referring to FIG. 4, the client service request is being routed to the MARC whereby MARC requests for Kerberos service and the Kerberos Support Library receives the request for service (d1, FIG. 4), will then select the "asynchronous" message choice YES at (e) which will then trigger the process "C", location (f2) which is then instituted at FIG. 6A, together with FIG. 6B. In FIG. 6A, a series of processes designated (61) operates between the moment that the Kerberos Support Library notifies MARC that an asynchronous service is requested and at the point (iii), FIG. 6A, where the MARC program notes the client's details and releases the session back to the original requester at terminal 10, after which the client is free to initiate a new service request even though the asynchronous service request has not yet been consummated. However, subsequently, an unsolicited message will be generated by the Kerberos server and the MARC program in order to notify the client via an unsolicited message that he may proceed with his original request, since he has now been authenticated by the Kerberos Server. Thus, the user-client can initiate a first or original request for service in a Kerberized environment and does not have to wait for a validation and completion of that original request before he can proceed to do other request operations. After receipt of an unsolicited response to this original request, the originating client-User operator can then pursue the original request. FIGS. 8 and 9 were previously described under the heading of "GENERAL OVERVIEW". DESCRIPTION OF PREFERRED EMBODIMENT The present system provides the service of client authentication in a]Kerberos Domain or Realm through use of an asynchronous message process where the clients are authenticated partially by a software process residing in the client-server module. Referring to FIG. 15, there is seen a diagram showing the major operating elements which provide for a client authentication and validation of communications which are funneled through system libraries which provide several software processes. The client-server 13 in FIG. 16 is shown to be connected to the client terminal 10 which communicates commands to the client-server 13 and receives back certain responses. The client server here, designated the "ClearPath NX" server, is provided with the Master Control Program module 60, which interacts with the Menu-Assisted Resource Control Program 40. The Menu-Assisted Resource Control Program 40 (MARC) communicates with the COMS 42 (Communications Management System) which then interacts with the Kerberos Support Library 34. The Kerberos Support Library 34 then communicates with the Generic Security Service—Application Program Interface 38 (GSS-API) for the purpose of accessing security services. The Encryption Library 32 communicates with the Kerberos Support Library 34 and the Generic Security Service module 38. The client server 13 (FIG. 16) operates within a Kerberos domain which is provided by the KDC Kerberos Server 20 having a key distribution center KDC 22, and a Kerberos administrator program 24 (K-ADMIN). FIG. 16 provides an overview of the operating modules which provide client authentication using the asynchronous message module. As seen in FIG. 16, the ClearPath NX Server 13 has communication lines to the client 10 and also to the Kerberos Server 20. Within the ClearPath Server 13, there is indicated the COMS program 42 which works in communication with MARC 40 and also with the Kerberos Support Library 34. The MARC program 40 communicates with the Master Control Program (MCP) 60 which also has communication lines to the Encryption Library 32. The Kerberos Support Library 34 is connected with communication lines to the general security services application program interface 38. The Kerberos Server 20 is then seen to have its internal modules involving the Kerberos Administrator 24 and the Key Distribution Center (KDC) 22. FIG. 17 is a generalized drawing which shows another expanded view of the system whereby the client 10 communicates through a network cloud 16 which connects the client to the Kerberos Server 20 and to the client server unit 13. Then the client server 13 is seen to have the interconnecting modules indicated whereby the User Data File 36 is connected to the Menu-Assisted Resource Control Program, MARC 40. The MARC 40 is seen connected to the CONS program 42 and additionally has communication lines to the Kerberos Support Library 34 and the GSS-API Library 38. The Kerberos Support Library 34 has connections to a Digest Support unit 73 and also connects to the Master Control Program 60 which coordinates with the COMS program 42 and the MARC program 40, and uses the Log File 72 to store the accumulated data. Now referring to FIG. 18, there is indicated a "process diagram" which shows the operative elements involved together with a series of numerical indicators designated 1i, 2i, 3i, . . . up to 58i. These "i" numbers provide a sequence of software steps and operations which provides the software mechanism for authenticating a client or principal in the Kerberos domain through utilization of an asynchronous message process when the client has not previously been pre-authenticated. The major elements seen in FIG. 18 are shown as the client personal computer 10, which is interconnected to the ClearPath NX server 13. Within the ClearPath NX server 13, the operating elements are seen to be the Communications Management system, COMS 42, which communicates with the Menu-Assisted Resource Control Program (MARC) 40. These two modules are controlled and communicate with the Master Control Program 60 (MCP) which has a connection to a Log file 36 and a User Data file 72. The Master Control Program 60 is seen interconnected to the General Security Services Unit 38 which also interconnects to MARC 40 and to the Kerberos Support Library 34. The Kerberos Support Library 34 (also indicated in FIG. 2) is seen connected to the Kerberos Server 20 which has a Key Distribution Center 22 (KDC). Additionally, the MARC 40 program also interconnects to the Kerberos Support Library 34 (KSL). Now referring in FIG. 18 to the sequence of software operational steps which are involved in authenticating the client or principal in the Kerberos domain with an asynchronous message process, there is seen a series of sequential numbers designated 1i, 2i, 3i, . . . up to 58i, which will be described herein in a sequential set of functional steps. At step 1i, the User Client 10 enters Logon information on the Kerberos Logon screen and initiates the transmit operation. This message is transported by any number of network protocols and is not specific to any Particular protocol. At step 2i, the Logon information is transported from the client 10 over to the Menu-Assisted Resource Control Program 40 (MARC). At step 3i at the MARC program, the MARC program 40 performs security checks, for example, in order to verify the password entered in a Protected field, and places a string on the front of the package that will be sent to the KSL 34. The string includes: the text "INIT"; the <Principal ID> and <Password> entered by the user in step 1i (e.g., "INIT<Principal ID><Password>." INIT allows a User to logon to the Kerberos Server 20 to obtain credentials as a Ticket Granting Ticket (TGT) and a session key. At step 4i, MARC 40 will send this package over to the Kerberos Support Library 34 (KSL). Here, at step 5i, the Kerberos Support Library performs a syntax checking on the package received. The INIT token as the first of the message, will be followed by two or three additional tokens—a Principal_ID and a password or Principal_Name, which is optionally followed by a Realm Name, and a password. The KSL verifies that the Principal_ID (or Principal_Name and optional Realm Name) obey the standard syntax rules. At step 6i, the Kerberos Support Library, KSL 34, creates a new KSL-credential-structure to hold information pertaining to this particular client (e.g. PID and password). KSL then builds an Authentication request (AS_Req message). The KSL 34 allocates a new KSL-credential-structure from a pool of such structures and stores the Principal-ID in it. The logon data is then converted to the user's secret key which is saved in the structure. KSL 34 then builds a AS_Req message, the format of which is described in RFC 1510, Section 5.4.1. "KRB_KDC_REQ Definition", and stores information relative to the request in an AS-Req-structure, also obtained from a pool of such structures. This information includes the KSL-cred-handle which identifies the KSL-credential-structure and a random number (called the "NONCE") which is also contained in the AS_Req message. At step 7i, the Kerberos Support Library 34 sends the AS_Req message over to the Key Distribution Center 22. The UDP protocol is used to send the message to Port 88 at the IP address indicated for the KDC 22 serving the realm indicated by the entered Principal_ID (if no realm was provided, the configured local realm is assumed). At step 8i, the KSL creates a "processing request" message for the MARC program 40. This message is contained in an "OUTPUT MESSAGE ARRAY" which allows translation of the message to any text in any natural language. The KSL 34 merely calls a standard procedure which copies a message to a buffer ready for passing to MARC 40. Then at step 9i, the KSL passes a "Processing request" message over to MARC 40 via the "Send-Response" call-back procedure. Then at step 10i, the MARC program 40 will process this processing request message, after which at step 11i, MARC sends the message to the client terminal 10. At step 12i, MARC 40 returns control from the call-back procedure back to the Kerberos Support Library 34. Then at step 13i, the KSL 34 prepares any return parameters for MARC 40, for example, such as a message containing secured data. The KSL 34 returns the value "14" (indicating the actual success or failure of the authentication process) which will be provided to MARC 40 via a message sent asynchronously using the MCP's DCSENDMESSAGETOMCS procedure. Then at step 14i, the KSL 34 returns control to the MARC 40 together with any return parameters. Only the value of "14" is relevant in this case. At step 15i, the Key Distribution Center 22 (KDC) returns the Authentication Response (AS_Rep message) over to the Kerberos Support Library 34. This can happen anytime after step 7i. The KDC 22 decodes the AS_Request message which the KSL 34 had sent to it and, assuming its database contains appropriate information for the Principal_ID contained in the message, then builds an AS_Rep message. The AS_Rep message contains a Ticket Granting Ticket (TGT) and other information related to the data passed in the AS_Request. Most of this latter information, including the "NONCE", is contained in a token which is encrypted using the Principal's shared secret key. This key can be generated by transforming the data entered on the logon screen and is shared only between the user (who knows the password) and the KDC 22 which holds the corresponding key in its database. The KDC 22 uses the UDP protocol to return the AS_Rep message to the KSL 34. Now at step 16i, the Kerberos Support Library 34 decodes (decrypts) the authorization response and performs various verification checks, for example, like the "Clockskew" check. The KSL 34 receives the AS_Rep message from the KDC 22 and matches it to the original request using the fact that it can successfully decrypt the encrypted token using the Principal's password and that the particularly contained information, especially the "NONCE", matches what was sent in the AS_Request message. Then at step 17i, the KSL 34 builds a Ticket Granting Service request (TGS_Req message) for permission to access the local host service. The KSL 34 creates a TGS_Req message requesting a service ticket for the local host service. This request includes the TGT returned in the earlier AS_Rep message. At step 18i, the Kerberos Support Library 34 then sends the TGS_Req message over to the Key Distribution Center 22. Again, the UDP protocol is used to send the message to port "88" at the IP address indicated for the KDC 22 serving the realm indicated by the entered Principal_ID. Now at step 19i, the KDC 22 returns a Ticket Granting Service response (TGS_Rep message) over to the Kerberos Support Library 34. This can happen anytime after step 18i. The KDC 22 decodes the TGS_Req message which the KSL 34 had sent to it and, assuming its database contains appropriate information for the service contained in the message, then builds a TGS_Rep message. The TGS_Rep message contains a service ticket for the requested service. The KDC 22 uses the UDP protocol to return the TGS_Rep message to the KSL 34. At step 20i, the Kerberos Support Library 34 will decode/or decrypt the TGS response and perform verification checks, such as a Clockskew check. It also creates a new KSL-credential-structure to hold information pertaining to this particular client (for example, PID and the tickets returned by the KDC 22). The KSL 34 also creates parameters to pass over to the Generic Security Service 38 (GSS) in order to get a name handle corresponding to the client's PID (Personal identification Number). Decoding and decryption of the TGS response occurs in several stages. First, the encrypted part of the message is decrypted using the key which was returned in the earlier AS_Rep message and the resulting plain text is decoded. The fact that this is possible indicates that the message could only have been generated by the KDC 22. The KSL 34 has access to the service key for the local host and uses this to decode and decrypt the Service Ticket in the TGS response. The success of this phase indicates that the original client is allowed access to appropriate facilities on the local host machine. Once all of the checks have been completed, the KSL 34 creates a credential structure which may be used in the future if the client attempts some function which requires the established credentials. Then at step 21i, the Kerberos Support Library 34 will call the GSS 38 and pass the PID, the PID length and its name type. The KSL 34 passes the client's Principal_ID, its length, and the name type to the GSS 38, requesting a name handle which will be used in the future to refer to this name. Then at step 22i, the GSS 38 will process the PID/name type (store PID/name type). GSS 38 uses the name type to identify the mechanism that made the call. GSS 38 stores the PID and the PID length in its internal heap and a pointer to the name in its tables. At step 23i, the GSS calls the Kerberos Support Library 34, KSL 34, to translate the PID into a local user code (UC) on the system. The PID and the PID length are passed on to the KSL 34. At step 24i, the Kerberos Support Library 34 maps the PID to the User Code (UC) and its length, and prepares the information to return to the GSS 38. KSL 34 uses the system procedure "USERDATA" to map the PID to a corresponding A-Series USERCODE. This USERCODE is converted into the form expected by the GSS 38. The expected form is an upper case identifier in parentheses. For example, the USERCODE "FRED" will be converted to "(FRED)". At step 25i, the Kerberos Support Library 34 returns the User Code/and the length, to the GSS 38. At step 26i, the GSS 38 stores the User Code (local name) /length/ in its internal tables and generates a Name-Handle for the name. At step 27i, the GSS 38 returns the generated Name-Handle over to the Kerberos Support Library 34. At step 28i, the Kerberos Support Library 34 saves the Name-Handle in the KSL-Credential-Structure, and then creates the KSL-Credential-Handle for this particular structure. At step 29i, the Kerberos Support Library 34 calls the GSS 38 (Mech_Add_Cred) passing the Name-Handle and the KSL-cred-handle requesting the GSS 38 to create its credential information for the client. At step 30i, the GSS 38 validates the Name-Handle passed in by KSL 34. If the validation succeeds, a Credential Handle that corresponds to the Name Handle is created in the GSS internal tables. The GSS-cred-tag is a part of the GSS-cred-handle. Again referring to FIG. 18, at step 31i, the GSS 38 will return the GSS-cred-tag to the Kerberos Support Library 34. Then, at step 32i, the Kerberos Support Library 34 will save the GSS-cred-tag in the KSL-Credential-Structure. At step 33i, the Kerberos Support Library 34 will pass the GSS-cred-tag over to the GSS 38 asking for the GSS-cred-handle. At step 34i, the GSS 38 will map the GSS-cred-tag to the GSS-cred-handle. Then at step 35i, the GSS 38 returns the GSS-cred-handle back to the Kerberos Support Library 34. At step 36i, the Kerberos Support Library 34 builds a message to inform MARC 40 that the Kerberos authentication has successfully completed (the message includes the GSS-cred-handle). At step 37i, the Kerberos Support Library 34 calls the Master Control Program 60 (MCP) (DCSENDMESSAGETOCOMS), thus passing to MARC the message. At step 38i, there is a communication from the MCP 60 over to the COMS program 42 as was described in the U.S. patent application, Ser. No. 09/026,746, now U.S. Pat. No. 6,175,920 entitled "Expedited Message Control for Synchronous Response in a Kerberos Domain", which is incorporated herein by reference. At step 39i, the Master Control Program 60 (MCP) puts in an "intercomq" request for COMS 42. The response is inserted ultimately by using the INSERT constructed into an intercomq managed by the MCP 60. COMS 42 is notified of such an INSERTion via a queue event mechanism. Then at step 40i, the communication management system COMS 42 recognizes this queued message as a message for MARC 40 if the message has a mutually agreed upon value in the first word of the Header. At step 41i, COMS 42 then sends a message over to MARC 40 by calling a procedure and passing in a mutually known function code. Thus signals MARC 40 that this message is from Kerberos. At step 42i, MARC recognizes an asynchronous message from the Kerberos Support Library 34, then verifies it and then extracts the GSS-cred-handle. At step 43i, MARC 40 calls the GSS 38 (ASP-handle_internal_ID) passing the GSS-cred-handle. At Step 44i, the GSS 38 maps the GSS-cred-handle to a user Code (UC). GSS 38 has links that relate the Credential Handle to a Name Handle. The Name Handle has the user code information in the GSS tables. Then at step 45i, the GSS 38 returns the User Code (UC) over to MARC 40. At step 46i, MARC 40 begins to create a session for the User. At step 47i, MARC 40 then calls the MCP 60 (user data file 72) in order to get the User's attributes. At step 48i, the MCP 60 reads the UserCode attributes from the USERDATAFILE 72. These attributes contain specific information unique for a given client or user. These attributes, however, are not germane to the overall description of this mechanism. Then at step 49i, the MCP 60 returns the attribute information back to MARC 40. MARC is passed this information as a return to an entry point call. Then at step 50i, MARC 40 completes the creation of the User's session. At step 51i, then MARC 40 passes the session information and the GSS-cred-handle over to the MCP 60 via the MCS_Logger. At step 52i, the Master Control Program 60 (MCP) Writes to the Log file 36. Specific information is recorded in the log, none of which is considered "Sensitive" client/user information. At step 53i, the MCP 60 calls the GSS 38 (MCP_ADD_Credential) passing the GSS-cred-handle and the mix number. At step 54i, the GSS 38 associates the mix number with the GSS-cred-handle and stores it in its own tables. Then at step 55i, the GSS 38 returns the control back to the MARC 40. At step 56i, the MCP 60 returns the control back to MARC 40. This is a release of a call back to the original requestor. Then at step 57i, the MARC program 40 generates default home screen for the client User 10. If the client has been authenticated, the client is sent (or presented with) their home or default screen (menu-graph). In the event of a failed attempt, an error message or screen will then be returned. Then at step 58i, MARC 40 sends the default home screen (or the rejection screen) to the client terminal waiting for input to the screen. Like step 1i, this screen is sent to the client via a non-specific network protocol. The client User now has his response, and knows he is or is not authenticated. Described herein has been a software mechanism which authenticates a client (previously non-authenticated) or a non-preauthenticated Principal operating in a Kerberos domain or realm through use of an asynchronous message process. The validation of the client's ability to participate is performed by a Kerberos Server. The communications between the client and the server are performed by using various types of messages and various protocols, such as the Communications Management System 42, the Menu-Assisted Resource Control system 40, the Master Control Program 60, the Generic Security Service 38, and the Kerberos Support Library 34, together with the Kerberos Server 20. If the authentication mechanism was only able to process a single request for authentication to completion, there would normally exist a long wait or bottleneck while various other requests were being processed. However, by utilizing an asynchronous mechanism and its subtasks in various states, the authentication can be processed without having to wait for any one single request to be completely finished. Thus, there is provided a facilitation of completed authentication processing of multiple requests from non-preauthenticated multiple clients, each of which have been requesting Kerberos authentication. While a particular example of the above-mentioned method and system has been described for effectuating a non-preauthenticated Kerberos Logon using an asynchronous message mechanism, other embodiments may also be implemented which still are encompassed by the present invention, which invention is to be understood as being defined by the following claims.
|
Same subclass | ||||||||||
