Package net.shibboleth.idp.saml.metadata
Class ACSUIInfo
- java.lang.Object
-
- net.shibboleth.idp.saml.metadata.ACSUIInfo
-
public class ACSUIInfo extends Object
Class to contain a processed form of theAttributeConsumingServicesuitable for display purposes.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGlogger.private Predicate<LocalizedName>nullLanguageStringWarning check against a non localized String.private Map<Locale,String>serviceDescriptionsThe Service Descriptions as a map from locale to actual value.private Map<Locale,String>serviceNamesThe Service Names as a map from locale to actual value.
-
Constructor Summary
Constructors Constructor Description ACSUIInfo(AttributeConsumingService acs)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Locale,String>getServiceDescriptions()Return the descriptions as a map from locale to actual value.Map<Locale,String>getServiceNames()Get the Display Names as a map from locale to actual value.
-
-
-
Field Detail
-
LOG
@Nonnull private static final org.slf4j.Logger LOG
logger.
-
serviceNames
@Nonnull @Unmodifiable private final Map<Locale,String> serviceNames
The Service Names as a map from locale to actual value.
-
serviceDescriptions
@Nonnull @Unmodifiable private final Map<Locale,String> serviceDescriptions
The Service Descriptions as a map from locale to actual value.
-
nullLanguageString
private final Predicate<LocalizedName> nullLanguageString
Warning check against a non localized String.
-
-
Constructor Detail
-
ACSUIInfo
public ACSUIInfo(@Nonnull AttributeConsumingService acs)Constructor.- Parameters:
acs- The OpenSaml AssertionConsumingService to convert.
-
-
Method Detail
-
getServiceNames
@Nonnull @Unmodifiable public Map<Locale,String> getServiceNames()
Get the Display Names as a map from locale to actual value.- Returns:
- the display names
-
getServiceDescriptions
@Nonnull @Unmodifiable public Map<Locale,String> getServiceDescriptions()
Return the descriptions as a map from locale to actual value.- Returns:
- the descriptions names (if any)
-
-