public class EdDSASecurityProviderRegistrar extends AbstractSecurityProviderRegistrar
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_CLASS |
props, providerHolder, supportedEntities
log
ALL_OPTIONS_VALUE, ALL_OPTIONS_WILDCARD, CONFIG_PROP_BASE, ENABLED_PROPERTY, NAMED_PROVIDER_PROPERTY, NO_OPTIONS_VALUE, SECURITY_ENTITIES
EMPTY
BY_NAME_COMPARATOR, NAME_EXTRACTOR
FALSE, TRUE
EMPTY
Constructor and Description |
---|
EdDSASecurityProviderRegistrar() |
Modifier and Type | Method and Description |
---|---|
Provider |
getSecurityProvider() |
boolean |
isEnabled() |
boolean |
isSecurityEntitySupported(Class<?> entityType,
String name) |
boolean |
isSupported() |
createProviderInstance, getName, getOrCreateProvider, getProperties, toString
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findSecurityProviderRegistrarBySecurityEntity, getBasePropertyName, getConfigurationPropertyName, getDefaultSecurityEntitySupportValue, getEffectiveSecurityEntityName, getParentPropertyResolver, isAllOptionsValue, isCertificateFactorySupported, isCipherSupported, isKeyAgreementSupported, isKeyFactorySupported, isKeyPairGeneratorSupported, isMacSupported, isMessageDigestSupported, isNamedProviderUsed, isSecurityEntitySupported, isSecurityEntitySupported, isSignatureSupported, registerSecurityProvider
createProviderInstance, toSecurityProviderChoice, toSecurityProviderChoice
findByName, getNameList, getNames, ofName, removeByName
all, any, of
getBoolean, getBooleanProperty, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringProperty
public static final String PROVIDER_CLASS
public boolean isEnabled()
true
if the provider is enabled regardless of
whether it is supported - default=true
. Note:
checks if the provider has been programmatically disabled
via SecurityUtils.setAPrioriDisabledProvider(String, boolean)
SecurityProviderRegistrar.ENABLED_PROPERTY
public Provider getSecurityProvider()
Provider
to use in case SecurityProviderChoice.isNamedProviderUsed()
is false
. Can be null
if SecurityProviderChoice.isNamedProviderUsed()
is true
,
but not recommended.public boolean isSecurityEntitySupported(Class<?> entityType, String name)
isSecurityEntitySupported
in interface SecurityProviderRegistrar
isSecurityEntitySupported
in class AbstractSecurityProviderRegistrar
public boolean isSupported()
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.