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 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 interface DictionaryService
      Returns:
      the dictionary
    • setFiles

      @Autowired public void setFiles(ModelResource files)