Class AuthenticatorOverwrite


  • public class AuthenticatorOverwrite
    extends Object
    Disables Web Sudo and other password confirmation features when a custom authenticator is configured. An administrator can override this behaviour by setting a system property, "-Dpassword.confirmation.disabled=false" to reenable these features.
    Since:
    3.5
    See Also:
    AuthenticateAction, DefaultWebSudoManager
    • Constructor Detail

      • AuthenticatorOverwrite

        public AuthenticatorOverwrite()
    • Method Detail

      • isCustomAuthenticator

        public static boolean isCustomAuthenticator()
        Returns true if the authenticator configured in seraph-config.xml is not one of the ones shipped with Confluence, otherwise false.
        Since:
        3.5.9
      • isPasswordConfirmationDisabled

        public static boolean isPasswordConfirmationDisabled()
        If the system property 'password.confirmation.disabled' is set, returns the value of that property converted to a boolean. If the system property 'password.confirmation.disabled' is not set, returns the same value as isCustomAuthenticator().
        Since:
        3.5