Class LoginScreenConfig
java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.service.LoginScreenConfig
- All Implemented Interfaces:
Descriptor
XMap
object to manage configuration of the login screen (login.jsp)- Since:
- 5.7
- Author:
- Tiry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
protected 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 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> Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
ConstructorsConstructorDescriptionLoginScreenConfig
(LoginProviderLink provider) Instantiates a login screen configuration with the given login provider. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
The descriptor id, descriptors with same id are merged.getProvider
(String name) boolean
protected String
merge
(Descriptor o) Returns a descriptor representingother
merged intothis
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
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
-
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
-
appendSupportedLocales
- Since:
- 8.4
-
supportedLocales
- Since:
- 8.4
-
-
Constructor Details
-
LoginScreenConfig
public LoginScreenConfig() -
LoginScreenConfig
Instantiates a login screen configuration with the given login provider.- Since:
- 10.10
-
-
Method Details
-
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getProviders
-
setProviders
-
getProvider
-
getStartupPages
- Since:
- 8.4
-
getHeaderStyle
-
getBodyBackgroundStyle
-
getLoginBoxBackgroundStyle
-
getLoginBoxWidth
-
getLogoUrl
-
getLogoAlt
-
getLogoWidth
-
getLogoHeight
-
getVideos
-
getVideoMuted
-
getVideoLoop
-
hasVideos
public boolean hasVideos() -
getDisplayNews
public boolean getDisplayNews() -
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
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-