public class

AuthenticatorOverwrite

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.user.AuthenticatorOverwrite

Class Overview

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.

Summary

Constants
String FLAG
Public Constructors
AuthenticatorOverwrite()
Public Methods
static boolean isCustomAuthenticator()
Returns true if the authenticator configured in seraph-config.xml is not one of the ones shipped with Confluence, otherwise false.
static boolean isPasswordConfirmationDisabled()
If the system property 'password.confirmation.disabled' is set, returns the value of that property converted to a boolean.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String FLAG

Constant Value: "password.confirmation.disabled"

Public Constructors

public AuthenticatorOverwrite ()

Public Methods

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.

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().