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 |
bodyBackgroundStyle |
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 String |
footerStyle |
protected String |
headerStyle |
protected String |
loginBoxBackgroundStyle |
protected String |
loginBoxWidth |
protected String |
logoAlt |
protected String |
logoHeight |
protected String |
logoUrl |
protected String |
logoWidth |
protected String |
newsIframeUrl |
protected List<LoginProviderLink> |
providers |
Constructor and Description |
---|
LoginScreenConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getBodyBackgroundStyle() |
Boolean |
getDisableBackgroundSizeCover() |
boolean |
getDisplayNews() |
String |
getFooterStyle() |
String |
getHeaderStyle() |
String |
getLoginBoxBackgroundStyle() |
String |
getLoginBoxWidth() |
String |
getLogoAlt() |
String |
getLogoHeight() |
String |
getLogoUrl() |
String |
getLogoWidth() |
String |
getNewsIframeUrl() |
LoginProviderLink |
getProvider(String name) |
List<LoginProviderLink> |
getProviders() |
protected void |
merge(LoginScreenConfig newConfig) |
void |
registerLoginProvider(String name,
String iconUrl,
String link,
String label,
String description,
LoginProviderLinkComputer computer) |
void |
setBodyBackgroundStyle(String bodyBackgroundStyle) |
void |
setFooterStyle(String footerStyle) |
void |
setHeaderStyle(String headerStyle) |
void |
setLoginBoxBackgroundStyle(String loginBoxBackgroundStyle) |
void |
setLogoUrl(String logoUrl) |
void |
setProviders(List<LoginProviderLink> providers) |
protected List<LoginProviderLink> providers
protected String headerStyle
protected String footerStyle
protected String newsIframeUrl
protected String bodyBackgroundStyle
protected String loginBoxBackgroundStyle
protected String loginBoxWidth
protected String logoHeight
protected Boolean disableBackgroundSizeCover
public LoginScreenConfig()
public List<LoginProviderLink> getProviders()
public void setProviders(List<LoginProviderLink> providers)
public LoginProviderLink getProvider(String name)
protected void merge(LoginScreenConfig newConfig)
public void registerLoginProvider(String name, String iconUrl, String link, String label, String description, LoginProviderLinkComputer computer)
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 boolean getDisplayNews()
public void setHeaderStyle(String headerStyle)
public void setFooterStyle(String footerStyle)
public void setBodyBackgroundStyle(String bodyBackgroundStyle)
public void setLoginBoxBackgroundStyle(String loginBoxBackgroundStyle)
public void setLogoUrl(String logoUrl)
public String getNewsIframeUrl()
public Boolean getDisableBackgroundSizeCover()
disableBackgroundSizeCover
Copyright © 2015 Nuxeo SA. All rights reserved.