Class CredentialStore.CredentialSourceProtectionParameter

java.lang.Object
org.wildfly.security.credential.store.CredentialStore.CredentialSourceProtectionParameter
All Implemented Interfaces:
CredentialStore.ProtectionParameter
Enclosing class:
CredentialStore

public static final class CredentialStore.CredentialSourceProtectionParameter extends Object implements CredentialStore.ProtectionParameter
A protection parameter which uses a credential source to acquire a credential to use.
  • Constructor Details

    • CredentialSourceProtectionParameter

      public CredentialSourceProtectionParameter(CredentialSource credentialSource)
      Construct a new instance.
      Parameters:
      credentialSource - the credential source to use (must not be null)
  • Method Details

    • getCredentialSource

      public CredentialSource getCredentialSource()
      Get the credential source.
      Returns:
      the credential source (not null)