public class LoginScreenConfig extends Object implements Serializable
XMap
object to manage configuration of the login screen (login.jsp)Modifier and Type | Field and 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 and Description |
---|
LoginScreenConfig() |
public static final String NUXEO_NEWS_URL
protected Map<String,LoginStartupPage> startupPages
protected List<LoginProviderLink> providers
protected List<LoginVideo> videos
protected String backgroundImage
protected Boolean removeNews
protected String headerStyle
protected String footerStyle
protected String newsIframeUrl
protected String newsIframeFullUrl
protected String bodyBackgroundStyle
protected String loginBoxBackgroundStyle
protected String loginBoxWidth
protected String logoHeight
protected Boolean fieldAutocomplete
protected Boolean disableBackgroundSizeCover
protected String loginButtonBackgroundColor
protected String defaultLocale
public LoginScreenConfig()
public List<LoginProviderLink> getProviders()
public void setProviders(List<LoginProviderLink> providers)
public LoginProviderLink getProvider(String name)
public void registerLoginProvider(String name, String iconUrl, String link, String label, String description, LoginProviderLinkComputer computer)
public Map<String,LoginStartupPage> getStartupPages()
public String getHeaderStyle()
public String getFooterStyle()
public String getBodyBackgroundStyle()
public String getLoginBoxBackgroundStyle()
public String getLoginBoxWidth()
public String getLogoUrl()
public String getLogoAlt()
public String getLogoWidth()
public String getLogoHeight()
public List<LoginVideo> getVideos()
public Boolean getVideoMuted()
public Boolean getVideoLoop()
public boolean hasVideos()
public boolean getDisplayNews()
public Boolean getFieldAutocomplete()
public void setHeaderStyle(String headerStyle)
public void setFooterStyle(String footerStyle)
public void setBodyBackgroundStyle(String bodyBackgroundStyle)
public void setBackgroundImage(String backgroundImage)
public String getBackgroundImage()
public String getLoginButtonBackgroundColor()
public void setLoginBoxBackgroundStyle(String loginBoxBackgroundStyle)
public void setLogoUrl(String logoUrl)
public void setNewsIframeUrl(String newsIframeUrl)
public String getNewsIframeUrl()
public Boolean getDisableBackgroundSizeCover()
disableBackgroundSizeCover
public String getDefaultLocale()
public boolean isAppendSupportedLocales()
public List<String> getSupportedLocales()
protected void merge(LoginScreenConfig newConfig)
public LoginScreenConfig clone()
Copyright © 2018 Nuxeo. All rights reserved.