Class DatabaseSessionValidatorFactory
java.lang.Object
rife.database.DbQueryManagerFactory
rife.authentication.sessionvalidators.DatabaseSessionValidatorFactory
Factory for
DatabaseSessionValidator
manager instances that creates singletons
based on the Datasource
and an optional differentiating
identifier.- Since:
- 1.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The package name of the datasource-specific implementations -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseSessionValidator
instance
(Datasource datasource) Return an instance ofDatabaseSessionValidator
for the providedDatasource
.Methods inherited from class rife.database.DbQueryManagerFactory
instance, instance
-
Field Details
-
MANAGER_PACKAGE_NAME
The package name of the datasource-specific implementations
-
-
Constructor Details
-
DatabaseSessionValidatorFactory
public DatabaseSessionValidatorFactory()
-
-
Method Details
-
instance
Return an instance ofDatabaseSessionValidator
for the providedDatasource
.- Parameters:
datasource
- the datasource that will be used to create the manager- Returns:
- the requested
DatabaseSessionValidator
instance - Since:
- 1.0
-