Class MapCredentialStore

java.lang.Object
org.wildfly.security.credential.store.CredentialStoreSpi
org.wildfly.security.credential.store.impl.MapCredentialStore

public final class MapCredentialStore extends CredentialStoreSpi
A map-backed credential store implementation.
Author:
David M. Lloyd
  • Field Details

  • Constructor Details

    • MapCredentialStore

      public MapCredentialStore(ConcurrentMap<String,CredentialSource> credentialSources, boolean modifiable)
      Construct a new instance.
      Parameters:
      credentialSources - the credential sources map to use as the backing map for this store (must not be null)
      modifiable - true to allow modifications via the API, false otherwise
    • MapCredentialStore

      public MapCredentialStore(Map<String,CredentialSource> credentialSources)
      Construct a new unmodifiable instance.
      Parameters:
      credentialSources - the credential sources map to use (must not be null)
    • MapCredentialStore

      public MapCredentialStore()
      Construct a new, modifiable instance backed by a new concurrent map.
  • Method Details