Class WildFlyCredentialFactory
java.lang.Object
org.frankframework.credentialprovider.WildFlyCredentialFactory
- All Implemented Interfaces:
ISecretProvider
This CredentialFactory implementation uses the WildFly Credential Store to retrieve credentials.
The "credentialFactory.wildfly.credentialStore" is used to set the credential store in WildFly which will be used.
By default, the credential store is set to CS.
Aliases ending with "/username" are normalized by removing the suffix before being included in the returned collection of configured aliases.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn a list of all configured aliases, or null if such a list cannot be provided.getSecret(CredentialAlias alias) protected org.jboss.msc.service.ServiceContainerbooleanhasSecret(CredentialAlias alias) voidinitialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
-
Constructor Details
-
WildFlyCredentialFactory
public WildFlyCredentialFactory()
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:ISecretProviderinitialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.- Specified by:
initializein interfaceISecretProvider
-
getSecret
- Specified by:
getSecretin interfaceISecretProvider- Throws:
NoSuchElementException
-
hasSecret
- Specified by:
hasSecretin interfaceISecretProvider
-
getConfiguredAliases
public Collection<String> getConfiguredAliases() throws UnsupportedOperationException, org.wildfly.security.credential.store.CredentialStoreExceptionDescription copied from interface:ISecretProviderreturn a list of all configured aliases, or null if such a list cannot be provided.- Specified by:
getConfiguredAliasesin interfaceISecretProvider- Throws:
UnsupportedOperationExceptionorg.wildfly.security.credential.store.CredentialStoreException
-
getServiceContainer
protected org.jboss.msc.service.ServiceContainer getServiceContainer()
-