Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

UTL_HTTP , 27 of 59


SET_AUTHENTICATION Procedure

This procedure sets HTTP authentication information in the HTTP request header. The Web server needs this information to authorize the request.

Syntax

UTL_HTTP.set_authentication(

r  IN OUT NOCOPY req,
username  IN VARCHAR2,
password  IN VARCHAR2,
scheme    IN VARCHAR2 DEFAULT 'Basic',
for_proxy IN BOOLEAN  DEFAULT FALSE);

Parameters

Table 78-28 shows the parameters for the SET_AUTHENTICATION procedure.

Table 78-28 SET_AUTHENTICATION Procedure Parameters
Parameter  Description 
r (IN/OUT)
 

The HTTP request 

username (IN)
 

The username for the HTTP authentication 

password (IN)
 

The password for the HTTP authentication 

scheme (IN)
 

The HTTP authentication scheme. The default, BASIC, denotes the HTTP Basic Authentication scheme. 

for_proxy (IN)
 

Identifies if the HTTP authentication information is for access to the HTTP proxy server instead of the Web server. Default is FALSE

Usage Notes

Only the HTTP Basic Authentication scheme is supported.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback