Class CapturedUserPasswordContext

  • All Implemented Interfaces:
    Context

    public class CapturedUserPasswordContext
    extends AbstractContext
    A CapturedUserPasswordContext to store the user's decrypted password.
    • Method Detail

      • getRaw

        public byte[] getRaw()
        The bytes of the decrypted password.
        Returns:
        the bytes of the decrypted password.
      • getValue

        public String getValue()
        Returns the decrypted password as an UTF-8 String.
        Returns:
        the decrypted password as an UTF-8 String.
      • getValue

        public String getValue​(Charset charset)
        Returns a new String by decoding the password using the specified charset.
        Parameters:
        charset - The charset to be used to decode the bytes.
        Returns:
        the decrypted password as a String.