Class LoginScreenConfig
java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.service.LoginScreenConfig
XMap
object to manage configuration of the login screen (login.jsp)- Since:
- 5.7
- Author:
- Tiry
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected Boolean
Boolean to disable background-cover CSS behavior on login page background, as it may not be compliant with all browsers (see NXP-12972/NXP-12978).protected Boolean
protected Boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Boolean
protected Boolean
protected String
protected String
static final String
protected List<LoginProviderLink>
protected Boolean
protected Map<String,
LoginStartupPage> protected List<LoginVideo>
-
Constructor Summary
ConstructorDescriptionLoginScreenConfig
(LoginProviderLink provider) Instantiates a login screen configuration with the given login provider. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
boolean
getProvider
(String name) boolean
protected String
protected void
merge
(LoginScreenConfig newConfig) void
registerLoginProvider
(String name, String iconUrl, String link, String label, String description, LoginProviderLinkComputer computer) Deprecated.void
setBackgroundImage
(String backgroundImage) void
setBodyBackgroundStyle
(String bodyBackgroundStyle) void
setFooterStyle
(String footerStyle) void
setHeaderStyle
(String headerStyle) void
setLoginBoxBackgroundStyle
(String loginBoxBackgroundStyle) void
setLogoUrl
(String logoUrl) void
setNewsIframeUrl
(String newsIframeUrl) void
setProviders
(List<LoginProviderLink> providers)
-
Field Details
-
NUXEO_NEWS_URL
- See Also:
-
startupPages
- Since:
- 8.4
-
providers
-
videos
- Since:
- 7.10
-
muted
- Since:
- 7.10
-
loop
- Since:
- 7.10
-
backgroundImage
- Since:
- 7.10
-
removeNews
-
displayMobileBanner
- Since:
- 2021.12
-
headerStyle
-
newsIframeUrl
-
newsIframeFullUrl
-
bodyBackgroundStyle
-
loginBoxBackgroundStyle
-
loginBoxWidth
-
logoUrl
-
logoAlt
-
logoWidth
-
logoHeight
-
fieldAutocomplete
- Since:
- 7.10
-
disableBackgroundSizeCover
Boolean to disable background-cover CSS behavior on login page background, as it may not be compliant with all browsers (see NXP-12972/NXP-12978).- Since:
- 5.8
-
loginButtonBackgroundColor
- Since:
- 7.10
-
defaultLocale
- Since:
- 8.4
-
-
Constructor Details
-
LoginScreenConfig
public LoginScreenConfig() -
LoginScreenConfig
Instantiates a login screen configuration with the given login provider.- Since:
- 10.10
-
-
Method Details
-
getProviders
-
setProviders
-
getProvider
-
registerLoginProvider
@Deprecated public void registerLoginProvider(String name, String iconUrl, String link, String label, String description, LoginProviderLinkComputer computer) Deprecated.since 10.10, useLoginScreenConfig(LoginProviderLink)
instead -
getStartupPages
- Since:
- 8.4
-
getHeaderStyle
-
getBodyBackgroundStyle
-
getLoginBoxBackgroundStyle
-
getLoginBoxWidth
-
getLogoUrl
-
getLogoAlt
-
getLogoWidth
-
getLogoHeight
-
getVideos
-
getVideoMuted
-
getVideoLoop
-
hasVideos
public boolean hasVideos() -
getDisplayNews
public boolean getDisplayNews() -
getDisplayMobileBanner
public boolean getDisplayMobileBanner() -
getFieldAutocomplete
-
setHeaderStyle
-
setBodyBackgroundStyle
-
setBackgroundImage
-
getBackgroundImage
-
getLoginButtonBackgroundColor
-
setLoginBoxBackgroundStyle
-
setLogoUrl
-
setNewsIframeUrl
- Since:
- 7.10
-
internalGetNewsIframeUrl
-
getNewsIframeUrl
-
getDisableBackgroundSizeCover
- Since:
- 5.8
- See Also:
-
getDefaultLocale
- Since:
- 8.4
-
isAppendSupportedLocales
- Since:
- 8.4
-
getSupportedLocales
- Since:
- 8.4
-
merge
-
clone
-
LoginScreenConfig(LoginProviderLink)
instead