Class DefaultLoginPageFunctionalityService
java.lang.Object
com.atlassian.confluence.impl.security.login.DefaultLoginPageFunctionalityService
- All Implemented Interfaces:
LoginPageFunctionalityService
@Internal
public class DefaultLoginPageFunctionalityService
extends Object
implements LoginPageFunctionalityService
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultLoginPageFunctionalityService
(ClusterManager clusterManager, UpgradeManager upgradeManager, GlobalSettingsManager globalSettingsManager, UserAccessor userAccessor, WritableDirectoryExistsCriteria writableDirectoryExistsCriteria, DarkFeaturesManager darkFeaturesManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, SignupManager signupManager) -
Method Summary
Modifier and TypeMethodDescriptionReturns sign up URLboolean
isShowSignUp
(String token) Returnstrue
if the "Sign up" link should be rendered on the login page,false
otherwiseboolean
Returnstrue
if the "remember me" link should be rendered on the login page,false
otherwiseboolean
Returnstrue
if the "Forgot password" link should be rendered on the login page,false
otherwise
-
Constructor Details
-
DefaultLoginPageFunctionalityService
public DefaultLoginPageFunctionalityService(ClusterManager clusterManager, UpgradeManager upgradeManager, GlobalSettingsManager globalSettingsManager, UserAccessor userAccessor, WritableDirectoryExistsCriteria writableDirectoryExistsCriteria, DarkFeaturesManager darkFeaturesManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, SignupManager signupManager)
-
-
Method Details
-
shouldIncludeRememberMe
public boolean shouldIncludeRememberMe()Description copied from interface:LoginPageFunctionalityService
Returnstrue
if the "remember me" link should be rendered on the login page,false
otherwise- Specified by:
shouldIncludeRememberMe
in interfaceLoginPageFunctionalityService
- Returns:
true
if the "remember me" link should be rendered on the login page,false
otherwise
-
showForgottenPasswordHelp
public boolean showForgottenPasswordHelp()Description copied from interface:LoginPageFunctionalityService
Returnstrue
if the "Forgot password" link should be rendered on the login page,false
otherwise- Specified by:
showForgottenPasswordHelp
in interfaceLoginPageFunctionalityService
- Returns:
true
if the "Forgot password" link should be rendered on the login page,false
otherwise
-
isShowSignUp
Description copied from interface:LoginPageFunctionalityService
Returnstrue
if the "Sign up" link should be rendered on the login page,false
otherwise- Specified by:
isShowSignUp
in interfaceLoginPageFunctionalityService
- Parameters:
token
- sign up token- Returns:
true
if the "Sign up" link should be rendered on the login page,false
otherwise
-
getSignupURL
Description copied from interface:LoginPageFunctionalityService
Returns sign up URL- Specified by:
getSignupURL
in interfaceLoginPageFunctionalityService
- Returns:
- sign up url
-