public PasswordAuthentication registerPasswordAuthentication(URL pURL, PasswordAuthentication pPA) {
        return registerPasswordAuthentication(NetUtil.createInetAddressFromURL(pURL),
                pURL.getPort(),
                pURL.getProtocol(),
                null, // Prompt/Realm
                BASIC,
                pPA);
    }
public PasswordAuthentication registerPasswordAuthentication ( URL pURL , PasswordAuthentication pPA ) { return registerPasswordAuthentication ( NetUtil . createInetAddressFromURL ( pURL ) , pURL . getPort ( ) , pURL . getProtocol ( ) , null , BASIC , pPA ) ; }
Registers a PasswordAuthentication with a given URL address.