Class CmsInactiveUserMessages

java.lang.Object
org.opencms.ui.login.CmsInactiveUserMessages

public class CmsInactiveUserMessages extends Object
Helper class for getting localized messages for the 'lock inactive users' feature.

We are not just using the standard Messages class here because the messages are supposed to be customizable, and we do not want to lose the customizations if e.g. we install a new opencms.jar.

  • Constructor Details

  • Method Details

    • getLockoutText

      public static String getLockoutText(Locale locale)
      Text to display for the lockout screen.

      Parameters:
      locale - the locale
      Returns:
      the localized text
    • getMessage

      public static String getMessage(String key, Locale locale)
      Gets the message for the given key and locale.

      Parameters:
      key - the key
      locale - the locale
      Returns:
      the localized text
    • getReportHeader

      public static String getReportHeader(Locale locale)
      Gets the header text for the report mail.

      Parameters:
      locale - the locale
      Returns:
      the localized text
    • getReportSubject

      public static String getReportSubject(Locale locale)
      Gets the subject for the report mail.

      Parameters:
      locale - the locale
      Returns:
      the localized text