|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.jasypt.digest.config.SimpleDigesterConfig
org.jasypt.digest.config.SimpleStringDigesterConfig
public class SimpleStringDigesterConfig
Bean implementation for StringDigesterConfig
. This class allows
the values for the configuration parameters to be set
via "standard" setX methods.
For any of the configuration parameters, if its setX method is not called, a null value will be returned by the corresponding getX method.
Constructor Summary | |
---|---|
SimpleStringDigesterConfig()
Creates a new SimpleStringDigesterConfig instance. |
Method Summary | |
---|---|
String |
getStringOutputType()
This parameter lets the user specify the form in which String output will be encoded. |
Boolean |
isUnicodeNormalizationIgnored()
This parameter lets the user specify if the Unicode text normalization step performed during String digest and matching should be ignored. |
void |
setStringOutputType(String stringOutputType)
Sets the the form in which String output will be encoded. |
void |
setUnicodeNormalizationIgnored(Boolean unicodeNormalizationIgnored)
Sets whether the unicode text normalization step should be ignored. |
void |
setUnicodeNormalizationIgnored(String unicodeNormalizationIgnored)
Sets whether the unicode text normalization step should be ignored. |
Methods inherited from class org.jasypt.digest.config.SimpleDigesterConfig |
---|
getAlgorithm, getIterations, getProvider, getProviderName, getSaltGenerator, getSaltSizeBytes, setAlgorithm, setIterations, setIterations, setProvider, setProviderClassName, setProviderName, setSaltGenerator, setSaltGeneratorClassName, setSaltSizeBytes, setSaltSizeBytes |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jasypt.digest.config.DigesterConfig |
---|
getAlgorithm, getIterations, getProvider, getProviderName, getSaltGenerator, getSaltSizeBytes |
Constructor Detail |
---|
public SimpleStringDigesterConfig()
Creates a new SimpleStringDigesterConfig instance.
Method Detail |
---|
public void setUnicodeNormalizationIgnored(Boolean unicodeNormalizationIgnored)
Sets whether the unicode text normalization step should be ignored.
The Java Virtual Machine internally handles all Strings as UNICODE. When digesting or matching digests in jasypt, these Strings are first normalized to its NFC form so that digest matching is not affected by the specific form in which the messages where input.
It is normally safe (and recommended) to leave this parameter set to its default FALSE value (and thus DO perform normalization operations). But in some specific cases in which issues with legacy software could arise, it might be useful to set this to TRUE.
For more information on unicode text normalization, see this issue of Core Java Technologies Tech Tips.
If not set, null will be returned.
Determines the result of: isUnicodeNormalizationIgnored()
unicodeNormalizationIgnored
- whether the unicode text
normalization step should be ignored or not.public void setUnicodeNormalizationIgnored(String unicodeNormalizationIgnored)
Sets whether the unicode text normalization step should be ignored.
The Java Virtual Machine internally handles all Strings as UNICODE. When digesting or matching digests in jasypt, these Strings are first normalized to its NFC form so that digest matching is not affected by the specific form in which the messages where input.
It is normally safe (and recommended) to leave this parameter set to its default FALSE value (and thus DO perform normalization operations). But in some specific cases in which issues with legacy software could arise, it might be useful to set this to TRUE.
For more information on unicode text normalization, see this issue of Core Java Technologies Tech Tips.
If not set, null will be returned.
Determines the result of: isUnicodeNormalizationIgnored()
unicodeNormalizationIgnored
- whether the unicode text
normalization step should be ignored or not.public void setStringOutputType(String stringOutputType)
Sets the the form in which String output will be encoded. Available encoding types are:
If not set, null will be returned.
Determines the result of: getStringOutputType()
stringOutputType
- the string output type.public Boolean isUnicodeNormalizationIgnored()
StringDigesterConfig
This parameter lets the user specify if the Unicode text normalization step performed during String digest and matching should be ignored.
The Java Virtual Machine internally handles all Strings as UNICODE. When digesting or matching digests in jasypt, these Strings are first normalized to its NFC form so that digest matching is not affected by the specific form in which the messages where input.
It is normally safe (and recommended) to leave this parameter set to its default FALSE value (and thus DO perform normalization operations). But in some specific cases in which issues with legacy software could arise, it might be useful to set this to TRUE.
For more information on unicode text normalization, see this issue of Core Java Technologies Tech Tips.
isUnicodeNormalizationIgnored
in interface StringDigesterConfig
public String getStringOutputType()
StringDigesterConfig
This parameter lets the user specify the form in which String output will be encoded. Available encoding types are:
getStringOutputType
in interface StringDigesterConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |