Package com.atlassian.confluence.user
Class AuthenticatorOverwrite
- java.lang.Object
-
- com.atlassian.confluence.user.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 Summary
Constructors Constructor Description AuthenticatorOverwrite()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCustomAuthenticator()
Returnstrue
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.
-
-
-
Field Detail
-
FLAG
public static final String FLAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
isCustomAuthenticator
public static boolean isCustomAuthenticator()
Returnstrue
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 asisCustomAuthenticator()
.- Since:
- 3.5
-
-