Package org.opensaml.xmlsec.impl
Class BasicWhitelistBlacklistConfiguration
java.lang.Object
org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
org.opensaml.xmlsec.impl.BasicWhitelistBlacklistConfiguration
- All Implemented Interfaces:
AlgorithmPolicyConfiguration,WhitelistBlacklistConfiguration
- Direct Known Subclasses:
BasicDecryptionConfiguration,BasicEncryptionConfiguration,BasicSignatureSigningConfiguration,BasicSignatureValidationConfiguration
@Deprecated(forRemoval=true,
since="4.1.0")
public class BasicWhitelistBlacklistConfiguration
extends BasicAlgorithmPolicyConfiguration
implements WhitelistBlacklistConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
Basic implementation of
WhitelistBlacklistConfiguration.
The value returned by WhitelistBlacklistConfiguration.getWhitelistBlacklistPrecedence() defaults to
WhitelistBlacklistConfiguration.Precedence.WHITELIST.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
AlgorithmPolicyConfiguration.PrecedenceNested classes/interfaces inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
WhitelistBlacklistConfiguration.Precedence -
Field Summary
Fields inherited from class org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
DEFAULT_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Get the list of blacklisted algorithm URIs.Deprecated, for removal: This API element is subject to removal in a future version.Get preference value indicating which should take precedence when both whitelist and blacklist are non-empty.Deprecated, for removal: This API element is subject to removal in a future version.Get the list of whitelisted algorithm URIs.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence, or to treat this blacklist as authoritative.booleanDeprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence, or to treat this whitelist as authoritative.voidDeprecated, for removal: This API element is subject to removal in a future version.Set the list of blacklisted algorithm URIs.voidsetBlacklistMerge(boolean flag) Deprecated, for removal: This API element is subject to removal in a future version.Set the flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence, or to treat this blacklist as authoritative.voidDeprecated, for removal: This API element is subject to removal in a future version.Set preference value indicating which should take precedence when both whitelist and blacklist are non-empty.voidDeprecated, for removal: This API element is subject to removal in a future version.Set the list of whitelisted algorithm URIs.voidsetWhitelistMerge(boolean flag) Deprecated, for removal: This API element is subject to removal in a future version.Set the flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence, or to treat this whitelist as authoritative.Methods inherited from class org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge, setExcludedAlgorithms, setExcludeMerge, setIncludedAlgorithms, setIncludeExcludePrecedence, setIncludeMergeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge
-
Constructor Details
-
BasicWhitelistBlacklistConfiguration
public BasicWhitelistBlacklistConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
isWhitelistMerge
public boolean isWhitelistMerge()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence, or to treat this whitelist as authoritative.- Specified by:
isWhitelistMergein interfaceWhitelistBlacklistConfiguration- Returns:
- true if should merge, false otherwise
-
setWhitelistMerge
public void setWhitelistMerge(boolean flag) Deprecated, for removal: This API element is subject to removal in a future version.Set the flag indicating whether to merge this configuration's whitelist with one of a lower order of precedence, or to treat this whitelist as authoritative.Defaults to:
false- Parameters:
flag- true if should merge, false otherwise
-
getWhitelistedAlgorithms
@Nonnull @NonnullElements @Unmodifiable @NotLive public Collection<String> getWhitelistedAlgorithms()Deprecated, for removal: This API element is subject to removal in a future version.Get the list of whitelisted algorithm URIs.- Specified by:
getWhitelistedAlgorithmsin interfaceWhitelistBlacklistConfiguration- Returns:
- the list of algorithms
-
setWhitelistedAlgorithms
Deprecated, for removal: This API element is subject to removal in a future version.Set the list of whitelisted algorithm URIs.- Parameters:
uris- the list of algorithms
-
isBlacklistMerge
public boolean isBlacklistMerge()Deprecated, for removal: This API element is subject to removal in a future version.Flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence, or to treat this blacklist as authoritative.- Specified by:
isBlacklistMergein interfaceWhitelistBlacklistConfiguration- Returns:
- true if should merge, false otherwise
-
setBlacklistMerge
public void setBlacklistMerge(boolean flag) Deprecated, for removal: This API element is subject to removal in a future version.Set the flag indicating whether to merge this configuration's blacklist with one of a lower order of precedence, or to treat this blacklist as authoritative.Defaults to:
true- Parameters:
flag- true if should merge, false otherwise
-
getBlacklistedAlgorithms
@Nonnull @NonnullElements @Unmodifiable @NotLive public Collection<String> getBlacklistedAlgorithms()Deprecated, for removal: This API element is subject to removal in a future version.Get the list of blacklisted algorithm URIs.- Specified by:
getBlacklistedAlgorithmsin interfaceWhitelistBlacklistConfiguration- Returns:
- the list of algorithms
-
setBlacklistedAlgorithms
Deprecated, for removal: This API element is subject to removal in a future version.Set the list of blacklisted algorithm URIs.- Parameters:
uris- the list of algorithms
-
getWhitelistBlacklistPrecedence
Deprecated, for removal: This API element is subject to removal in a future version.Get preference value indicating which should take precedence when both whitelist and blacklist are non-empty.- Specified by:
getWhitelistBlacklistPrecedencein interfaceWhitelistBlacklistConfiguration- Returns:
- the configured precedence value.
-
setWhitelistBlacklistPrecedence
public void setWhitelistBlacklistPrecedence(@Nonnull WhitelistBlacklistConfiguration.Precedence value) Deprecated, for removal: This API element is subject to removal in a future version.Set preference value indicating which should take precedence when both whitelist and blacklist are non-empty.- Parameters:
value- the precedence value
-