@ThreadSafe public class RegistrationAuthorityItemIdentificationStrategy extends FirstItemIdItemIdentificationStrategy
FirstItemIdItemIdentificationStrategy.
The extra identifier is based on a RegistrationAuthority if one of
those is present. The extra identifier is omitted if it is present in a
specified blacklist, and it can be mapped to a simpler value for display if
desired.| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
ignoredRegistrationAuthorities
Set of registration authorities to be ignored.
|
private Map<String,String> |
registrationAuthorityDisplayNames
Replacement display names for registration authorities.
|
| Constructor and Description |
|---|
RegistrationAuthorityItemIdentificationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getExtraIdentifier(Item<?> item)
Derive a display name for an entity's registration authority, if it has one.
|
Collection<String> |
getIgnoredRegistrationAuthorities()
Returns the set of registration authorities we are ignoring.
|
Map<String,String> |
getRegistrationAuthorityDisplayNames()
Returns the map of display names for registration authorities.
|
void |
setIgnoredRegistrationAuthorities(Collection<String> registrars)
Set the set of registration authorities we are ignoring.
|
void |
setRegistrationAuthorityDisplayNames(Map<String,String> names)
Sets the map of display names for registration authorities.
|
getBasicIdentifiergetItemIdentifier, getNoItemIdIdentifier, setNoItemIdIdentifier@Nonnull private Set<String> ignoredRegistrationAuthorities
public RegistrationAuthorityItemIdentificationStrategy()
@Nonnull public Collection<String> getIgnoredRegistrationAuthorities()
Set of registration authority names.public void setIgnoredRegistrationAuthorities(@Nullable Collection<String> registrars)
registrars - Set of registration authority names to ignore.public Map<String,String> getRegistrationAuthorityDisplayNames()
Map of display names for authorities.public void setRegistrationAuthorityDisplayNames(@Nullable Map<String,String> names)
names - Map of display names for registration authorities.@Nullable protected String getExtraIdentifier(@Nonnull Item<?> item)
getExtraIdentifier in class FirstItemIdItemIdentificationStrategyitem - Item to derive an identifier for.null.Copyright © 1999–2016. All rights reserved.