Class Hierarchy Index
The AuthenticationScheme interface provides operations to authenticate a user's credentials in order to successfully connect to Cloudscape. Any User authentication schemes could be implemented using this interface and registered with Cloudscape at start-up time.
If an application requires its own authentication scheme, then it can implement this interface and register as the authentication scheme that Cloudscape should call upon connection requests to the system.
A typical example would be to implement Cloudscape user authentication using LDAP, Sun NIS+, or even Windows User Domain, using this interface. Cloudscape calls this interface and leaves it up to the implementation to authenticate the passed-in user credentials.
Note: Additional connection attributes can be specified on the database connection URL and/or Properties object on jdbc connection. Values for these attributes can be retrieved at runtime by the (specialized) authentication scheme to further help user authentication, if one needs additional info other than user, password, and database name.
public abstract void authenticateUser(String userName, String userPassword, String databaseName, Properties info) throws AuthenticationException
public abstract String toString()
Class Hierarchy Index