Package sonia.scm.security
Class DAORealmHelperFactory
java.lang.Object
sonia.scm.security.DAORealmHelperFactory
Factory to create
DAORealmHelper
instances.- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionDAORealmHelperFactory
(LoginAttemptHandler loginAttemptHandler, UserDAO userDAO, CacheManager cacheManager) -
Method Summary
Modifier and TypeMethodDescriptionCreates a newDAORealmHelper
for the given realm with the injected dao instances.
-
Constructor Details
-
DAORealmHelperFactory
@Inject public DAORealmHelperFactory(LoginAttemptHandler loginAttemptHandler, UserDAO userDAO, CacheManager cacheManager)
-
-
Method Details
-
create
Creates a newDAORealmHelper
for the given realm with the injected dao instances.- Parameters:
realm
- name of realm- Returns:
- new
DAORealmHelper
instance.
-