nsIJVMAuthTools

IID:82274a32-a196-42ee-8e3b-fcb73e339518
Inherits From:nsISupports

Methods

nsIAuthenticationInfo GetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm ) void SetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm , char* username , char* password )

nsIAuthenticationInfo GetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm )

Export AuthenticationInfo interface to JPI.

Arguments:
protocol: the protocol that support (http/https)
host: host name
port: port number
scheme: scheme
realm: realm
Returns:
NS_OK if success, other if fail

void SetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm , char* username , char* password )

Import username/password pair from JPI.

Arguments:
protocol: the protocol that support (http/https)
host: host name
port: port number
scheme: scheme
realm: realm
username: user name
password: password
Returns:
NS_OK if success, other if fail

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com