Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

3.8.3 COBW3_GET_AUTHORIZE

This subroutine acquires authentication information from the WWW Browser. The user ID, password, and IP address of the client passed in response to an authentication request are acquired.

How to write

CALL "COBW3_GET_AUTHORIZE" USING COBW3.

Data setting for calling

None

Processing result data

COBW3-USERID

The acquired user ID is set.

COBW3-USERID-LENGTH

The string length (byte length) of the user ID is set.

COBW3-PASSWORD

The acquired user password is set.

COBW3-PASSWORD-LENGTH

The string length (byte length) of the user password is set.

COBW3-IP-ADDRESS

The acquired IP address of the client is set.

COBW3-IP-ADDRESS-LENGTH

The string length (byte length) of the IP address is set.

COBW3-AUTH-TYPE

The acquired authentication type is set.

COBW3-AUTH-TYPE-LENGTH

The string length (byte length) of the authentication type is set.

Note

With basic authentication, all information can be acquired and "Basic" is set as the authentication type. For anonymous authentication, no information other than the IP address can be acquired. When Microsoft encryption authentication is used, all information excluding the user password can be acquired and "NTLM" is set as the authentication type.