public interface SecurityProviderChoice extends NamedResource
| Modifier and Type | Field and Description |
|---|---|
static SecurityProviderChoice |
EMPTY |
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Modifier and Type | Method and Description |
|---|---|
static Provider |
createProviderInstance(Class<?> anchor,
String providerClassName) |
Provider |
getSecurityProvider() |
default boolean |
isNamedProviderUsed() |
static SecurityProviderChoice |
toSecurityProviderChoice(Provider provider) |
static SecurityProviderChoice |
toSecurityProviderChoice(String name) |
findByName, getName, getNameList, getNames, removeByNamestatic final SecurityProviderChoice EMPTY
default boolean isNamedProviderUsed()
true if to use the provider's name rather than its
Provider instance - default=true.Provider getSecurityProvider()
Provider to use in case isNamedProviderUsed()
is false. Can be null if isNamedProviderUsed() is true,
but not recommended.static SecurityProviderChoice toSecurityProviderChoice(String name)
static SecurityProviderChoice toSecurityProviderChoice(Provider provider)
static Provider createProviderInstance(Class<?> anchor, String providerClassName) throws ReflectiveOperationException
ReflectiveOperationExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.