Package | Description |
---|---|
org.wildfly.security.auth.callback |
Extended callbacks and supporting utilities which allow efficient callback handler implementation.
|
org.wildfly.security.auth.client |
Elytron Client enable remote clients to authenticate using Elytron.
|
org.wildfly.security.auth.server |
Server side of authentication provided by Elytron.
|
org.wildfly.security.auth.server.event | |
org.wildfly.security.credential | |
org.wildfly.security.credential.source | |
org.wildfly.security.credential.store |
Package for Credential Store API/SPI classes and interfaces.
|
org.wildfly.security.sasl.util |
Modifier and Type | Method and Description |
---|---|
<C extends Credential,R> |
AbstractCredentialCallback.applyToCredential(Class<C> credentialType,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.
|
<C extends Credential,R> |
AbstractCredentialCallback.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential,R> |
AbstractCredentialCallback.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential> |
CredentialUpdateCallback.getCredential(Class<C> credentialClass)
Get the new credential, if it is of the given credential class.
|
<C extends Credential> |
AbstractCredentialCallback.getCredential(Class<C> credentialType)
Get the acquired credential, if it is set and of the given type, and if so, return the credential cast to the type.
|
<C extends Credential> |
AbstractCredentialCallback.getCredential(Class<C> credentialType,
String algorithmName)
Get the acquired credential, if it is set and of the given type and algorithm, and if so, return the credential cast to the type.
|
<C extends Credential> |
AbstractCredentialCallback.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Get the acquired credential, if it is set and of the given type, algorithm, and parameters, and if so, return the credential cast to the type.
|
Modifier and Type | Method and Description |
---|---|
Credential |
CredentialUpdateCallback.getCredential()
Get the new credential.
|
Credential |
AbstractCredentialCallback.getCredential()
Get the acquired credential.
|
Credential |
IdentityCredentialCallback.getCredential()
Get the credential.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Credential> |
AbstractCredentialCallback.getCredentialType()
Get the supported credential type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractCredentialCallback.isCredentialSupported(Credential credential)
Determine whether the given credential can be set on this callback.
|
void |
AbstractCredentialCallback.setCredential(Credential credential)
Set the credential.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractCredentialCallback.isCredentialTypeSupported(Class<? extends Credential> credentialType)
Determine whether the given credential type is supported.
|
boolean |
AbstractCredentialCallback.isCredentialTypeSupported(Class<? extends Credential> credentialType,
String algorithmName)
Determine whether the given credential type is supported for the given algorithm name.
|
boolean |
AbstractCredentialCallback.isCredentialTypeSupported(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether the given credential type is supported for the given algorithm name.
|
Constructor and Description |
---|
CredentialUpdateCallback(Credential credential)
Construct a new instance.
|
IdentityCredentialCallback(Credential credential,
boolean isPrivate)
Construct a new instance.
|
Constructor and Description |
---|
CredentialCallback(Class<? extends Credential> credentialType)
Construct a new instance which accepts any algorithm name or parameters.
|
CredentialCallback(Class<? extends Credential> credentialType,
String algorithm)
Construct a new instance which accepts any parameters.
|
CredentialCallback(Class<? extends Credential> credentialType,
String algorithm,
AlgorithmParameterSpec parameterSpec)
Construct a new instance.
|
ServerCredentialCallback(Class<? extends Credential> credentialType)
Construct a new instance which accepts any algorithm name.
|
ServerCredentialCallback(Class<? extends Credential> credentialType,
String algorithm)
Construct a new instance.
|
ServerCredentialCallback(Class<? extends Credential> credentialType,
String algorithm,
AlgorithmParameterSpec parameterSpec)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationConfiguration |
AuthenticationConfiguration.useCredential(Credential credential)
Create a new configuration which is the same as this configuration, but which uses the given credential to authenticate.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationConfiguration |
AuthenticationConfiguration.useKerberosSecurityFactory(SecurityFactory<Credential> kerberosSecurityFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default <C extends Credential,R> |
RealmIdentity.applyToCredential(Class<C> credentialType,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.
|
<C extends Credential,R> |
ServerAuthenticationContext.applyToCredential(Class<C> credentialType,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.
|
<C extends Credential,R> |
IdentityCredentials.applyToCredential(Class<C> credentialType,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.
|
default <C extends Credential,R> |
RealmIdentity.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type, algorithm, and parameters.
|
<C extends Credential,R> |
ServerAuthenticationContext.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential,R> |
IdentityCredentials.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
default <C extends Credential,R> |
RealmIdentity.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential,R> |
ServerAuthenticationContext.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential,R> |
IdentityCredentials.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
<C extends Credential> |
RealmIdentity.getCredential(Class<C> credentialType)
Acquire a credential of the given type.
|
<C extends Credential> |
ServerAuthenticationContext.getCredential(Class<C> credentialType)
Acquire a credential of the given type.
|
<C extends Credential> |
IdentityCredentials.getCredential(Class<C> credentialType)
Acquire a credential of the given type.
|
default <C extends Credential> |
RealmIdentity.getCredential(Class<C> credentialType,
String algorithmName)
Acquire a credential of the given type and algorithm name.
|
<C extends Credential> |
ServerAuthenticationContext.getCredential(Class<C> credentialType,
String algorithmName)
Acquire a credential of the given type.
|
<C extends Credential> |
IdentityCredentials.getCredential(Class<C> credentialType,
String algorithmName)
Acquire a credential of the given type and algorithm name.
|
default <C extends Credential> |
RealmIdentity.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type and algorithm name.
|
<C extends Credential> |
ServerAuthenticationContext.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type.
|
abstract <C extends Credential> |
IdentityCredentials.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type and algorithm name.
|
<C extends Credential> |
IdentityCredentials.without(Class<C> credentialType,
Predicate<? super C> predicate)
Return a copy of this credential set without any credentials of the given type that match the predicate.
|
Modifier and Type | Method and Description |
---|---|
Spliterator<Credential> |
IdentityCredentials.spliterator()
Get a
Spliterator for this credential set. |
Modifier and Type | Method and Description |
---|---|
void |
ServerAuthenticationContext.addPrivateCredential(Credential credential)
Add a private credential to the identity being authenticated.
|
void |
ServerAuthenticationContext.addPublicCredential(Credential credential)
Add a public credential to the identity being authenticated.
|
boolean |
IdentityCredentials.containsMatching(Credential credential)
Determine whether a credential of the type, algorithm, and parameters of the given credential is present in this set.
|
MechanismConfiguration.Builder |
MechanismConfiguration.Builder.setServerCredential(Credential credential)
Set a single server credential.
|
default void |
RealmIdentity.updateCredential(Credential credential)
Update a credential of this realm identity.
|
void |
ServerAuthenticationContext.updateCredential(Credential credential)
Update the credential for the current authentication identity.
|
default void |
ModifiableRealmIdentity.updateCredential(Credential credential) |
abstract IdentityCredentials |
IdentityCredentials.withCredential(Credential credential)
Return a copy of this credential set, but with the given credential added to it.
|
IdentityCredentials |
IdentityCredentials.withoutMatching(Credential credential)
Return a copy of this credential set without any credentials with a type, algorithm name, and parameters matching that of the
given credential.
|
SecurityIdentity |
SecurityIdentity.withPrivateCredential(Credential credential)
Create a new security identity which is the same as this one, but which includes the given credential as a
private credential.
|
SecurityIdentity |
SecurityIdentity.withPublicCredential(Credential credential)
Create a new security identity which is the same as this one, but which includes the given credential as a
public credential.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IdentityCredentials.contains(Class<? extends Credential> credentialType)
Determine whether a credential of the given type is present in this set.
|
boolean |
IdentityCredentials.contains(Class<? extends Credential> credentialType,
String algorithmName)
Determine whether a credential of the given type and algorithm are present in this set.
|
abstract boolean |
IdentityCredentials.contains(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether a credential of the given type and algorithm are present in this set.
|
SupportLevel |
SecurityDomain.getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for
some identities), or definitely not obtainable.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
SupportLevel |
IdentityCredentials.getCredentialAcquireSupport(Class<? extends Credential> credentialType) |
default SupportLevel |
RealmIdentity.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Deprecated.
Transition method; remove before GA.
|
SupportLevel |
SecurityDomain.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for
some identities), or definitely not obtainable.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
default SupportLevel |
SecurityRealm.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Deprecated.
Transition method; remove before GA.
|
SupportLevel |
IdentityCredentials.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName) |
SupportLevel |
RealmIdentity.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether a given credential type is definitely obtainable, possibly obtainable, or definitely not
obtainable for this identity.
|
SupportLevel |
SecurityDomain.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for
some identities), or definitely not obtainable.
|
SupportLevel |
ServerAuthenticationContext.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
SupportLevel |
SecurityRealm.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for]
some identities), or definitely not obtainable.
|
SupportLevel |
IdentityCredentials.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
void |
ModifiableRealmIdentity.setCredentials(Collection<? extends Credential> credentials)
Set the credentials of this identity.
|
MechanismConfiguration.Builder |
MechanismConfiguration.Builder.setServerCredential(SecurityFactory<Credential> credentialFactory)
Set a single server credential factory.
|
IdentityCredentials |
IdentityCredentials.without(Class<? extends Credential> credentialType)
Return a copy of this credential set without any credentials of the given type.
|
IdentityCredentials |
IdentityCredentials.without(Class<? extends Credential> credentialType,
String algorithmName)
Return a copy of this credential set without any credentials of the given type and algorithm name.
|
IdentityCredentials |
IdentityCredentials.without(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Return a copy of this credential set without any credentials of the given type, algorithm name and
parameter spec.
|
abstract IdentityCredentials |
IdentityCredentials.without(Predicate<? super Credential> predicate)
Return a copy of this credential set without any credentials that match the predicate.
|
Modifier and Type | Method and Description |
---|---|
Credential |
RealmDefiniteOutcomeAuthenticationEvent.getCredential()
Get the actual credential used.
|
Constructor and Description |
---|
RealmFailedAuthenticationEvent(RealmIdentity realmIdentity,
Credential credential,
Evidence evidence)
Construct a new instance.
|
RealmSuccessfulAuthenticationEvent(RealmIdentity realmIdentity,
AuthorizationIdentity authorizationIdentity,
Credential credential,
Evidence evidence)
Construct a new instance.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AlgorithmCredential
A credential which has an associated algorithm name.
|
interface |
X509CertificateChainCredential
A credential which contains an X.509 certificate chain.
|
Modifier and Type | Class and Description |
---|---|
class |
BearerTokenCredential
A
Credential that usually holds a bearer security token. |
class |
GSSKerberosCredential
A credential for holding a
GSSCredential and optionally an associated KerberosTicket . |
class |
KeyPairCredential
A public/private key pair credential.
|
class |
PasswordCredential
A credential for password authentication.
|
class |
PublicKeyCredential
A public key credential.
|
class |
SecretKeyCredential
A secret key credential.
|
class |
X509CertificateChainPrivateCredential
A credential containing a private key and an X.509 certificate chain.
|
class |
X509CertificateChainPublicCredential
A credential containing an X.509 certificate chain.
|
Modifier and Type | Field and Description |
---|---|
static Credential[] |
Credential.NO_CREDENTIALS
An array with no credentials.
|
Modifier and Type | Method and Description |
---|---|
default <C extends Credential,R> |
Credential.castAndApply(Class<C> credentialType,
Function<C,R> function)
Cast this credential type and apply a function if the type matches.
|
default <C extends Credential,R> |
Credential.castAndApply(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function)
Cast this credential type and apply a function if the type matches.
|
default <C extends Credential,R> |
Credential.castAndApply(Class<C> credentialType,
String algorithmName,
Function<C,R> function)
Cast this credential type and apply a function if the type matches.
|
default <C extends Credential> |
Credential.castAs(Class<C> credentialType)
Cast this credential type if the type matches.
|
default <C extends Credential> |
Credential.castAs(Class<C> credentialType,
String algorithmName)
Cast this credential type if the type and algorithm matches.
|
default <C extends Credential> |
Credential.castAs(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Cast this credential type if the type, algorithm, and parameters match.
|
Modifier and Type | Method and Description |
---|---|
Credential |
Credential.clone()
Creates and returns a copy of this
Credential . |
static Credential |
Credential.fromKeyStoreEntry(KeyStore.Entry keyStoreEntry)
Convert a key store entry into a credential object.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
AlgorithmCredential.matches(Credential other) |
default boolean |
Credential.matches(Credential other)
Determine if this credential is the same kind of credential as the given credential.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
AlgorithmCredential.matches(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
default boolean |
Credential.matches(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine if this credential matches the given criteria.
|
Modifier and Type | Method and Description |
---|---|
default <C extends Credential,R> |
CredentialSource.applyToCredential(Class<C> credentialType,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type.
|
default <C extends Credential,R> |
CredentialSource.applyToCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm with the
given parameters.
|
default <C extends Credential,R> |
CredentialSource.applyToCredential(Class<C> credentialType,
String algorithmName,
Function<C,R> function)
Apply the given function to the acquired credential, if it is set and of the given type and algorithm.
|
default <C extends Credential> |
CredentialSource.getCredential(Class<C> credentialType)
Acquire a credential of the given type.
|
default <C extends Credential> |
CredentialSource.getCredential(Class<C> credentialType,
String algorithmName)
Acquire a credential of the given type.
|
<C extends Credential> |
OAuth2CredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
<C extends Credential> |
CallbackHandlerCredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
<C extends Credential> |
CommandCredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
<C extends Credential> |
FactoryCredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
<C extends Credential> |
CredentialStoreCredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
<C extends Credential> |
LocalKerberosCredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Deprecated.
|
<C extends Credential> |
KeyStoreCredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
<C extends Credential> |
CredentialSource.getCredential(Class<C> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Acquire a credential of the given type.
|
Modifier and Type | Method and Description |
---|---|
static CredentialSource |
CredentialSource.fromSecurityFactory(SecurityFactory<Credential> credentialFactory)
Get a credential source from the given security factory.
|
default SupportLevel |
CredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
default SupportLevel |
CredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
SupportLevel |
OAuth2CredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
SupportLevel |
CallbackHandlerCredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
SupportLevel |
CommandCredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
SupportLevel |
FactoryCredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
SupportLevel |
CredentialStoreCredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
SupportLevel |
LocalKerberosCredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Deprecated.
|
SupportLevel |
KeyStoreCredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec) |
SupportLevel |
CredentialSource.getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Determine whether a given credential is definitely obtainable, possibly obtainable, or definitely not obtainable.
|
default CredentialSource |
CredentialSource.without(Class<? extends Credential> credentialType)
Get a derived credential source which excludes credentials of the given type.
|
default CredentialSource |
CredentialSource.without(Class<? extends Credential> credentialType,
String algorithmName)
Get a derived credential source which excludes credentials of the given type and optional algorithm.
|
default CredentialSource |
CredentialSource.without(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Get a derived credential source which excludes credentials of the given type and optional algorithm.
|
Constructor and Description |
---|
FactoryCredentialSource(SecurityFactory<? extends Credential> credentialFactory)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
<C extends Credential> |
CredentialStore.exists(String credentialAlias,
Class<C> credentialType)
Check whether credential store has an entry associated with the given credential alias of specified credential type.
|
<C extends Credential> |
CredentialStore.retrieve(String credentialAlias,
Class<C> credentialType)
Retrieve credential stored in the store under the key and of the credential type
|
<C extends Credential> |
CredentialStore.retrieve(String credentialAlias,
Class<C> credentialType,
String credentialAlgorithm)
Retrieve credential stored in the store under the key and of the credential type.
|
<C extends Credential> |
CredentialStore.retrieve(String credentialAlias,
Class<C> credentialType,
String credentialAlgorithm,
AlgorithmParameterSpec parameterSpec)
Retrieve credential stored in the store under the key and of the credential type.
|
<C extends Credential> |
CredentialStore.retrieve(String credentialAlias,
Class<C> credentialType,
String credentialAlgorithm,
AlgorithmParameterSpec parameterSpec,
CredentialStore.ProtectionParameter protectionParameter)
Retrieve credential stored in the store under the key and of the credential type.
|
abstract <C extends Credential> |
CredentialStoreSpi.retrieve(String credentialAlias,
Class<C> credentialType,
String credentialAlgorithm,
AlgorithmParameterSpec parameterSpec,
CredentialStore.ProtectionParameter protectionParameter)
Retrieve the credential stored in the store under the given alias, matching the given criteria.
|
<C extends Credential> |
CredentialStore.store(String credentialAlias,
C credential)
Store credential to the store under the given alias.
|
<C extends Credential> |
CredentialStore.store(String credentialAlias,
C credential,
CredentialStore.ProtectionParameter protectionParameter)
Store credential to the store under the given alias.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
CredentialStoreSpi.store(String credentialAlias,
Credential credential,
CredentialStore.ProtectionParameter protectionParameter)
Store credential to the credential store service under the given alias.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CredentialStoreSpi.exists(String credentialAlias,
Class<? extends Credential> credentialType)
Check whether credential store service has an entry associated with the given credential alias of specified
credential type.
|
void |
CredentialStore.remove(String credentialAlias,
Class<? extends Credential> credentialType)
Remove the credentialType with from given alias matching the given criteria from the store.
|
void |
CredentialStore.remove(String credentialAlias,
Class<? extends Credential> credentialType,
String credentialAlgorithm)
Remove the credentialType with from given alias matching the given criteria from the store.
|
void |
CredentialStore.remove(String credentialAlias,
Class<? extends Credential> credentialType,
String credentialAlgorithm,
AlgorithmParameterSpec parameterSpec)
Remove the credentialType with from given alias matching the given criteria from the store.
|
abstract void |
CredentialStoreSpi.remove(String credentialAlias,
Class<? extends Credential> credentialType,
String credentialAlgorithm,
AlgorithmParameterSpec parameterSpec)
Remove the credentialType with from given alias from the credential store service.
|
Modifier and Type | Method and Description |
---|---|
static Set<Class<? extends Credential>> |
SaslMechanismInformation.getSupportedClientCredentialTypes(String mechName)
Get the supported credential types for the given SASL client mechanism.
|
static Set<Class<? extends Credential>> |
SaslMechanismInformation.getSupportedServerCredentialTypes(String mechName)
Get the supported credential types for the given SASL server mechanism.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
SaslMechanismInformation.getSupportedClientCredentialAlgorithms(String mechName,
Class<? extends Credential> credentialType)
Get the supported algorithm names for a SASL client mechanism and credential type.
|
static Set<String> |
SaslMechanismInformation.getSupportedServerCredentialAlgorithms(String mechName,
Class<? extends Credential> credentialType)
Get the supported algorithm names for a SASL server mechanism and credential type.
|
Constructor and Description |
---|
CredentialSaslServerFactory(SaslServerFactory delegate,
Credential credential)
Construct a new instance.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.