XSSFPasswordHelper
instead.@Internal(since="3.15 beta 3") @Deprecated @Removal(version="3.17") public class XSSFPaswordHelper extends java.lang.Object
Constructor and Description |
---|
XSSFPaswordHelper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
setPassword(org.apache.xmlbeans.XmlObject xobj,
java.lang.String password,
HashAlgorithm hashAlgo,
java.lang.String prefix)
Deprecated.
Sets the XORed or hashed password
|
static boolean |
validatePassword(org.apache.xmlbeans.XmlObject xobj,
java.lang.String password,
java.lang.String prefix)
Deprecated.
Validates the password, i.e.
|
public static void setPassword(org.apache.xmlbeans.XmlObject xobj, java.lang.String password, HashAlgorithm hashAlgo, java.lang.String prefix)
xobj
- the xmlbeans object which contains the password attributespassword
- the password, if null, the password attributes will be removedhashAlgo
- the hash algorithm, if null the password will be XORedprefix
- the prefix of the password attributes, may be nullpublic static boolean validatePassword(org.apache.xmlbeans.XmlObject xobj, java.lang.String password, java.lang.String prefix)
xobj
- the xmlbeans object which contains the password attributespassword
- the password, if null the method will always return false,
even if there's no password setprefix
- the prefix of the password attributes, may be nullCopyright 2018 The Apache Software Foundation or its licensors, as applicable.