Class PasswordSecretData


  • public class PasswordSecretData
    extends Object
    • Field Detail

      • logger

        public static final org.jboss.logging.Logger logger
    • Constructor Detail

      • PasswordSecretData

        public PasswordSecretData​(String value,
                                  String salt,
                                  Map<String,​List<String>> additionalParameters)
                           throws IOException
        Creator with the option to provide customized secret data (multiple salt values, chiefly)
        Parameters:
        value - hash value
        salt - salt value
        additionalParameters - additional data required by the algorithm
        Throws:
        IOException - invalid base64 in salt value
      • PasswordSecretData

        public PasswordSecretData​(String value,
                                  byte[] salt)
        Default creator (Secret consists only of a value and a single salt)
        Parameters:
        value - hash value
        salt - salt