Class Hierarchy Index
Class COM.cloudscape.authentication.util.SimpleAuthenticationScheme
java.lang.Object
|
+----COM.cloudscape.authentication.util.SimpleAuthenticationScheme
- public class SimpleAuthenticationScheme
- extends Object
- implements AuthenticationScheme
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
-
USER_PROPERTY_PREFIX
-
-
SimpleAuthenticationScheme()
-
-
authenticateUser(String, String, String, Properties)
- Authenticate the passed-in user's credentials.
-
toString()
- Return the authentication service name.
USER_PROPERTY_PREFIX
public static final String USER_PROPERTY_PREFIX
SimpleAuthenticationScheme
public SimpleAuthenticationScheme() throws ModuleStartupException
authenticateUser
public void authenticateUser(String userName,
String userPassword,
String databaseName,
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.
toString
public String toString()
- Return the authentication service name.
- Returns:
- the authentication service name used.
- Overrides:
- toString in class Object
Class Hierarchy Index