oracle.jdeveloper.cm
Interface ConnectInfoPrompter
- All Known Implementing Classes:
- ConnectInformationDialog
- public interface ConnectInfoPrompter
The ConnectInfoPrompter
interface describes how
ConnectionManager
expects to be able to prompt users for
security information.
- See Also:
ConnectionManager
,
ConnectionManager.setPrompter(ConnectInfoPrompter)
Method Summary |
void |
promptUser(ConnectionDescriptor descriptor)
implementors of the promptUser method should take
the given descriptor and prompt the user to fill in any necessary
security information. |
promptUser
public void promptUser(ConnectionDescriptor descriptor)
throws CMException
- implementors of the
promptUser
method should take
the given descriptor and prompt the user to fill in any necessary
security information. The call to promptUser
should
not return until the user has interacted with whatever prompt is
displayed.
- Parameters:
descriptor
- the ConnectionDescriptor
object to
be filled in. NOTE: for security reasons, this object
will never contain the user's password; any password contained
within descriptor will be stripped out prior to this call.- Throws:
CMException
- thrown if there is any problem prompting
the user for connection information, or if the user canceled the
prompt.