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
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLAG
public static final String FLAG
- See Also:
- Constant Field Values
AuthenticatorOverwrite
public AuthenticatorOverwrite()
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
Copyright © 2003-2013 Atlassian. All Rights Reserved.