package jas2.jds.interfaces;

import jas2.jds.security.*;
import java.rmi.*;
import jas2.util.rmi.*;

/**
 * This is the extension of JavaDataServer interface
 * It deals with establishing secure connection.
 */

public interface SecureJavaDataServer extends JavaDataServer
{
        /**
         * Open a secure connection.
         *
         * @return true if there are existing jobs for this user
         * throws PasswordRequiredException if authorization failed
         */

        public boolean openSecureConnection(String user, double version, Object pass) throws ConnectionRejected, RemoteException, PasswordRequiredException;
}

 

Ads help maintain this website.