Visual Cafe Pro Language Reference Method index | Bottom

Interface: symantec.itools.db.pro.Logon

Purpose Provides a hook into dbANYWHERE's logon failure handler.
Description Logon provides a hook into dbANYWHERE's logon failure handler.
Syntax public interface Logon
extends Object

Method Index

Top | Bottom
logonFailed(ConnectionInfo, int)
 o Indicates that a database logon attempt failed.

Methods

Method index | Top | Bottom

Method: logonFailed

Purpose Indicates that a database logon attempt failed.
Syntax public abstract boolean logonFailed(ConnectionInfo conn,
int retries)
Parameters conn = Connection information.

retries = The number of retries allowed for a database logon.

Description Indicates that a database logon attempt failed. Visual CafÄ Pro invokes this method only if the object implementing the Logon interface registered itself with the Session's LogonHandler. logonFailed lets the user change the user name and/or password.
Return values True = The user changed the user name and/or password.

False = The user canceled the operation.

See also SQL exceptions

Method index | Top

Copyright © 1996 Symantec Corporation. All rights reserved.