- java.lang.Object
-
- com.pervasive.datarush.io.configuration.Password
-
public final class Password extends Object
Wraps a string into an object that is json-serialized in an encrypted format.
-
-
Constructor Detail
-
Password
public Password(String clearText) throws IllegalArgumentException
Creates a password from the clear text- Parameters:
clearText
- the clear text- Throws:
IllegalArgumentException
- if clearText is null
-
-
Method Detail
-
getClearText
public String getClearText()
Returns the clear-text password- Returns:
- the clear-text password
-
-