Class PreferenceValidationForDefaultLoginMode

  • All Implemented Interfaces:
    PreferenceDefinition

    public class PreferenceValidationForDefaultLoginMode
    extends PreferenceDefinitionImpl
    Handles the validation of the default login mode. If one of the default login modes is not among the enabled login modes, an exception will be thrown. A Default login mode has to be enabled as well.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • PreferenceValidationForDefaultLoginMode

        public PreferenceValidationForDefaultLoginMode()
    • Method Detail

      • validateTransmute

        protected java.lang.String validateTransmute​(java.lang.String value,
                                                     Preferences pref,
                                                     java.lang.Object validationObject)
                                              throws PreferencesException
        Description copied from class: PreferenceDefinitionImpl
        This method is triggered by callback when setting preference values. By default, this method doesn't do anything. The returned value will be used to set the preference value - this facilitates preprocessing such as trimming strings, or date time reformating.
        Overrides:
        validateTransmute in class PreferenceDefinitionImpl
        Returns:
        transmuted preference value
        Throws:
        PreferencesException
        Since:
        MicroStrategy Web 8.0.0