serviceLib.setHTTPBasicAuthentication() システム関数は、64 ビット暗号化を使用する簡単な HTTP ヘッダー認証を提供します。
必要な CICS 構成の詳細については、『CICS に対する Web サービス・リクエスターのデプロイ』を参照してください。
serviceLib.setHTTPBasicAuthentication(variable Service | Interface in,
userID STRING in,
password STRING in)
以下の例は、setHTTPBasicAuthentication() 関数をコンテキスト内で示しています。
try
serviceLib.setHTTPBasicAuthentication(accountServices,
userID, password);
onException(sbe ServiceBindingException)
sysLib.setError(sbe.message);
end
| プラットフォーム | 問題 |
|---|---|
| COBOL 生成 | setHTTPBasicAuthentication() 関数は z/OS CICS の場合のみサポートされます。 |