Interface PWResetModel

    • Method Detail

      • debugError

        void debugError​(String message)
        Prints a message to the console debug file. The message will only be written if the the debug level is set to Error.
        Parameters:
        message - to be sent to the debug file.
      • debugError

        void debugError​(String message,
                        Exception e)
        Prints a message to the console debug file. The message will only be written if the the debug level is set to Error.
        Parameters:
        message - to be printed. If message is null it is ignored.
        e - printStackTrace will be invoked to print the stack trace.
      • getHTMLPageTitle

        String getHTMLPageTitle()
        Returns HTML page title.
        Returns:
        HTML page title.
      • isPasswordResetEnabled

        boolean isPasswordResetEnabled()
        Returns true if the password service is enabled.
        Returns:
        true if the password service is available.
      • setUserDN

        void setUserDN​(String value)
        Sets the user distinguished name.
        Parameters:
        value - user distinguished name.
      • getUserId

        String getUserId()
        Returns the user distinguished name.
        Returns:
        user distinguished name.
      • getErrorTitle

        String getErrorTitle()
        Returns title for error message.
        Returns:
        title for error message.
      • getErrorMessage

        String getErrorMessage()
        Returns error message
        Returns:
        error message
      • isError

        boolean isError()
        Returns true if there is an error while processing request
        Returns:
        true if error, false otherwise
      • getCopyRightText

        String getCopyRightText()
        Returns copyright text
        Returns:
        copyright text
      • getPasswordResetMessage

        String getPasswordResetMessage()
        Returns password reset success message.
        Returns:
        password reset success message.
      • getRootSuffix

        String getRootSuffix()
        Returns root suffix.
        Returns:
        root suffix.
      • warningEnabled

        boolean warningEnabled()
        Returns true if warning message is enabled.
        Returns:
        true if warning message is enabled.
      • debugWarning

        void debugWarning​(String message)
        Prints a message to the console debug file. The message will only be written if the the debug level is set greater than Error.
        Parameters:
        message - to be printed. If message is null it is ignored.
      • debugWarning

        void debugWarning​(String message,
                          Exception e)
        Prints a message to the console debug file. The message will only be written if the the debug level is set greater than Error.
        Parameters:
        message - to be printed. If message is null it is ignored.
        e - printStackTrace will be invoked to print the stack trace.
      • messageEnabled

        boolean messageEnabled()
        Returns true if message debugging is enabled.
        Returns:
        true if message debugging is enabled false if message debugging is disabled
        See Also:
        com.iplanet.am.util.Debug#messageEnabled
      • debugMessage

        void debugMessage​(String message)
        Prints a message to the console debug file. The message will only be written if the the debug level is set greater than Error.
        Parameters:
        message - to be printed. If message is null it is ignored.
      • debugMessage

        void debugMessage​(String message,
                          Exception e)
        Prints a message to the console debug file. The message will only be written if the the debug level is set greater than Error.
        Parameters:
        message - to be printed. If message is null it is ignored.
        e - printStackTrace will be invoked to print the stack trace.
      • getInformationMessage

        String getInformationMessage()
        Returns information message.
        Returns:
        information message
      • getLocalizedString

        String getLocalizedString​(String key)
        Returns localized string.
        Parameters:
        key - Resource string key.
        Returns:
        localized string.
      • getErrorString

        String getErrorString​(Exception ex)
        Return a localized error message from an exception. If the exception is of type AMException the error code and any possible arguments will be extracted from the exception and the message will be generated from the code and arguments. All other exception types will return the message from Exception.getMessage.
        Parameters:
        ex - The exception.
        Returns:
        error message localized to users locale.
      • isUserLockout

        boolean isUserLockout​(String userDN,
                              String orgDN)
        Returns true if the user is locked out from resetting password.
        Parameters:
        userDN - user distinguished name.
        orgDN - organization distinguished name.
        Returns:
        true if the user is locked out
      • readPWResetProfile

        void readPWResetProfile​(String orgDN)
        Sets the password reset enabled flag depending what is set in the password service for a given organization distinguished name.
        Parameters:
        orgDN - Organization distinguished name
      • getSunLogoLabel

        String getSunLogoLabel()
        Returns label for SUN logo.
        Returns:
        label for SUN logo.
      • getProductLabel

        String getProductLabel()
        Returns label for product logo.
        Returns:
        label for product logo.
      • getJavaLogoLabel

        String getJavaLogoLabel()
        Returns label for Java logo.
        Returns:
        label for Java logo.
      • setUserLocale

        void setUserLocale​(String localeString)
        Sets the user locale.
        Parameters:
        localeString - localeString.
      • getMailAttribute

        String getMailAttribute​(String realm)
                         throws SSOException
        Returns the name of the mail attribute.
        Parameters:
        realm - The realm the user belongs to.
        Returns:
        The name of the mail attribute in the provided realm.
        Throws:
        SSOException