Die Systemfunktion 'serviceLib.setHTTPBasicAuthentication()' stellt eine einfache HTTP-Header-Authentifizierung mit 64–Bit-Verschlüsselung bereit.
Ausführliche Informationen zur CICS-Konfiguration finden Sie unter 'Implementierung eines Web-Service-Anforderers für CICS'.
serviceLib.setHTTPBasicAuthentication(Variable Service | Interface in,
BenutzerID STRING in,
Kennwort STRING in)
Das folgende Beispiel zeigt die Funktion 'setHTTPBasicAuthentication()' im Kontext:
try
serviceLib.setHTTPBasicAuthentication(accountServices,
userID, password);
onException(sbe ServiceBindingException)
sysLib.setError(sbe.message);
end
| Plattform | Problem |
|---|---|
| COBOL-Generierung | Die Funktion 'setHTTPBasicAuthentication()' wird nur für z/OS CICS unterstützt. |