This encapsulates a Midgard password. When loading, the type automatically detects crypted and plain text passwords. A crypted password is represented by a null value (not an empty string). The '**' prefix of plain text passwords is not part of the value.
Internally, the type holds a copy of the password value in crypted / uncrypted form, depending on configuration. The type value, if set, transformed into an appropriate storage represenation on transfrom-to-storage operations.
This type does not allow you to unset your password as attempts to set an empty password are ignored.
Available configuration options:
This takes crypting etc. into account.
Set this to the new password value if you want to store anything. The password must be non-null and a non-empty string for any storage operation to take place.