public class WildFlyCredentialFactory extends Object implements ICredentialFactory
Modifier and Type | Field and Description |
---|---|
protected Logger |
log |
static String |
WILDFLY_CREDENTIALSTORE_PROPERTY |
Constructor and Description |
---|
WildFlyCredentialFactory() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getConfiguredAliases()
return a list of all configured aliases, or null if such a list cannot be provided.
|
ICredentials |
getCredentials(String alias,
Supplier<String> defaultUsernameSupplier,
Supplier<String> defaultPasswordSupplier) |
protected org.jboss.msc.service.ServiceContainer |
getServiceContainer() |
boolean |
hasCredentials(String alias) |
void |
initialize()
initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
|
protected Logger log
public static final String WILDFLY_CREDENTIALSTORE_PROPERTY
public void initialize()
ICredentialFactory
initialize
in interface ICredentialFactory
public ICredentials getCredentials(String alias, Supplier<String> defaultUsernameSupplier, Supplier<String> defaultPasswordSupplier)
getCredentials
in interface ICredentialFactory
public boolean hasCredentials(String alias)
hasCredentials
in interface ICredentialFactory
public Collection<String> getConfiguredAliases() throws UnsupportedOperationException, org.wildfly.security.credential.store.CredentialStoreException
ICredentialFactory
getConfiguredAliases
in interface ICredentialFactory
UnsupportedOperationException
org.wildfly.security.credential.store.CredentialStoreException
protected org.jboss.msc.service.ServiceContainer getServiceContainer()
Copyright © 2023 Frank!Framework. All rights reserved.