Class DatabaseSessionValidatorFactory

java.lang.Object
rife.database.DbQueryManagerFactory
rife.authentication.sessionvalidators.DatabaseSessionValidatorFactory

public class DatabaseSessionValidatorFactory extends DbQueryManagerFactory
Factory for DatabaseSessionValidator 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

    • DatabaseSessionValidatorFactory

      public DatabaseSessionValidatorFactory()
  • Method Details

    • instance

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