Class PasswordService


  • @ApplicationScoped
    public class PasswordService
    extends Object
    This service provide method to hash and verify passwords.
    Author:
    Arnaud Fonce
    • Constructor Detail

      • PasswordService

        public PasswordService()
    • Method Detail

      • hash

        public String hash​(char[] password,
                           boolean wipePassword)
      • verify

        public boolean verify​(char[] password,
                              String hash,
                              boolean wipePassword)