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 Summary
Constructors Constructor Description CredentialSourceProtectionParameter(CredentialSource credentialSource)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialSource
getCredentialSource()
Get the credential source.
-
-
-
Constructor Detail
-
CredentialSourceProtectionParameter
public CredentialSourceProtectionParameter(CredentialSource credentialSource)
Construct a new instance.- Parameters:
credentialSource
- the credential source to use (must not benull
)
-
-
Method Detail
-
getCredentialSource
public CredentialSource getCredentialSource()
Get the credential source.- Returns:
- the credential source (not
null
)
-
-