T - the type which this stores data for.@NotThreadSafe public class RelyingPartyUIInformation<T> extends net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
RelyingPartyUIData fields which
were not configured.| Modifier and Type | Field and Description |
|---|---|
private List<String> |
browserLanguages
The list of supported browser languages.
|
private RelyingPartyUIData<T> |
serviceDescription
The ServiceDescription information.
|
private RelyingPartyUIData<T> |
serviceName
The Service Name information.
|
| Constructor and Description |
|---|
RelyingPartyUIInformation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
RelyingPartyUIData<T> |
getServiceDescription()
Get the service description object.
|
RelyingPartyUIData<T> |
getServiceName()
Get the service name object.
|
protected String |
lookupMap(Map<String,String> lookup)
Lookup the provided map by language iterating over all languages, then the non name language (if present), then
the default.
|
void |
populateContext(RelyingPartyUIContext context)
Populate the
RelyingPartyUIContext with the values to display. |
void |
setBrowserLanguages(List<String> langs)
Sets the list of languages supported by the browser.
|
void |
setRelyingParty(T relyingParty)
Set the relying party.
|
void |
setServiceDescription(RelyingPartyUIData<T> description)
Set the service description object.
|
void |
setServiceName(RelyingPartyUIData<T> object)
Set the service description object.
|
@NonnullAfterInit private RelyingPartyUIData<T> serviceDescription
@NonnullAfterInit private RelyingPartyUIData<T> serviceName
@NonnullAfterInit public RelyingPartyUIData<T> getServiceDescription()
@NonnullAfterInit public void setServiceDescription(RelyingPartyUIData<T> description)
description - what to set@NonnullAfterInit public RelyingPartyUIData<T> getServiceName()
@NonnullAfterInit public void setServiceName(RelyingPartyUIData<T> object)
object - what to setpublic void setBrowserLanguages(List<String> langs)
langs - the languages.public void setRelyingParty(T relyingParty)
RelyingPartyUIData
fields to set up the values from the relying party.relyingParty - what to set@Nullable protected String lookupMap(@Nonnull Map<String,String> lookup)
lookup - the map to consultprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic void populateContext(@Nonnull RelyingPartyUIContext context)
RelyingPartyUIContext with the values to display.
we consult the subsidiary RelyingPartyUIData elements and our
language.context - what to populateCopyright © 1999–2014. All rights reserved.