public void setEncoding(Encoding encoding) {
        this.encoding = encoding;
    }
Sets the encoding which will be used to hash the password or when
comparing a given password for validation.

@param encoding The encoding to use for password hashing.
guacamole/src/main/java/org/apache/guacamole/auth/file/Authorization.java