se.entra.phantom.auth
Interface AuthCB

All Known Implementing Classes:
NetPhantomStarter, NetPhantomStarterSSL, Phantom, PhantomEditor

public interface AuthCB

This interface requests a dialog box to be displayed for user authentication for HTTP/HTTPS connections as well as password processing for SSL certificate files.


Method Summary
 String[] getAuth(boolean usesSSL, String serverName, String scheme, String realm, String resource, String userID, String password)
          Requests a password.
 

Method Detail

getAuth

String[] getAuth(boolean usesSSL,
                 String serverName,
                 String scheme,
                 String realm,
                 String resource,
                 String userID,
                 String password)
Requests a password.

The following parameters indicates how the process is handled:

The parameters "userID" and "password" are set to null if no previous data is present, otherwise the previous userID (always null for certificate files) and the previous password.

Returns:
null no userID/password is specified (cancel was pressed. String [2] String[0]=userID, String[1]=password, for certificate files, userID is null.


Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.