Package com.atlassian.confluence.user
Class AuthenticatorOverwrite
java.lang.Object
com.atlassian.confluence.user.AuthenticatorOverwrite
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returnstrue
if the authenticator configured in seraph-config.xml is not one of the ones shipped with Confluence, otherwise false.static boolean
If the system property 'password.confirmation.disabled' is set, returns the value of that property converted to a boolean.
-
Field Details
-
FLAG
- See Also:
-
-
Constructor Details
-
AuthenticatorOverwrite
public AuthenticatorOverwrite()
-
-
Method Details
-
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
-