4.3 The Security Sample Application
The Security sample application demonstrates how to use password authentication. The Security sample application requires that each student using the application has an ID and a password. The Security sample application works in the following manner:
- The client application has a
logon()
operation. This operation invokes operations on the PrincipalAuthenticator object, which is obtained as part of the process of logging on to access the domain. - The server application implements a
get_student_details()
operation on theRegistrar
object to return information about a student. After the user is authenticated, logon is complete and theget_student_details()
operation accesses the student information in the database to obtain the student information needed by the client logon operation. - The database in the Security sample application contains course and student information.
Note:
Certificate authentication is illustrated in the Secure Simpapp sample application.The following figure illustrates the Security sample application.
Figure 4-2 Security Sample Application

The source files for the Security sample application are located in the \samples\corba\university
directory in the Oracle Tuxedo software. For information about building and running the Security sample application, see Using Security in CORBA Applications in the Oracle Tuxedo online documentation.
Parent topic: Using Security