Class WildFlyCredentialFactory
- java.lang.Object
-
- org.frankframework.credentialprovider.WildFlyCredentialFactory
-
- All Implemented Interfaces:
ICredentialFactory
public class WildFlyCredentialFactory extends Object implements ICredentialFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected Loggerlogstatic StringWILDFLY_CREDENTIALSTORE_PROPERTY
-
Constructor Summary
Constructors Constructor Description WildFlyCredentialFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getConfiguredAliases()return a list of all configured aliases, or null if such a list cannot be provided.ICredentialsgetCredentials(String alias, Supplier<String> defaultUsernameSupplier, Supplier<String> defaultPasswordSupplier)protected org.jboss.msc.service.ServiceContainergetServiceContainer()booleanhasCredentials(String alias)voidinitialize()initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
-
-
-
Field Detail
-
log
protected Logger log
-
WILDFLY_CREDENTIALSTORE_PROPERTY
public static final String WILDFLY_CREDENTIALSTORE_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:ICredentialFactoryinitialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.- Specified by:
initializein interfaceICredentialFactory
-
getCredentials
public ICredentials getCredentials(String alias, Supplier<String> defaultUsernameSupplier, Supplier<String> defaultPasswordSupplier)
- Specified by:
getCredentialsin interfaceICredentialFactory
-
hasCredentials
public boolean hasCredentials(String alias)
- Specified by:
hasCredentialsin interfaceICredentialFactory
-
getConfiguredAliases
public Collection<String> getConfiguredAliases() throws UnsupportedOperationException, org.wildfly.security.credential.store.CredentialStoreException
Description copied from interface:ICredentialFactoryreturn a list of all configured aliases, or null if such a list cannot be provided.- Specified by:
getConfiguredAliasesin interfaceICredentialFactory- Throws:
UnsupportedOperationExceptionorg.wildfly.security.credential.store.CredentialStoreException
-
getServiceContainer
protected org.jboss.msc.service.ServiceContainer getServiceContainer()
-
-