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 Booleanprotected Stringprotected Stringprotected Stringprotected BooleanBoolean 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 Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Stringprotected Stringstatic final Stringprotected List<LoginProviderLink> protected Booleanprotected 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 TypeMethodDescriptionbooleangetId()The descriptor id, descriptors with same id are merged.getProvider(String name) booleanprotected Stringmerge(Descriptor o) Returns a descriptor representingothermerged intothisvoidsetBackgroundImage(String backgroundImage) voidsetBodyBackgroundStyle(String bodyBackgroundStyle) voidsetFooterStyle(String footerStyle) voidsetHeaderStyle(String headerStyle) voidsetLoginBoxBackgroundStyle(String loginBoxBackgroundStyle) voidsetLogoUrl(String logoUrl) voidsetNewsIframeUrl(String newsIframeUrl) voidsetProviders(List<LoginProviderLink> providers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:DescriptorThe 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:
getIdin 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:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-