Class DictionaryServiceTestImpl
java.lang.Object
ch.tocco.nice2.web.core.impl.auth.password.DictionaryServiceTestImpl
- All Implemented Interfaces:
DictionaryService
@Component
@Profile("test")
public class DictionaryServiceTestImpl
extends Object
implements DictionaryService
DictionaryService for StartupTest to avoid Out of Memory issues
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.passay.dictionary.Dictionary
Creates a dictionary of words prohibited to use in passwords for the Passay libraryvoid
-
Constructor Details
-
DictionaryServiceTestImpl
public DictionaryServiceTestImpl()
-
-
Method Details
-
initialize
@PostConstruct public void initialize() -
createDictionary
public org.passay.dictionary.Dictionary createDictionary()Description copied from interface:DictionaryService
Creates a dictionary of words prohibited to use in passwords for the Passay library- Specified by:
createDictionary
in interfaceDictionaryService
- Returns:
- the dictionary
-