Class BrandingProvider
java.lang.Object
com.irurueta.authserver.authorization.api.web.login.BrandingProvider
Supplies the
BrandingProperties every server-rendered page shows, as the "branding" model
attribute: the page renderer and the error view resolver add it to the model of each page they render.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.springframework.beans.factory.ObjectProvider<BrandingProperties> Provider of the configured branding; absent in web slices that do not enable the properties.static final StringName of the model attribute that holds the branding. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODEL_ATTRIBUTE
Name of the model attribute that holds the branding.- See Also:
-
branding
Provider of the configured branding; absent in web slices that do not enable the properties.
-
-
Constructor Details
-
BrandingProvider
public BrandingProvider()
-
-
Method Details
-
branding
Gets the branding of the pages.- Returns:
- the configured branding, or the defaults when the properties are not enabled.
-