Class Hierarchy    Previous  Next  Index

Class COM.cloudscape.authentication.util.SimpleAuthenticationScheme

java.lang.Object
    |
    +----COM.cloudscape.authentication.util.SimpleAuthenticationScheme

public class SimpleAuthenticationScheme
extends java.lang.Object
implements AuthenticationScheme
Copyright © 1998-2000, Informix Software, Inc. All rights reserved.

This authentication scheme is for SIMPLE User authentication level support.

It is an authentication provider for the version 1.5 default user Authentication scheme.

It provides basically the same functionality for User support (authentication) there was in version 1.5.

In version 2.0, users can now be defined as database properties. This gives customers a way to maintain the same user configuration as they had in version 1.5 until they upgrade to version 2.0.

See Also:
AuthenticationScheme

Variable Index

 o USER_PROPERTY_PREFIX
 

Constructor Index

 o SimpleAuthenticationScheme()
This is where we initialize/retrieve the users definitions here as well as database restriction list if any.

Method Index

 o authenticateUser(String, String, String, Properties)
Authenticate the passed-in user's credentials.
 o toString()
Return the authentication service name.

Field Detail

 o USER_PROPERTY_PREFIX
public static final java.lang.String USER_PROPERTY_PREFIX

Constructor Detail

 o SimpleAuthenticationScheme
public SimpleAuthenticationScheme() throws COM.cloudscape.protocol.Database.Errors.StandardException, java.io.IOException
          This is where we initialize/retrieve the users definitions here as well as database restriction list if any. Note that the 'cloudscape.database.users.' property is ONLY valid for this scheme as it has been deprecated in 2.0 for the main / basic Cloudscape authentication Service

Method Detail

 o authenticateUser
public void authenticateUser(java.lang.String userName,
                             java.lang.String userPassword,
                             java.lang.String databaseName,
                             java.util.Properties info) throws AuthenticationException
          Authenticate the passed-in user's credentials.
Parameters:
userName - The user's name used to connect to the Cloudscape system
userPassword - The user's password used to connect to the Cloudscape system
databaseName - The database which the user wants to connect to.
info - Additional jdbc connection info.
Throws:
AuthenticationException - on failure to process user authentication.
 o toString
public java.lang.String toString()
          Return the authentication service name.
Returns:
the authentication service name used.
Overrides:
toString in class java.lang.Object

  Class Hierarchy    Previous  Next  Index