package jas2.jds.security;

/**
 * This exception is thrown by the AccessManager when openConnection is called on the 
 * secure server, or when openSecureConnection fails
 */

public class PasswordRequiredException  extends SecurityException
{
    public PasswordRequiredException() { super(); _ph = null; }

    public PasswordRequiredException(String message) { super(message); _ph = null; }

    public PasswordRequiredException(String message, PasswordHandler ph)  { super(message); _ph = ph; }

    public void setPasswordHandler(PasswordHandler ph) { _ph = ph ; }

    public PasswordHandler getPasswordHandler() { return _ph; }

    private PasswordHandler _ph;
}

 

Ads help maintain this website.