Class DatabaseUsersFactory

java.lang.Object
rife.database.DbQueryManagerFactory
rife.authentication.credentialsmanagers.DatabaseUsersFactory

public class DatabaseUsersFactory extends DbQueryManagerFactory
Factory for DatabaseUsers manager instances that creates singletons based on the Datasource and an optional differentiating identifier.
Since:
1.0
  • Field Details

    • MANAGER_PACKAGE_NAME

      public static final String MANAGER_PACKAGE_NAME
      The package name of the datasource-specific implementations
  • Constructor Details

    • DatabaseUsersFactory

      public DatabaseUsersFactory()
  • Method Details

    • instance

      public static DatabaseUsers instance(Datasource datasource)
      Return an instance of DatabaseUsers for the provided Datasource.
      Parameters:
      datasource - the datasource that will be used to create the manager
      Returns:
      the requested DatabaseUsers instance
      Since:
      1.0