•
GenericAuth.js
contains the code for the authentication prompt. This prompt is configurable
from the TPS server, which requires dynamic processing by Enterprise Security Client.
3.1. Quick Javascript UI Guide
Certificate System 7.1 deployments may be using a customized external UI for key enrollment.
Changes have been made to the names of internal Enterprise Security Client XPCOM objects in
later versions of Certificate System, so changes need to be made to the
ESC.js
file to adapt an
older UI. The places for these changes are shown in the file section below.
//ESC.js : Core Enterprise Security Client functionality
....
//
// Attach to the Enterprise Security Client XPCOM object on load
//
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
netkey = Components.classes["@redhat.com/rhCoolKey"].getService();
netkey = netkey.QueryInterface(Components.interfaces.rhICoolKey);
gNotify = new jsNotify;
netkey.rhCoolKeySetNotifyCallback(gNotify);
} catch(e) {
alert("Can't get UniversalXPConnect: " + e);
}
//Sample function to complete Enrollment of a key.
function EnrollCoolKey(keyType, keyID, enrollmentType, screenname,
pin,screennamepwd,tokencode)
{
try {
netkey.EnrollCoolKey(keyType, keyID, enrollmentType, screenname,
pin,screennamepwd,tokencode);
} catch(e) {
ReportException("netkey.EnrollCoolKey() failed!", e);
return false;
}
return true;
}
4. Enterprise Security Client File Locations
This reference shows the different directories and file locations for the different client machines.
• The location of the Enterprise Security Client main directory on the different client platforms is
as follows:
Appendix A. Enterprise Security Client Configuration
50
Содержание CERTIFICATE SYSTEM ENTERPRISE - SECURITY GUIDE
Страница 2: ...Red Hat Certificate System Enterprise Security Client Guide ...
Страница 4: ...Red Hat Certificate System Enterprise Security Client Guide ...
Страница 6: ...vi ...
Страница 10: ...4 ...
Страница 12: ...6 ...
Страница 18: ...Figure 3 5 Beginning Installation Chapter 3 Installation 12 ...
Страница 26: ...20 ...
Страница 52: ...NOTE There is no uninstallation program for the Mac Chapter 6 Uninstalling Enterprise Security Client 46 ...
Страница 59: ...Index 53 ...
Страница 60: ...54 ...