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.
-
-
Field Summary
Fields Modifier and Type Field Description private CredentialSource
credentialSource
-
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.
-
-
-
Field Detail
-
credentialSource
private final CredentialSource credentialSource
-
-
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
)
-
-