com.atlassian.confluence.user
Class AuthenticatorOverwrite

java.lang.Object
  extended by com.atlassian.confluence.user.AuthenticatorOverwrite

public class AuthenticatorOverwrite
extends java.lang.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

Field Summary
static java.lang.String FLAG
           
 
Constructor Summary
AuthenticatorOverwrite()
           
 
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
 

Field Detail

FLAG

public static final java.lang.String FLAG
See Also:
Constant Field Values
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


Copyright © 2003-2014 Atlassian. All Rights Reserved.