psdi.app.signature

Class PasswordHistory

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MboConstants, MboRemote, MaxRemoteProxy


    public class PasswordHistory
    extends Mbo
    implements MboRemote
    Mbo object to represent PasswordHistory, which logs all password change activity.

    See Signature Package description.

    This is a system level object.

    The key attributes for this object are UserID and ChangeDate.

    The attributes in this object are as follows:

    Attribute NameDescription
    ChangeByThe user who changed this password.
    ChangeDateThe date/time on which the password was changed.
    PasswordThe user's password (encrypted) as of the change date.
    UserIDThe user whose password has been changed. Foreign key to MaxUser.
    See Also:
    MaxUser
    • Constructor Detail

      • PasswordHistory

        public PasswordHistory(MboSet ms)
                        throws java.rmi.RemoteException
        Construct the PasswordHistory object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        UserIDIf owner is MaxUser, equals the owner's UserID.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setValue

        public void setValue(java.lang.String attributeName,
                             java.lang.String val,
                             long accessModifier)
                      throws MXException,
                             java.rmi.RemoteException
        Set value for the specified attribute.
        Specified by:
        setValue in interface MboRemote
        Overrides:
        setValue in class Mbo
        Parameters:
        attributeName - The attribute name within the current object.
        val - The string value to set to the attribute.
        accessModifier - The bitwise flags such as NOACCESSCHECK, NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.
        Throws:
        MXException - "Attribute {0} does not exist" exception will be thrown if the attribute does not exist in the object. "Field is read only" exception will be thrown if the attribute is READONLY and the accessModifier does not specify NOACCESSCHECK. "Invalid Data Type" exception will be thrown for datatype mismatch. For example, setting a string value of characters to an attribute which has datatype of YORN.
        java.rmi.RemoteException
        See Also:
        Mbo.setValue(String, String, long), HiddenValueSet.setValue(java.lang.String, java.lang.String, long)