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

3.8.3 COBW3_GET_AUTHORIZE

This subroutine acquires authorization information from a WWW browser. The user ID, password, and client IP address are acquired according to the authorization request.

Format

CALL "COBW3_GET_AUTHORIZE" USING COBW3.

Data setting at calling

None

Processing result data

COBW3-USERID

The acquired user ID is set.

COBW3-USERID-LENGTH

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

COBW3-PASSWORD

The acquired user password is set.

COBW3-PASSWORD-LENGTH

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

COBW3-IP-ADDRESS

The acquired IP address of the client is set.

COBW3-IP-ADDRESS-LENGTH

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

COBW3-AUTH-TYPE

The acquired authorization type information is set.

COBW3-AUTH-TYPE-LENGTH

The byte length of the authorization type information (character string) is set.

Note

When the authorization type is anonymous authorization, information other than the IP address is not acquired. When the authorization type is basic authorization, all of the information is acquired and "Basic" is reported as the authorization type. When the authorization type is IIS Microsoft encrypted authorization, all of the information other than user password is acquired and "NTLM" is reported as the authorization type.