Package org.opensaml.xmlsec
Interface WhitelistBlacklistConfiguration
-
- All Known Subinterfaces:
DecryptionConfiguration,EncryptionConfiguration,SignatureSigningConfiguration,SignatureValidationConfiguration
public interface WhitelistBlacklistConfigurationAlgorithm URI whitelist and blacklist configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWhitelistBlacklistConfiguration.PrecedenceWhitelist/blacklist precedence values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>getBlacklistedAlgorithms()Get the list of blacklisted algorithm URI's.WhitelistBlacklistConfiguration.PrecedencegetWhitelistBlacklistPrecedence()Get preference value indicating which should take precedence when both whitelist and blacklist are non-empty.Collection<String>getWhitelistedAlgorithms()Get the list of whitelisted algorithm URI's.booleanisBlacklistMerge()Flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence, or to treat this blacklist as authoritative.booleanisWhitelistMerge()Flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence, or to treat this whitelist as authoritative.
-
-
-
Method Detail
-
getWhitelistedAlgorithms
@Nonnull @NonnullElements @Unmodifiable @NotLive Collection<String> getWhitelistedAlgorithms()
Get the list of whitelisted algorithm URI's.- Returns:
- the list of algorithms
-
isWhitelistMerge
boolean isWhitelistMerge()
Flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence, or to treat this whitelist as authoritative.- Returns:
- true if should merge, false otherwise
-
getBlacklistedAlgorithms
@Nonnull @NonnullElements @Unmodifiable @NotLive Collection<String> getBlacklistedAlgorithms()
Get the list of blacklisted algorithm URI's.- Returns:
- the list of algorithms
-
isBlacklistMerge
boolean isBlacklistMerge()
Flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence, or to treat this blacklist as authoritative.- Returns:
- true if should merge, false otherwise
-
getWhitelistBlacklistPrecedence
@Nonnull WhitelistBlacklistConfiguration.Precedence getWhitelistBlacklistPrecedence()
Get preference value indicating which should take precedence when both whitelist and blacklist are non-empty.- Returns:
- the configured precedence value.
-
-