[noscript, uuid(82274a32-a196-42ee-8e3b-fcb73e339518)]
interface nsIJVMAuthTools : nsISupports

Methods

 Export AuthenticationInfo interface to JPI.

 @param protocol               the protocol that support (http/https)
 @param host                   host name
 @param port                   port number
 @param scheme                 scheme
 @param realm                  realm
 @param nsIAuthenticationInfo  the AuthenticationInfo interface
                               that export

 @return  	             NS_OK if success, other if fail
nsIAuthenticationInfo GetAuthenticationInfo(in string protocol, in string host, in PRInt32 port, in string scheme, in string realm)
 Import username/password pair from JPI.

 @param protocol  the protocol that support (http/https)
 @param host      host name
 @param port      port number
 @param scheme    scheme
 @param realm     realm
 @param username  user name
 @param password  password

 @return          NS_OK if success, other if fail
void SetAuthenticationInfo(in string protocol, in string host, in PRInt32 port, in string scheme, in string realm, in string username, in string password)