public class EntityIDDigestGenerator extends Object implements com.google.common.base.Function<net.shibboleth.utilities.java.support.resolver.CriteriaSet,String>
EntityIdCriterion
and produce the digest of the value.
By default the digest strategy used is the SHA-1 algorithm, with output in lower-case hexadecimal. By default, prefix, suffix and value separator are null.
Modifier and Type | Field and Description |
---|---|
private net.shibboleth.utilities.java.support.codec.StringDigester |
digester
String digester for the EntityDescriptor's entityID.
|
private String |
prefix
Prefix to prepend to the digested value.
|
private String |
separator
Common separator between prefix, digested and suffix values.
|
private String |
suffix
Suffix to append to the digested value.
|
Constructor and Description |
---|
EntityIDDigestGenerator()
Constructor.
|
EntityIDDigestGenerator(net.shibboleth.utilities.java.support.codec.StringDigester valueDigester,
String keyPrefix,
String keySuffix,
String valueSeparator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
apply(net.shibboleth.utilities.java.support.resolver.CriteriaSet input) |
@Nonnull private net.shibboleth.utilities.java.support.codec.StringDigester digester
public EntityIDDigestGenerator()
public EntityIDDigestGenerator(@Nullable net.shibboleth.utilities.java.support.codec.StringDigester valueDigester, @Nullable String keyPrefix, @Nullable String keySuffix, @Nullable String valueSeparator)
valueDigester
- optional digeser for the entityID valuekeyPrefix
- optional prefix for the digested valuekeySuffix
- optional suffix for the digested valuevalueSeparator
- optional separator between the prefix, digest and suffix valuesCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.