22.09.2013 Views

NetCOBOL for SPARC Architecture SAF Subroutines User's Guide

NetCOBOL for SPARC Architecture SAF Subroutines User's Guide

NetCOBOL for SPARC Architecture SAF Subroutines User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

48 Chapter 3. How to Use <strong>SAF</strong> <strong>Subroutines</strong><br />

COBW3_GET_AUTHORIZE<br />

This subroutine acquires authorization in<strong>for</strong>mation from the WWW browser. The<br />

authorization in<strong>for</strong>mation includes the ID and password of the user and the IP<br />

address of the client.<br />

Format:<br />

CALL "COBW3_GET_AUTHORIZE" USING COBW3.<br />

COBW3 Data <strong>for</strong> Calls:<br />

None<br />

Processing Result Data:<br />

•<br />

•<br />

•<br />

•<br />

•<br />

•<br />

COBW3-USERID<br />

The acquired user ID is set.<br />

COBW3-USERID-LENGTH<br />

The character length (byte length) of the user ID is set.<br />

COBW3-PASSWORD<br />

The acquired user password is set.<br />

COBW3-PASSWORD-LENGTH<br />

The character length (byte length) of the user password is set.<br />

COBW3-IP-ADDRESS<br />

The acquired client IP address is set.<br />

COBW3-IP-ADDRESS-LENGTH<br />

The character length (byte length) of the IP address is set.<br />

• COBW3-AUTH-TYPE<br />

The acquired authorization type is set.<br />

• COBW3-AUTH-TYPE-LENGTH<br />

The character length (byte length) of the authorization type is set.<br />

Note: This subroutine cannot acquire any in<strong>for</strong>mation of an anonymous<br />

authorization except the IP address.<br />

It may acquire any type of in<strong>for</strong>mation of a basic authorization. "basic" is set as the<br />

authorization type.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!