Class LoginScreenConfig
- java.lang.Object
-
- org.nuxeo.ecm.platform.ui.web.auth.service.LoginScreenConfig
-
public class LoginScreenConfig extends Object
XMap
object to manage configuration of the login screen (login.jsp)- Since:
- 5.7
- Author:
- Tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected String
backgroundImage
protected String
bodyBackgroundStyle
protected String
defaultLocale
protected Boolean
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).protected Boolean
fieldAutocomplete
protected String
footerStyle
protected String
headerStyle
protected String
loginBoxBackgroundStyle
protected String
loginBoxWidth
protected String
loginButtonBackgroundColor
protected String
logoAlt
protected String
logoHeight
protected String
logoUrl
protected String
logoWidth
protected Boolean
loop
protected Boolean
muted
protected String
newsIframeFullUrl
protected String
newsIframeUrl
static String
NUXEO_NEWS_URL
protected List<LoginProviderLink>
providers
protected Boolean
removeNews
protected Map<String,LoginStartupPage>
startupPages
protected List<LoginVideo>
videos
-
Constructor Summary
Constructors Constructor Description LoginScreenConfig()
LoginScreenConfig(LoginProviderLink provider)
Instantiates a login screen configuration with the given login provider.
-
Method Summary
-
-
-
Field Detail
-
NUXEO_NEWS_URL
public static final String NUXEO_NEWS_URL
- See Also:
- Constant Field Values
-
startupPages
protected Map<String,LoginStartupPage> startupPages
- Since:
- 8.4
-
providers
protected List<LoginProviderLink> providers
-
videos
protected List<LoginVideo> videos
- Since:
- 7.10
-
backgroundImage
protected String backgroundImage
- Since:
- 7.10
-
removeNews
protected Boolean removeNews
-
headerStyle
protected String headerStyle
-
footerStyle
protected String footerStyle
-
newsIframeUrl
protected String newsIframeUrl
-
newsIframeFullUrl
protected String newsIframeFullUrl
-
bodyBackgroundStyle
protected String bodyBackgroundStyle
-
loginBoxBackgroundStyle
protected String loginBoxBackgroundStyle
-
loginBoxWidth
protected String loginBoxWidth
-
logoHeight
protected String logoHeight
-
fieldAutocomplete
protected Boolean fieldAutocomplete
- Since:
- 7.10
-
disableBackgroundSizeCover
protected Boolean 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
protected String loginButtonBackgroundColor
- Since:
- 7.10
-
defaultLocale
protected String defaultLocale
- Since:
- 8.4
-
-
Constructor Detail
-
LoginScreenConfig
public LoginScreenConfig()
-
LoginScreenConfig
public LoginScreenConfig(LoginProviderLink provider)
Instantiates a login screen configuration with the given login provider.- Since:
- 10.10
-
-
Method Detail
-
getProviders
public List<LoginProviderLink> getProviders()
-
setProviders
public void setProviders(List<LoginProviderLink> providers)
-
getProvider
public LoginProviderLink getProvider(String name)
-
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
public Map<String,LoginStartupPage> getStartupPages()
- Since:
- 8.4
-
getHeaderStyle
public String getHeaderStyle()
-
getFooterStyle
public String getFooterStyle()
-
getBodyBackgroundStyle
public String getBodyBackgroundStyle()
-
getLoginBoxBackgroundStyle
public String getLoginBoxBackgroundStyle()
-
getLoginBoxWidth
public String getLoginBoxWidth()
-
getLogoUrl
public String getLogoUrl()
-
getLogoAlt
public String getLogoAlt()
-
getLogoWidth
public String getLogoWidth()
-
getLogoHeight
public String getLogoHeight()
-
getVideos
public List<LoginVideo> getVideos()
-
getVideoMuted
public Boolean getVideoMuted()
-
getVideoLoop
public Boolean getVideoLoop()
-
hasVideos
public boolean hasVideos()
-
getDisplayNews
public boolean getDisplayNews()
-
getFieldAutocomplete
public Boolean getFieldAutocomplete()
-
setHeaderStyle
public void setHeaderStyle(String headerStyle)
-
setFooterStyle
public void setFooterStyle(String footerStyle)
-
setBodyBackgroundStyle
public void setBodyBackgroundStyle(String bodyBackgroundStyle)
-
setBackgroundImage
public void setBackgroundImage(String backgroundImage)
-
getBackgroundImage
public String getBackgroundImage()
-
getLoginButtonBackgroundColor
public String getLoginButtonBackgroundColor()
-
setLoginBoxBackgroundStyle
public void setLoginBoxBackgroundStyle(String loginBoxBackgroundStyle)
-
setLogoUrl
public void setLogoUrl(String logoUrl)
-
setNewsIframeUrl
public void setNewsIframeUrl(String newsIframeUrl)
- Since:
- 7.10
-
getNewsIframeUrl
public String getNewsIframeUrl()
-
getDisableBackgroundSizeCover
public Boolean getDisableBackgroundSizeCover()
- Since:
- 5.8
- See Also:
disableBackgroundSizeCover
-
getDefaultLocale
public String getDefaultLocale()
- Since:
- 8.4
-
isAppendSupportedLocales
public Boolean isAppendSupportedLocales()
- Since:
- 8.4
-
getSupportedLocales
public List<String> getSupportedLocales()
- Since:
- 8.4
-
merge
protected void merge(LoginScreenConfig newConfig)
-
clone
public LoginScreenConfig clone()
-
-