Class DictionaryServiceImpl
java.lang.Object
ch.tocco.nice2.web.core.impl.auth.password.DictionaryServiceImpl
- All Implemented Interfaces:
DictionaryService
@Component
@Profile("!test")
public class DictionaryServiceImpl
extends Object
implements DictionaryService
Creates a dictionary of words prohibited to use in passwords for the Passay library
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.passay.dictionary.Dictionary
Creates a dictionary of words prohibited to use in passwords for the Passay libraryvoid
void
setFiles
(ModelResource files)
-
Constructor Details
-
DictionaryServiceImpl
public DictionaryServiceImpl()
-
-
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
-
setFiles
-